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