mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-05 06:26:44 +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,10 +18,10 @@ namespace TeleSharp.TL
|
|||
}
|
||||
}
|
||||
|
||||
public int n { get; set; }
|
||||
public double x { get; set; }
|
||||
public double y { get; set; }
|
||||
public double zoom { get; set; }
|
||||
public int N { get; set; }
|
||||
public double X { get; set; }
|
||||
public double Y { get; set; }
|
||||
public double Zoom { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
|
|
@ -31,20 +31,20 @@ namespace TeleSharp.TL
|
|||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
n = br.ReadInt32();
|
||||
x = br.ReadDouble();
|
||||
y = br.ReadDouble();
|
||||
zoom = br.ReadDouble();
|
||||
N = br.ReadInt32();
|
||||
X = br.ReadDouble();
|
||||
Y = br.ReadDouble();
|
||||
Zoom = br.ReadDouble();
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
bw.Write(n);
|
||||
bw.Write(x);
|
||||
bw.Write(y);
|
||||
bw.Write(zoom);
|
||||
bw.Write(N);
|
||||
bw.Write(X);
|
||||
bw.Write(Y);
|
||||
bw.Write(Zoom);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue