Exemple #1
0
 public override void DeserializeBody(BinaryReader br)
 {
     this.QueryId         = br.ReadInt64();
     this.UserId          = br.ReadInt32();
     this.Payload         = BytesUtil.Deserialize(br);
     this.ShippingAddress = (TLPostAddress)ObjectUtils.DeserializeObject(br);
 }
Exemple #2
0
 public override void DeserializeBody(BinaryReader br)
 {
     query_id         = br.ReadInt64();
     user_id          = br.ReadInt32();
     payload          = BytesUtil.Deserialize(br);
     shipping_address = (TLPostAddress)ObjectUtils.DeserializeObject(br);
 }
Exemple #3
0
        public override void DeserializeBody(BinaryReader br)
        {
            flags = br.ReadInt32();
            if ((flags & 1) != 0)
            {
                name = StringUtil.Deserialize(br);
            }
            else
            {
                name = null;
            }

            if ((flags & 2) != 0)
            {
                phone = StringUtil.Deserialize(br);
            }
            else
            {
                phone = null;
            }

            if ((flags & 4) != 0)
            {
                email = StringUtil.Deserialize(br);
            }
            else
            {
                email = null;
            }

            if ((flags & 8) != 0)
            {
                shipping_address = (TLPostAddress)ObjectUtils.DeserializeObject(br);
            }
            else
            {
                shipping_address = null;
            }
        }
Exemple #4
0
        public override void DeserializeBody(BinaryReader br)
        {
            this.Flags = br.ReadInt32();
            if ((this.Flags & 1) != 0)
            {
                this.Name = StringUtil.Deserialize(br);
            }
            else
            {
                this.Name = null;
            }

            if ((this.Flags & 2) != 0)
            {
                this.Phone = StringUtil.Deserialize(br);
            }
            else
            {
                this.Phone = null;
            }

            if ((this.Flags & 4) != 0)
            {
                this.Email = StringUtil.Deserialize(br);
            }
            else
            {
                this.Email = null;
            }

            if ((this.Flags & 8) != 0)
            {
                this.ShippingAddress = (TLPostAddress)ObjectUtils.DeserializeObject(br);
            }
            else
            {
                this.ShippingAddress = null;
            }
        }