// *************************************************************** // Function: FileServerNoUpdate.cpp // *************************************************************** #include "Main.h" #include "LocalData.h" //************************************ // Name: HandleOpcode_UPDATE_CHECK // // Handles the update check file server packet. Tells the file server no update is available. // // Parameters: // pData - Network data // pLir - Player's data // // Return: // Size of packet //************************************ int HandleOpcode_UPDATE_CHECK(NetMessage* pData, LOCAL_DATA* pLir) { gPacketManager.DirSwitch("Data/Packets/"); NetMessage s; s.networkId=pData->networkId; s.pData=gPacketManager.GetData("NoUpdateAvailable", &s.dataSize); gpLoginServer->SendData(&s); BIT_SET(pLir->bitfield, LD_UPDATE_CONNECTION); return 21; }