mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-06 06:55:06 +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
|
|||
}
|
||||
}
|
||||
|
||||
public string label { get; set; }
|
||||
public long amount { get; set; }
|
||||
public string Label { get; set; }
|
||||
public long Amount { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
|
|
@ -29,16 +29,16 @@ namespace TeleSharp.TL
|
|||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
label = StringUtil.Deserialize(br);
|
||||
amount = br.ReadInt64();
|
||||
Label = StringUtil.Deserialize(br);
|
||||
Amount = br.ReadInt64();
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(label, bw);
|
||||
bw.Write(amount);
|
||||
StringUtil.Serialize(Label, bw);
|
||||
bw.Write(Amount);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue