Generator Must Respect MS .NET API guidelines

This commit is contained in:
Afshin Arani 2017-11-09 02:35:15 -08:00 committed by Andres G. Aragoneses
parent 3ba3ea53fd
commit d769dd3c2f
646 changed files with 7213 additions and 7166 deletions

View file

@ -18,8 +18,8 @@ namespace TeleSharp.TL.Messages
}
}
public int hash { get; set; }
public TLVector<TLAbsDocument> stickers { get; set; }
public int Hash { get; set; }
public TLVector<TLAbsDocument> Stickers { get; set; }
public void ComputeFlags()
@ -29,16 +29,16 @@ namespace TeleSharp.TL.Messages
public override void DeserializeBody(BinaryReader br)
{
hash = br.ReadInt32();
stickers = (TLVector<TLAbsDocument>)ObjectUtils.DeserializeVector<TLAbsDocument>(br);
Hash = br.ReadInt32();
Stickers = (TLVector<TLAbsDocument>)ObjectUtils.DeserializeVector<TLAbsDocument>(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(hash);
ObjectUtils.SerializeObject(stickers, bw);
bw.Write(Hash);
ObjectUtils.SerializeObject(Stickers, bw);
}
}