示例#1
0
 public void Serialize(NetworkWriter writer)
 {
     writer.Write(_body.gameObject);
     writer.WriteBuffIndex(_buff);
     writer.Write(_stacks);
     writer.Write(_duration);
 }
示例#2
0
 public void Serialize(NetworkWriter writer)
 {
     writer.Write(this.body.gameObject);
     writer.WriteBuffIndex(this.buff);
     writer.Write(this.stacks);
     writer.Write(this.duration);
 }
 public void Serialize(NetworkWriter writer)
 {
     writer.Write(this.targetId);
     writer.WriteBuffIndex(this.buffIndex);
     writer.Write(this.stacks);
     writer.Write(this.duration);
 }
 public override void Serialize(NetworkWriter writer)
 {
     writer.WriteBuffIndex(this.buff);
     writer.Write(this.stacks);
     writer.Write(this.duration);
     writer.Write(this.body.gameObject);
     writer.Write((Byte)this.mode);
 }