TLSharp/TeleSharp.TL/TL/TLGeoPoint.cs
2017-04-13 13:38:01 +07:00

31 lines
647 B
C#

using System.IO;
namespace TeleSharp.TL
{
[TLObject(541710092)]
public class TLGeoPoint : TLAbsGeoPoint
{
public override int Constructor => 541710092;
public double @long { get; set; }
public double lat { get; set; }
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
@long = br.ReadDouble();
lat = br.ReadDouble();
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(@long);
bw.Write(lat);
}
}
}