static bool OnPlayerLogin(LoginClient client, CMSG msgID, BinReader data) { if (client.Character != null) { client.Close("Tried to login another character."); return(true); } uint id = data.ReadUInt32(); LoginServer.PlayerLogin(client, id); return(true); }
static bool OnPlayerLogin(LoginClient client, CMSG msgID, BinReader data) { if (client.Character != null) { client.Close("Tried to login another character."); return(true); } uint id = data.ReadUInt32(); Console.WriteLine("LoginClient:" + client.Account.Name + " CharID:" + id); LoginServer.PlayerLogin(client, id); return(true); }