Beispiel #1
0
        public override void Serialize(IDataWriter writer)
        {
            writer.WriteShort(((short)(m_dares.Count)));
            int daresIndex;

            for (daresIndex = 0; (daresIndex < m_dares.Count); daresIndex = (daresIndex + 1))
            {
                DareInformations objectToSend = m_dares[daresIndex];
                objectToSend.Serialize(writer);
            }
        }
Beispiel #2
0
        public override void Serialize(ICustomDataOutput writer)
        {
            writer.WriteShort(((short)(m_daresFixedInfos.Count)));
            int daresFixedInfosIndex;

            for (daresFixedInfosIndex = 0; (daresFixedInfosIndex < m_daresFixedInfos.Count); daresFixedInfosIndex = (daresFixedInfosIndex + 1))
            {
                DareInformations objectToSend = m_daresFixedInfos[daresFixedInfosIndex];
                objectToSend.Serialize(writer);
            }
            writer.WriteShort(((short)(m_daresVersatilesInfos.Count)));
            int daresVersatilesInfosIndex;

            for (daresVersatilesInfosIndex = 0; (daresVersatilesInfosIndex < m_daresVersatilesInfos.Count); daresVersatilesInfosIndex = (daresVersatilesInfosIndex + 1))
            {
                DareVersatileInformations objectToSend = m_daresVersatilesInfos[daresVersatilesInfosIndex];
                objectToSend.Serialize(writer);
            }
        }
Beispiel #3
0
 public override void Serialize(ICustomDataOutput writer)
 {
     m_dareInfos.Serialize(writer);
     writer.WriteBoolean(m_needNotifications);
 }
 public override void Serialize(IDataWriter writer)
 {
     m_dareFixedInfos.Serialize(writer);
     m_dareVersatilesInfos.Serialize(writer);
 }
Beispiel #5
0
 public override void Serialize(ICustomDataOutput writer)
 {
     m_dareFixedInfos.Serialize(writer);
     m_dareVersatilesInfos.Serialize(writer);
 }