Encode() public method

public Encode ( GameBitBuffer buffer ) : void
buffer GameBitBuffer
return void
Exemplo n.º 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);
 }
Exemplo n.º 2
0
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(3, PlayerIndex);
     ToonId.Encode(buffer);
     GameAccountId.Encode(buffer);
     buffer.WriteCharArray(49, ToonName);
     buffer.WriteInt(5, Field3 - (-1));
     buffer.WriteInt(3, Field4 - (-1));
     buffer.WriteInt(32, snoActorPortrait);
     buffer.WriteInt(7, Field6);
     StateData.Encode(buffer);
     buffer.WriteBool(Field8);
     buffer.WriteInt(32, Field9);
     buffer.WriteUInt(32, ActorID);
 }
Exemplo n.º 3
0
 public override void Encode(GameBitBuffer buffer)
 {
     buffer.WriteInt(2, Field0 - (-1));
     Field1.Encode(buffer);
 }
Exemplo n.º 4
0
 public override void Encode(GameBitBuffer buffer)
 {
     Field0.Encode(buffer);
 }
Exemplo n.º 5
0
 public override void Encode(GameBitBuffer buffer)
 {
     Field0.Encode(buffer);
     Field1.Encode(buffer);
     buffer.WriteInt(5, Field2 - (-1));
 }