Esempio n. 1
0
 public void Write(UdpDataWriter writer)
 {
     writer.Put((byte)MessageTypes.Chat);
     writer.Put((byte)Scope);
     writer.Put(FromOrTo);
     writer.Put(Message);
 }
 public void Write(UdpDataWriter writer)
 {
     writer.Put((byte)MessageTypes.InteractableStart);
     writer.Put(Id);
     writer.Put(ClientTimeStamp);
     writer.Put(ServerTimeStamp);
 }
Esempio n. 3
0
 public void Write(UdpDataWriter writer)
 {
     writer.Put((byte)MessageTypes.Position);
     writer.Put(Name);
     writer.Put(X);
     writer.Put(Y);
     writer.Put(Z);
     writer.Put(Rotation);
     writer.Put(Speed);
     writer.Put(CurrentAnimation);
 }
Esempio n. 4
0
 public void Write(UdpDataWriter writer)
 {
     writer.Put((byte)MessageTypes.Token);
     writer.Put(Token);
 }
Esempio n. 5
0
 public void Write(UdpDataWriter writer)
 {
     writer.Put((byte)MessageTypes.InteractableStatus);
     writer.Put(Id);
     writer.Put(IsActive);
 }