Beispiel #1
0
 internal GameClient(uint ClientId, ConnectionInformation pConnection)
 {
     Id = ClientId;
     Connection = pConnection;
     SetDoorPos = false;
     CurrentRoomUserID = -1;
     packetParser = new GamePacketParser();
 }
Beispiel #2
0
        internal GameClient(uint ClientId, ConnectionInformation pConnection)
        {
            this.Id = ClientId;
			this.ignoredPingCount = 0;
            this.modeldataSent = false;
			this.Connection = pConnection;
			this.SetDoorPos = false;
			this.packetParser = new GamePacketParser(this);
            this.sessionData = new SessionDataProvider();
        }