#pragma once //Each game server that registers with the server will have its port and IP stored. struct GAMESERVER_DATA { unsigned short port; //The port the game server is running on. unsigned char ip[4]; //IP address the server is running on. int networkId; //The NetworkID for the game server. Only applies to the ICServer short currentPlayers; short maxPlayers; bool isLocked; char mode[20]; }; extern hash_map gGameServers; //A list of all currently registered game servers void SendLSPlayerAction(short gameServerId, unsigned long accountId, unsigned long action); void KickFromGameServer(short gameServerId, unsigned long accountId);