Exemple #1
0
 public void Serialize(IDataWriter writer)
 {
     writer.WriteByte(MovementType);
     BasicInfos.Serialize(writer);
     writer.WriteVarLong(PlayerId);
     writer.WriteUTF(PlayerName);
 }
Exemple #2
0
 public override void Serialize(IDataWriter writer)
 {
     writer.WriteBoolean(DeadOrAlive);
     BasicInfos.Serialize(writer);
     Guild.Serialize(writer);
 }