// *************************************************************** // Function: HandleClientId.cpp // *************************************************************** #include "Main.h" //************************************ // Name: HandleOpcode_LS_CLIENT_ID // // Replies to the client Id packet // // Parameters: // pData - Network data // pLir - Player's data // // Return: // Size of packet //************************************ int HandleOpcode_LS_CLIENT_ID(NetMessage* pData, LOCAL_DATA* pLir) { CompiledPacket reply; reply.AddShort(ServerOpcode(9)); reply.AddLong(pLir->keepAlive); //New packet? //reply.AddLong(0x17); Util::SendCompiledPacket(&reply, pData->networkId, gpLoginServer); return 6; }