Ejemplo n.º 1
0
#include "Tutorial3Plugin.h"
#include "HelloWorld3Module.h"

#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{
    CREATE_PLUGIN(pm, Tutorial3Plugin)
};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, Tutorial3Plugin)
};

#endif
//////////////////////////////////////////////////////////////////////////

const int Tutorial3Plugin::GetPluginVersion()
{
    return 0;
}

const std::string Tutorial3Plugin::GetPluginName()
{
	return GET_CLASS_NAME(Tutorial3Plugin);
}

void Tutorial3Plugin::Install()
{
Ejemplo n.º 2
0
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*/


#include "NFScaleModule.h"
#include "NFScalePlugin.h"

#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{

    CREATE_PLUGIN(pm, NFScalePlugin)

};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFScalePlugin)
};

#endif
//////////////////////////////////////////////////////////////////////////

const int NFScalePlugin::GetPluginVersion()
{
    return 0;
}
Ejemplo n.º 3
0
   See the License for the specific language governing permissions and
   limitations under the License.
*/


#include "NFDBNet_ClientPlugin.h"
#include "NFCDBToWorldModule.h"

//
//
#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{

    CREATE_PLUGIN(pm, NFDBNet_ClientPlugin)

};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFDBNet_ClientPlugin)
};

#endif
//////////////////////////////////////////////////////////////////////////

const int NFDBNet_ClientPlugin::GetPluginVersion()
{
    return 0;
}
Ejemplo n.º 4
0
// NFDataBasePlugin.cpp : Defines the exported functions for the DLL application.
//

//#include "stdafx.h"
#include "NFDataNoSqlPlugin.h"
#include "NFCDataNoSqlModule.h"
#include "NFCPlatformDataModule.h"

#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{
    CREATE_PLUGIN(pm, NFDataNoSqlPlugin)
};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFDataNoSqlPlugin)
};

#endif
//////////////////////////////////////////////////////////////////////////

const int NFDataNoSqlPlugin::GetPluginVersion()
{
    return 0;
}

const std::string NFDataNoSqlPlugin::GetPluginName()
{
    return GET_CLASS_NAME(NFDataNoSqlPlugin)
Ejemplo n.º 5
0
#include "NFCPackModule.h"
#include "NFCSkillModule.h"
#include "NFCBulletSkillConsumeProcessModule.h"
#include "NFCBriefSkillConsumeProcessModule.h"
#include "NFCSkillConsumeManagerModule.h"
#include "NFCPotionItemConsumeProcessModule.h"
#include "NFCCardItemConsumeProcessModule.h"
#include "NFCItemConsumeManagerModule.h"
#include "NFCNPCRefreshModule.h"
#include "NFCRebornItemConsumeProcessModule.h"

#ifdef NF_DYNAMIC_PLUGIN

extern "C"  __declspec( dllexport ) void DllStartPlugin( NFIPluginManager* pm )
{
    CREATE_PLUGIN( pm, NFGameLogicPlugin )

};

extern "C" __declspec( dllexport ) void DllStopPlugin( NFIPluginManager* pm )
{
    DESTROY_PLUGIN( pm, NFGameLogicPlugin )
};

#endif
//////////////////////////////////////////////////////////////////////////

const int NFGameLogicPlugin::GetPluginVersion()
{
    return 0;
}
// NFLoginNet_ServerPlugin.cpp : Defines the exported functions for the DLL application.
//

#include "NFLoginNet_ServerPlugin.h"
#include "NFCLoginNet_ServerModule.h"

//
//
#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{
    CREATE_PLUGIN(pm, NFLoginNet_ServerPlugin)

};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFLoginNet_ServerPlugin)
};

#endif

//////////////////////////////////////////////////////////////////////////

const int NFLoginNet_ServerPlugin::GetPluginVersion()
{
    return 0;
}

const std::string NFLoginNet_ServerPlugin::GetPluginName()
Ejemplo n.º 7
0
   See the License for the specific language governing permissions and
   limitations under the License.
*/


#include "NFCShopModule.h"
#include "NFShopPlugin.h"

//
//
#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{

    CREATE_PLUGIN(pm, NFShopPlugin)

};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFShopPlugin)
};

