Example #1
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);
            writer.Write(0);

            writer.Write(m_CommodityEntries.Count);
            for (var index = 0; index < m_CommodityEntries.Count; index++)
            {
                CommodityBrokerEntry entry = m_CommodityEntries[index];
                entry.Serialize(writer);
            }
        }