Beispiel #1
0
 public override void Write(MessageWriter writer, Data data)
 {
     MessageExtensions.WriteNetObject(writer, data.target);
     writer.WritePacked((uint)data.options);
 }
Beispiel #2
0
 public override void Write(MessageWriter writer, Data data)
 {
     MessageExtensions.WriteNetObject(writer, data.player);
     writer.Write(data.amount);
 }