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,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);
}
}