public void ReconnectLogin(CLReconnectLogin packet) { LCPCList answer = new LCPCList(); this.UserID = LoginServer.AuthPlayers[packet.AuthKey]; PCInfo[] pcinfo = DBManager.GetPCInfoList(this.UserID); answer.Slot1 = pcinfo[0]; answer.Slot2 = pcinfo[1]; answer.Slot3 = pcinfo[2]; LoginServer.AuthPlayers.Remove(packet.AuthKey); answer.Write(ref netstream); }
public void GetPCList(CLGetPCList packet) { LCPCList answer = new LCPCList(); PCInfo[] pcinfo = DBManager.GetPCInfoList(this.UserID); answer.Slot1 = pcinfo[0]; answer.Slot2 = pcinfo[1]; answer.Slot3 = pcinfo[2]; answer.Write(ref netstream); }