示例#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);
 }
示例#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);
 }
示例#4
0
 public void Write(UdpDataWriter writer)
 {
     writer.Put((byte)MessageTypes.Token);
     writer.Put(Token);
 }
示例#5
0
 public void Write(UdpDataWriter writer)
 {
     writer.Put((byte)MessageTypes.InteractableStatus);
     writer.Put(Id);
     writer.Put(IsActive);
 }