Encode() public method

public Encode ( GameBitBuffer buffer ) : void
buffer GameBitBuffer
return void
Example #1
0
 public override void Encode(GameBitBuffer buffer)
 {
     ToonEntityId.Encode(buffer);
     Field1.Encode(buffer);
     buffer.WriteInt(32, GameId);
     buffer.WriteInt64(64, Field3);
     buffer.WriteInt(4, Field4 - (2));
     buffer.WriteInt(32, ProtocolHash);
     buffer.WriteInt(32, SNOPackHash);
 }
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(3, Field0 - (-1));
     Field1.Encode(buffer);
     buffer.WriteInt64(64, Field2);
     buffer.WriteInt(3, Field3 - (-1));
     buffer.WriteInt(32, Field4);
     buffer.WriteInt(16, Field5);
     buffer.WriteInt(32, Field6);
     buffer.WriteInt(16, Field7);
 }
Example #3
0
 public override void Encode(GameBitBuffer buffer)
 {
     Field0.Encode(buffer);
 }
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(2, Field0);
     Field1.Encode(buffer);
 }
Example #5
0
 public override void Encode(GameBitBuffer buffer)
 {
     Field0.Encode(buffer);
     Field1.Encode(buffer);
     buffer.WriteInt(5, Field2 - (-1));
 }