Ejemplo n.º 1
0
        public override void Serialize(ICustomDataOutput writer)
        {
            byte flag = new byte();

            BooleanByteWrapper.SetFlag(0, flag, m_success);
            BooleanByteWrapper.SetFlag(1, flag, m_subscribe);
            writer.WriteByte(flag);
            m_dareVersatilesInfos.Serialize(writer);
            writer.WriteDouble(m_dareId);
        }
Ejemplo n.º 2
0
        public override void Serialize(ICustomDataOutput writer)
        {
            byte box0 = 0;

            box0 = BooleanByteWrapper.SetFlag(box0, 1, Success);
            box0 = BooleanByteWrapper.SetFlag(box0, 2, Subscribe);
            writer.WriteByte(box0);
            writer.WriteDouble(DareId);
            DareVersatilesInfos.Serialize(writer);
        }
Ejemplo n.º 3
0
        public override void Serialize(ICustomDataOutput writer)
        {
            writer.WriteShort(((short)(m_dares.Count)));
            int daresIndex;

            for (daresIndex = 0; (daresIndex < m_dares.Count); daresIndex = (daresIndex + 1))
            {
                DareVersatileInformations objectToSend = m_dares[daresIndex];
                objectToSend.Serialize(writer);
            }
        }
Ejemplo n.º 4
0
        public override void Serialize(IDataWriter 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);
            }
        }
Ejemplo n.º 5
0
 public override void Serialize(IDataWriter writer)
 {
     m_dareFixedInfos.Serialize(writer);
     m_dareVersatilesInfos.Serialize(writer);
 }
Ejemplo n.º 6
0
 public override void Serialize(ICustomDataOutput writer)
 {
     m_dareFixedInfos.Serialize(writer);
     m_dareVersatilesInfos.Serialize(writer);
 }