public override void Deserialize(IDataReader reader)
 {
     dareFixedInfos = new Types.DareInformations();
     dareFixedInfos.Deserialize(reader);
     dareVersatilesInfos = new Types.DareVersatileInformations();
     dareVersatilesInfos.Deserialize(reader);
 }
        public void Deserialize(IDataReader reader)
        {
            var limit = reader.ReadUShort();

            dares = new Types.DareInformations[limit];
            for (int i = 0; i < limit; i++)
            {
                dares[i] = new Types.DareInformations();
                dares[i].Deserialize(reader);
            }
        }
예제 #3
0
        public override void Deserialize(IDataReader reader)
        {
            var limit  = reader.ReadShort();
            var dares_ = new Types.DareInformations[limit];

            for (int i = 0; i < limit; i++)
            {
                dares_[i] = new Types.DareInformations();
                dares_[i].Deserialize(reader);
            }
            dares = dares_;
        }
예제 #4
0
        public override void Deserialize(IDataReader reader)
        {
            var limit = (ushort)reader.ReadUShort();

            daresFixedInfos = new Types.DareInformations[limit];
            for (int i = 0; i < limit; i++)
            {
                daresFixedInfos[i] = new Types.DareInformations();
                daresFixedInfos[i].Deserialize(reader);
            }
            limit = (ushort)reader.ReadUShort();
            daresVersatilesInfos = new Types.DareVersatileInformations[limit];
            for (int i = 0; i < limit; i++)
            {
                daresVersatilesInfos[i] = new Types.DareVersatileInformations();
                daresVersatilesInfos[i].Deserialize(reader);
            }
        }
예제 #5
0
 public override void Deserialize(IReader reader)
 {
     dareInfos = new Types.DareInformations();
     dareInfos.Deserialize(reader);
     needNotifications = reader.ReadBoolean();
 }
예제 #6
0
 public DareCreatedMessage(Types.DareInformations dareInfos, bool needNotifications)
 {
     this.dareInfos         = dareInfos;
     this.needNotifications = needNotifications;
 }
 public DareInformationsMessage(Types.DareInformations dareFixedInfos, Types.DareVersatileInformations dareVersatilesInfos)
 {
     this.dareFixedInfos      = dareFixedInfos;
     this.dareVersatilesInfos = dareVersatilesInfos;
 }