mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-06 23:15:16 +00:00
Generator Must Respect MS .NET API guidelines
This commit is contained in:
parent
3ba3ea53fd
commit
d769dd3c2f
646 changed files with 7213 additions and 7166 deletions
|
|
@ -18,9 +18,9 @@ namespace TeleSharp.TL
|
|||
}
|
||||
}
|
||||
|
||||
public string url { get; set; }
|
||||
public TLAbsPhoto photo { get; set; }
|
||||
public TLAbsDocument document { get; set; }
|
||||
public string Url { get; set; }
|
||||
public TLAbsPhoto Photo { get; set; }
|
||||
public TLAbsDocument Document { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
|
|
@ -30,18 +30,18 @@ namespace TeleSharp.TL
|
|||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
url = StringUtil.Deserialize(br);
|
||||
photo = (TLAbsPhoto)ObjectUtils.DeserializeObject(br);
|
||||
document = (TLAbsDocument)ObjectUtils.DeserializeObject(br);
|
||||
Url = StringUtil.Deserialize(br);
|
||||
Photo = (TLAbsPhoto)ObjectUtils.DeserializeObject(br);
|
||||
Document = (TLAbsDocument)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(url, bw);
|
||||
ObjectUtils.SerializeObject(photo, bw);
|
||||
ObjectUtils.SerializeObject(document, bw);
|
||||
StringUtil.Serialize(Url, bw);
|
||||
ObjectUtils.SerializeObject(Photo, bw);
|
||||
ObjectUtils.SerializeObject(Document, bw);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue