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,7 +18,7 @@ namespace TeleSharp.TL.Messages
}
}
public int max_id { get; set; }
public int MaxId { get; set; }
public TLVector<TLReceivedNotifyMessage> Response { get; set; }
@ -29,17 +29,17 @@ namespace TeleSharp.TL.Messages
public override void DeserializeBody(BinaryReader br)
{
max_id = br.ReadInt32();
MaxId = br.ReadInt32();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(max_id);
bw.Write(MaxId);
}
public override void deserializeResponse(BinaryReader br)
public override void DeserializeResponse(BinaryReader br)
{
Response = (TLVector<TLReceivedNotifyMessage>)ObjectUtils.DeserializeVector<TLReceivedNotifyMessage>(br);