Encode() public method

public Encode ( GameBitBuffer buffer ) : void
buffer GameBitBuffer
return void
Exemplo n.º 1
0
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(32, Field0);
     for (int i = 0; i < Field1.Length; i++)
     {
         buffer.WriteInt(32, Field1[i]);
     }
     Field2.Encode(buffer);
     buffer.WriteInt(32, Field3);
 }
Exemplo n.º 2
0
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteUInt(32, ActorID);
     for (int i = 0; i < Field1.Length; i++)
     {
         buffer.WriteUInt(32, Field1[i]);
     }
     Params.Encode(buffer);
     buffer.WriteInt(32, Duration);
 }