public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); BoolUtil.Serialize(ordered, bw); ObjectUtils.SerializeObject(items, bw); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(this.Constructor); ObjectUtils.SerializeObject(this.Author, bw); bw.Write(this.PublishedDate); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(PaymentData, bw); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(document, bw); StringUtil.Serialize(caption, bw); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(text, bw); ObjectUtils.SerializeObject(caption, bw); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(Flags); bw.Write(Id); StringUtil.Serialize(Url, bw); StringUtil.Serialize(DisplayUrl, bw); bw.Write(Hash); if ((Flags & 1) != 0) { StringUtil.Serialize(Type, bw); } if ((Flags & 2) != 0) { StringUtil.Serialize(SiteName, bw); } if ((Flags & 4) != 0) { StringUtil.Serialize(Title, bw); } if ((Flags & 8) != 0) { StringUtil.Serialize(Description, bw); } if ((Flags & 16) != 0) { ObjectUtils.SerializeObject(Photo, bw); } if ((Flags & 32) != 0) { StringUtil.Serialize(EmbedUrl, bw); } if ((Flags & 32) != 0) { StringUtil.Serialize(EmbedType, bw); } if ((Flags & 64) != 0) { bw.Write(EmbedWidth.Value); } if ((Flags & 64) != 0) { bw.Write(EmbedHeight.Value); } if ((Flags & 128) != 0) { bw.Write(Duration.Value); } if ((Flags & 256) != 0) { StringUtil.Serialize(Author, bw); } if ((Flags & 512) != 0) { ObjectUtils.SerializeObject(Document, bw); } if ((Flags & 1024) != 0) { ObjectUtils.SerializeObject(CachedPage, bw); } if ((Flags & 4096) != 0) { ObjectUtils.SerializeObject(Attributes, bw); } }
public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Message, bw); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(this.Constructor); StringUtil.Serialize(this.Emoticon, bw); ObjectUtils.SerializeObject(this.Documents, bw); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(author, bw); bw.Write(published_date); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(this.Constructor); this.ComputeFlags(); bw.Write(this.Flags); bw.Write(this.Id); StringUtil.Serialize(this.Url, bw); StringUtil.Serialize(this.DisplayUrl, bw); bw.Write(this.Hash); if ((this.Flags & 1) != 0) { StringUtil.Serialize(this.Type, bw); } if ((this.Flags & 2) != 0) { StringUtil.Serialize(this.SiteName, bw); } if ((this.Flags & 4) != 0) { StringUtil.Serialize(this.Title, bw); } if ((this.Flags & 8) != 0) { StringUtil.Serialize(this.Description, bw); } if ((this.Flags & 16) != 0) { ObjectUtils.SerializeObject(this.Photo, bw); } if ((this.Flags & 32) != 0) { StringUtil.Serialize(this.EmbedUrl, bw); } if ((this.Flags & 32) != 0) { StringUtil.Serialize(this.EmbedType, bw); } if ((this.Flags & 64) != 0) { bw.Write(this.EmbedWidth.Value); } if ((this.Flags & 64) != 0) { bw.Write(this.EmbedHeight.Value); } if ((this.Flags & 128) != 0) { bw.Write(this.Duration.Value); } if ((this.Flags & 256) != 0) { StringUtil.Serialize(this.Author, bw); } if ((this.Flags & 512) != 0) { ObjectUtils.SerializeObject(this.Document, bw); } if ((this.Flags & 1024) != 0) { ObjectUtils.SerializeObject(this.CachedPage, bw); } }
public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(user_id); ObjectUtils.SerializeObject(status, bw); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(bot_id, bw); StringUtil.Serialize(short_name, bw); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(PhotoSmall, bw); ObjectUtils.SerializeObject(PhotoBig, bw); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(PrevPhoto, bw); ObjectUtils.SerializeObject(NewPhoto, bw); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(GeoPoint, bw); StringUtil.Serialize(Address, bw); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(this.Constructor); ObjectUtils.SerializeObject(this.Id, bw); StringUtil.Serialize(this.Caption, bw); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(msg_id); ObjectUtils.SerializeObject(query, bw); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(title, bw); ObjectUtils.SerializeObject(users, bw); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); ObjectUtils.SerializeObject(NotifySettings, bw); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(Peer, bw); bw.Write(MsgId); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(this.Constructor); ObjectUtils.SerializeObject(this.Text, bw); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(BotId, bw); StringUtil.Serialize(ShortName, bw); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); ObjectUtils.SerializeObject(chat, bw); bw.Write(date); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); StringUtil.Serialize(Num, bw); ObjectUtils.SerializeObject(Text, bw); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(Constructor); bw.Write(AudioId); ObjectUtils.SerializeObject(Caption, bw); }
public override void SerializeBody(BinaryWriter bw) { bw.Write(this.Constructor); bw.Write(this.UserId); ObjectUtils.SerializeObject(this.Action, bw); }