예제 #1
0
        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);
        }
예제 #2
0
        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);
        }