// *************************************************************** // Function: HandleClientVersion.cpp // *************************************************************** #include "Main.h" //************************************ // Name: HandleOpcode_CLIENT_VERSION // // Handles the client version packet. Outputs the client version if debug logging is enabled. // // Parameters: // pData - Network data // pLir - Player's data // // Return: // Size of packet //************************************ int HandleOpcode_CLIENT_VERSION(NetMessage* pData, LOCAL_DATA* pLir) { gCoreLog.debug("Client v%u connected.", Read_uLong(pData->pData+4)); return 16; }