#endif
//////////////////////////////////////////////////////////////////////////

const int NFShopPlugin::GetPluginVersion()
{
    return 0;
}
Ejemplo n.º 8
0

#include "NFDBLogicPlugin.h"
#include "NFRankRedisModule.h"
#include "NFPlayerRedisModule.h"
#include "NFClanRedisModule.h"
#include "NFBigMapRedisModule.h"
#include "NFCommonRedisModule.h"
#include "NFMailRedisModule.h"
#include "NFAccountRedisModule.h"

#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{
    CREATE_PLUGIN(pm, NFDBLogicPlugin)

};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFDBLogicPlugin)
};

#endif
//////////////////////////////////////////////////////////////////////////

const int NFDBLogicPlugin::GetPluginVersion()
{
    return 0;
}
Ejemplo n.º 9
0
// NFConfigPlugin.cpp : Defines the exported functions for the DLL application.
//

////#include "stdafx.h"
#include "NFConfigPlugin.h"
#include "NFCLogicClassModule.h"
#include "NFCElementInfoModule.h"

#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{
    CREATE_PLUGIN(pm, NFConfigPlugin)
};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFConfigPlugin)
};

#endif

//////////////////////////////////////////////////////////////////////////
NFConfigPlugin::NFConfigPlugin(NFIPluginManager* p)
{
    pPluginManager = p;
}

const int NFConfigPlugin::GetPluginVersion()
{
    return 0;
Ejemplo n.º 10
0
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*/

#include "NFChatModule.h"
#include "NFChatPlugin.h"

//
//
#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{

    CREATE_PLUGIN(pm, NFChatPlugin)

};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFChatPlugin)
};

#endif
//////////////////////////////////////////////////////////////////////////

const int NFChatPlugin::GetPluginVersion()
{
    return 0;
}
Ejemplo n.º 11
0
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*/


#include "NFCLuaScriptModule.h"
#include "NFLuaScriptPlugin.h"

#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{
    CREATE_PLUGIN(pm, NFLuaScriptPlugin)

};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFLuaScriptPlugin)
};

#endif
//////////////////////////////////////////////////////////////////////////

const int NFLuaScriptPlugin::GetPluginVersion()
{
    return 0;
}
//
// -------------------------------------------------------------------------


//#include "stdafx.h"
#include "NFCProxyServerNet_ServerModule.h"
#include "NFProxyServerNet_ServerPlugin.h"

//
//
#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{

    CREATE_PLUGIN(pm, NFProxyServerNet_ServerPlugin)

};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFProxyServerNet_ServerPlugin)
};

#endif
//////////////////////////////////////////////////////////////////////////

const int NFProxyServerNet_ServerPlugin::GetPluginVersion()
{
    return 0;
}
// NFWorldNet_ServerPlugin.cpp : Defines the exported functions for the DLL application.
//

#include "NFWorldNet_ServerPlugin.h"
#include "NFCWorldNet_ServerModule.h"

//
//
#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{
    CREATE_PLUGIN(pm, NFWorldNet_ServerPlugin)

};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFWorldNet_ServerPlugin)
};

#endif
//////////////////////////////////////////////////////////////////////////

const int NFWorldNet_ServerPlugin::GetPluginVersion()
{
    return 0;
}

const std::string NFWorldNet_ServerPlugin::GetPluginName()
{
Ejemplo n.º 14
0
#include "Tutorial1.h"
#include "HelloWorld1.h"

#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{

    CREATE_PLUGIN(pm, Tutorial1)

};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, Tutorial1)
};

#endif
//////////////////////////////////////////////////////////////////////////

const int Tutorial1::GetPluginVersion()
{
    return 0;
}

const std::string Tutorial1::GetPluginName()
{
    return GET_CLASS_NAME(Tutorial1);
}

void Tutorial1::Install()
Ejemplo n.º 15
0
#include "NFMysqlClusterPlugin.h"
#include "NFCMysqlModule.h"
#include "NFCAsyMysqlModule.h"
#include "NFComm/NFPluginModule/NFIPluginManager.h"

#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{
    CREATE_PLUGIN(pm, NFMysqlClusterPlugin)

};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFMysqlClusterPlugin)
};

#endif


//////////////////////////////////////////////////////////////////////////

const int NFMysqlClusterPlugin::GetPluginVersion()
{
    return 0;
}

const std::string NFMysqlClusterPlugin::GetPluginName()
{
	return GET_CLASS_NAME(NFMysqlClusterPlugin);
Ejemplo n.º 16
0
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*/

#include "NFLogPlugin.h"
#include "NFLogModule.h"

#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{
    CREATE_PLUGIN(pm, NFLogPlugin)
};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFLogPlugin)
};

#endif

//////////////////////////////////////////////////////////////////////////

const int NFLogPlugin::GetPluginVersion()
{
    return 0;
}
Ejemplo n.º 17
0
//    @Date             :    2012-07-14 08:51
//    @Module           :    NFSkillPlugin
//
// -------------------------------------------------------------------------

#include "NFSkillPlugin.h"
#include "NFCSkillModule.h"
#include "NFCSkillConsumeManagerModule.h"
//
//
#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{

    CREATE_PLUGIN(pm, NFSkillPlugin)

};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFSkillPlugin)
};

#endif
//////////////////////////////////////////////////////////////////////////

const int NFSkillPlugin::GetPluginVersion()
{
    return 0;
}
//    @Module           :    NFGameServerNet_ServerPlugin
//
// -------------------------------------------------------------------------


#include "NFCGameServerNet_ServerModule.h"
#include "NFGameServerNet_ServerPlugin.h"

//
//
#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{

    CREATE_PLUGIN(pm, NFGameServerNet_ServerPlugin)

};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFGameServerNet_ServerPlugin)
};

#endif
//////////////////////////////////////////////////////////////////////////

const int NFGameServerNet_ServerPlugin::GetPluginVersion()
{
    return 0;
}
Ejemplo n.º 19
0
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*/

#include "NFCMasterModule.h"
#include "NFMasterServerPlugin.h"

//
//
#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{
    CREATE_PLUGIN(pm, NFMasterServerPlugin)
};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFMasterServerPlugin)
};

#endif
//////////////////////////////////////////////////////////////////////////

const int NFMasterServerPlugin::GetPluginVersion()
{
    return 0;
}
Ejemplo n.º 20
0
// NFKernelPlugin.cpp : Defines the exported functions for the DLL application.
//

#include "NFKernelPlugin.h"
#include "NFKernelModule/NFCKernelModule.h"
#include "NFSceneModule/NFCSceneModule.h"
#include "NFKernelModule/NFCUUIDModule.h"

//
//
#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{
    CREATE_PLUGIN(pm, NFKernelPlugin)

};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFKernelPlugin)
};

#endif

//////////////////////////////////////////////////////////////////////////

const int NFKernelPlugin::GetPluginVersion()
{
    return 0;
}
Ejemplo n.º 21
0
// NFAIPlugin.cpp : Defines the exported functions for the DLL application.
//

#include "NFAIPlugin.h"
#include "NFCAIModule.h"

#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{
    CREATE_PLUGIN(pm, NFAIPlugin)
};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFAIPlugin)
};

#endif

//////////////////////////////////////////////////////////////////////////

const int NFAIPlugin::GetPluginVersion()
{
    return 0;
}

const std::string NFAIPlugin::GetPluginName()
{
    return GET_CLASS_NAME(NFAIPlugin)
}
Ejemplo n.º 22
0
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*/
#include "NFCWorldLogicModule.h"
#include "NFWorldLogicPlugin.h"

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{
    CREATE_PLUGIN(pm, NFWorldLogicPlugin)
};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFWorldLogicPlugin)
};

//////////////////////////////////////////////////////////////////////////

const int NFWorldLogicPlugin::GetPluginVersion()
{
    return 0;
}

const std::string NFWorldLogicPlugin::GetPluginName()
Ejemplo n.º 23
0
   limitations under the License.
*/



#include "NFTestModule.h"
#include "NFTestPlugin.h"

//
//
#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{

    CREATE_PLUGIN(pm, NFTestPlugin)

};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFTestPlugin)
};

#endif
//////////////////////////////////////////////////////////////////////////

const int NFTestPlugin::GetPluginVersion()
{
    return 0;
}