Exemplo n.º 1
0
            public ClientIO Parent = null; //ERROR POINT! BE CAREFUL HERE!

            public WaitForPacketObject(ClientIO ThisClientIO, Packets.GenericPacket InPacket)
            {
                Packet = InPacket;
                Parent = ThisClientIO; //ERROR POINT RESOLVED.
                ThisClientIO.WaitForPacketList.Add(this);
                Debug.TestPoint();
            }
Exemplo n.º 2
0
 public Client(ClientIO.DelegatePacketHandler FromClientToServerHandler, ClientIO.DelegatePacketHandler FromServerToClientHandler)
 {
     Clients.AddClient(this);
     YSFClient = new ClientIO(this, FromClientToServerHandler);
     YSFServer = new ClientIO(this, FromServerToClientHandler);
 }