mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-04 14:08:35 +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,8 +18,8 @@ namespace TeleSharp.TL.Photos
|
|||
}
|
||||
}
|
||||
|
||||
public TLAbsPhoto photo { get; set; }
|
||||
public TLVector<TLAbsUser> users { get; set; }
|
||||
public TLAbsPhoto Photo { get; set; }
|
||||
public TLVector<TLAbsUser> Users { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
|
|
@ -29,16 +29,16 @@ namespace TeleSharp.TL.Photos
|
|||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
photo = (TLAbsPhoto)ObjectUtils.DeserializeObject(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
Photo = (TLAbsPhoto)ObjectUtils.DeserializeObject(br);
|
||||
Users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(photo, bw);
|
||||
ObjectUtils.SerializeObject(users, bw);
|
||||
ObjectUtils.SerializeObject(Photo, bw);
|
||||
ObjectUtils.SerializeObject(Users, bw);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue