Ejemplo n.º 1
0
CDPLoginSrvr::CDPLoginSrvr()
{
	BEGIN_MSG;
	ON_MSG( PACKETTYPE_GETPLAYERLIST, OnGetPlayerList );
	ON_MSG( PACKETTYPE_CREATE_PLAYER, OnCreatePlayer );
	ON_MSG( PACKETTYPE_DEL_PLAYER, OnRemovePlayer );
	ON_MSG( PACKETTYPE_LEAVE, OnLeave );
	ON_MSG( PACKETTYPE_CLOSE_ERROR, OnCloseError );
#if __VER >= 15 // __2ND_PASSWORD_SYSTEM
	ON_MSG( PACKETTYPE_LOGIN_PROTECT_CERT, OnLoginProtect );
#endif // __2ND_PASSWORD_SYSTEM
}
Ejemplo n.º 2
0
CDPCoreClient::CDPCoreClient()
{
	BEGIN_MSG;
	ON_MSG( PACKETTYPE_PROCSERVER_LIST, OnProcServerList );
	ON_MSG( PACKETTYPE_LOAD_WORLD, OnProcServer );
	ON_MSG( PACKETTYPE_JOIN, OnJoin );
	ON_MSG( PACKETTYPE_LEAVE, OnLeave );
	ON_MSG( PACKETTYPE_DESTROY_ALLPLAYERS, OnDestroyAllPlayers );
	ON_MSG( PACKETTYPE_KILLPLAYER, OnKillPlayer );

#ifdef __CRASH_0404
	CCrashStatus::GetInstance()->RegisterDPMng( "CDPCoreClient", this );
#endif	// __CRASH_0404
}
Ejemplo n.º 3
0
CDPConsole::CDPConsole()
{
	BEGIN_MSG;
	ON_MSG( PACKETTYPE_CONSOLE_OVERVIEW, OnOverview );
	ON_MSG( PACKETTYPE_ERROR, OnError );
}