public SetWorldSize(UdpTcpPair pair)
     : base(pair)
 {
     this.ResetReader();
     worldSize = this.ReadVector2();
     this.AssertMessageEnd();
 }
 public GameObjectUpdate(UdpTcpPair pair)
     : base(pair)
 {
 }
 public override void Send(UdpTcpPair pair)
 {
     pair.ClientStream.Write(this.MessageBuffer, 0, this.Size);
     pair.ClientStream.Flush();
 }
 public TcpMessage(UdpTcpPair pair)
     : base(pair.ClientStream)
 {
 }
 public ControlStateUpdate(UdpTcpPair pair)
     : base(pair)
 {
 }
 public override void Send(UdpTcpPair pair)
 {
     pair.ClientStream.Write(this.MessageBuffer, 0, this.Size);
     pair.ClientStream.Flush();
 }
 public TcpMessage(UdpTcpPair pair) : base(pair.ClientStream)
 {
 }
 public void SendUDP(UdpTcpPair pair)
 {
     pair.UdpClient.Send(this.MessageBuffer, this.Size);
 }
Beispiel #9
0
 public abstract void Send(UdpTcpPair pair);
 public UdpMessage(UdpTcpPair pair)
     : base(pair.UdpClient)
 {
 }
 public override void Send(UdpTcpPair pair)
 {
     pair.UdpClient.Send(this.MessageBuffer, this.Size);
 }
 public abstract void Send(UdpTcpPair pair);
 public BasePlayer(UdpTcpPair udpTcpPair)
 {
     this.client = udpTcpPair;
     this.StartThreads();
 }
 public abstract InUDP GetUDPMessage(UdpTcpPair client);
Beispiel #15
0
 public override void Send(UdpTcpPair pair)
 {
     pair.UdpClient.Send(this.MessageBuffer, this.Size);
 }
Beispiel #16
0
 public UdpMessage(UdpTcpPair pair)
     : base(pair.UdpClient)
 {
 }