public void Deserialize(IDataReader reader)
 {
     DareFixedInfos = new DareInformations();
     DareFixedInfos.Deserialize(reader);
     DareVersatilesInfos = new DareVersatileInformations();
     DareVersatilesInfos.Deserialize(reader);
 }
Пример #2
0
 public DareInformationsMessage(
     DareInformations dareFixedInfos,
     DareVersatileInformations dareVersatilesInfos)
 {
     this.dareFixedInfos      = dareFixedInfos;
     this.dareVersatilesInfos = dareVersatilesInfos;
 }
 public override void Deserialize(ICustomDataInput reader)
 {
     this.dareFixedInfos = new DareInformations();
     this.dareFixedInfos.Deserialize(reader);
     this.dareVersatilesInfos = new DareVersatileInformations();
     this.dareVersatilesInfos.Deserialize(reader);
 }
Пример #4
0
 public override void Deserialize(IDataReader reader)
 {
     m_dareFixedInfos = new DareInformations();
     m_dareFixedInfos.Deserialize(reader);
     m_dareVersatilesInfos = new DareVersatileInformations();
     m_dareVersatilesInfos.Deserialize(reader);
 }
 public void Deserialize(IDataReader reader)
 {
     Dares = new DareInformations[reader.ReadShort()];
     for (var i = 0; i < Dares.Length; i++)
     {
         (Dares[i] = new DareInformations()).Deserialize(reader);
     }
 }
Пример #6
0
 public DareCreatedMessage(
     DareInformations dareInfos,
     bool needNotifications
     )
 {
     DareInfos         = dareInfos;
     NeedNotifications = needNotifications;
 }
Пример #7
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);
            }
        }
Пример #8
0
        public override void Deserialize(IDataReader reader)
        {
            uint num = (uint)reader.ReadUShort();

            for (int index = 0; (long)index < (long)num; ++index)
            {
                DareInformations dareInformations = new DareInformations();
                dareInformations.Deserialize(reader);
                this.dares.Add(dareInformations);
            }
        }
Пример #9
0
        public override void Deserialize(IDataReader reader)
        {
            var daresCount = reader.ReadUShort();

            Dares = new List <DareInformations>();
            for (var daresIndex = 0; daresIndex < daresCount; daresIndex++)
            {
                var objectToAdd = new DareInformations();
                objectToAdd.Deserialize(reader);
                Dares.Add(objectToAdd);
            }
        }
Пример #10
0
        public override void Deserialize(ICustomDataInput reader)
        {
            var countDares = reader.ReadShort();

            Dares = new List <DareInformations>();
            for (short i = 0; i < countDares; i++)
            {
                DareInformations type = new DareInformations();
                type.Deserialize(reader);
                Dares.Add(type);
            }
        }
Пример #11
0
 public void Deserialize(IDataReader reader)
 {
     DaresFixedInfos = new DareInformations[reader.ReadShort()];
     for (var i = 0; i < DaresFixedInfos.Length; i++)
     {
         (DaresFixedInfos[i] = new DareInformations()).Deserialize(reader);
     }
     DaresVersatilesInfos = new DareVersatileInformations[reader.ReadShort()];
     for (var i = 0; i < DaresVersatilesInfos.Length; i++)
     {
         (DaresVersatilesInfos[i] = new DareVersatileInformations()).Deserialize(reader);
     }
 }
Пример #12
0
        public override void Deserialize(IDataReader reader)
        {
            int daresCount = reader.ReadUShort();
            int daresIndex;

            m_dares = new System.Collections.Generic.List <DareInformations>();
            for (daresIndex = 0; (daresIndex < daresCount); daresIndex = (daresIndex + 1))
            {
                DareInformations objectToAdd = new DareInformations();
                objectToAdd.Deserialize(reader);
                m_dares.Add(objectToAdd);
            }
        }
        public override void Deserialize(IDataReader reader)
        {
            uint num1 = (uint)reader.ReadUShort();

            for (int index = 0; (long)index < (long)num1; ++index)
            {
                DareInformations dareInformations = new DareInformations();
                dareInformations.Deserialize(reader);
                this.daresFixedInfos.Add(dareInformations);
            }
            uint num2 = (uint)reader.ReadUShort();

            for (int index = 0; (long)index < (long)num2; ++index)
            {
                DareVersatileInformations versatileInformations = new DareVersatileInformations();
                versatileInformations.Deserialize(reader);
                this.daresVersatilesInfos.Add(versatileInformations);
            }
        }
Пример #14
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);
            }
        }
Пример #15
0
        public override void Deserialize(IDataReader reader)
        {
            var DaresFixedInfosCount = reader.ReadShort();

            DaresFixedInfos = new List <DareInformations>();
            for (var i = 0; i < DaresFixedInfosCount; i++)
            {
                var objectToAdd = new DareInformations();
                objectToAdd.Deserialize(reader);
                DaresFixedInfos.Add(objectToAdd);
            }
            var DaresVersatilesInfosCount = reader.ReadShort();

            DaresVersatilesInfos = new List <DareVersatileInformations>();
            for (var i = 0; i < DaresVersatilesInfosCount; i++)
            {
                var objectToAdd = new DareVersatileInformations();
                objectToAdd.Deserialize(reader);
                DaresVersatilesInfos.Add(objectToAdd);
            }
        }
Пример #16
0
        public override void Deserialize(ICustomDataInput reader)
        {
            int daresFixedInfosCount = reader.ReadUShort();
            int daresFixedInfosIndex;

            m_daresFixedInfos = new System.Collections.Generic.List <DareInformations>();
            for (daresFixedInfosIndex = 0; (daresFixedInfosIndex < daresFixedInfosCount); daresFixedInfosIndex = (daresFixedInfosIndex + 1))
            {
                DareInformations objectToAdd = new DareInformations();
                objectToAdd.Deserialize(reader);
                m_daresFixedInfos.Add(objectToAdd);
            }
            int daresVersatilesInfosCount = reader.ReadUShort();
            int daresVersatilesInfosIndex;

            m_daresVersatilesInfos = new System.Collections.Generic.List <DareVersatileInformations>();
            for (daresVersatilesInfosIndex = 0; (daresVersatilesInfosIndex < daresVersatilesInfosCount); daresVersatilesInfosIndex = (daresVersatilesInfosIndex + 1))
            {
                DareVersatileInformations objectToAdd = new DareVersatileInformations();
                objectToAdd.Deserialize(reader);
                m_daresVersatilesInfos.Add(objectToAdd);
            }
        }
Пример #17
0
 public override void Deserialize(ICustomDataInput reader)
 {
     m_dareInfos = new DareInformations();
     m_dareInfos.Deserialize(reader);
     m_needNotifications = reader.ReadBoolean();
 }
Пример #18
0
 public override void Deserialize(IDataReader reader)
 {
     DareInfos = new DareInformations();
     DareInfos.Deserialize(reader);
     NeedNotifications = reader.ReadBoolean();
 }
Пример #19
0
 public DareCreatedMessage(DareInformations DareInfos, bool NeedNotifications)
 {
     this.DareInfos         = DareInfos;
     this.NeedNotifications = NeedNotifications;
 }