public override void Serialize(GenericWriter writer) { base.Serialize(writer); writer.Write(0); // version Town.WriteReference(writer, m_Town); }
public override void Serialize(GenericWriter writer) { base.Serialize(writer); writer.Write((int)0); // version Town.WriteReference(writer, this.m_Town); Faction.WriteReference(writer, this.m_Faction); }
public override void Serialize(GenericWriter writer) { base.Serialize(writer); writer.Write((int)0); // version Faction.WriteReference(writer, m_Faction); Town.WriteReference(writer, m_Town); m_Orders.Serialize(writer); }
public override void Serialize(GenericWriter writer) { base.Serialize(writer); writer.Write(0); // version Town.WriteReference(writer, m_Town); Faction.WriteReference(writer, m_Corrupted); Faction.WriteReference(writer, m_Corrupting); writer.Write(m_LastMonolith); writer.Write(m_LastStolen); writer.Write(m_GraceStart); writer.Write(m_CorruptionStart); writer.Write(m_PurificationStart); }
public void Serialize(GenericWriter writer) { writer.WriteEncodedInt((int)3); // version writer.Write((DateTime)m_LastIncome); writer.WriteEncodedInt((int)m_Tax); writer.Write((DateTime)m_LastTaxChange); writer.WriteEncodedInt((int)m_Silver); Town.WriteReference(writer, m_Town); Faction.WriteReference(writer, m_Owner); writer.Write((Mobile)m_Sheriff); writer.Write((Mobile)m_Finance); }
public override void Serialize(GenericWriter writer) { base.Serialize(writer); writer.Write((int)2); // version writer.Write(m_PreviousThief); writer.Write(m_OriginalThief); Town.WriteReference(writer, m_Town); Faction.WriteReference(writer, m_Corrupted); Faction.WriteReference(writer, m_Corrupting); writer.Write((Item)m_LastMonolith); writer.Write(m_LastStolen); writer.Write(m_GraceStart); writer.Write(m_CorruptionStart); writer.Write(m_PurificationStart); }