public override TLObject FromStream(Stream input) { Lat = GetObject <TLDouble>(input); Long = GetObject <TLDouble>(input); return(this); }
public TLMaskCoords(int n, double x, double y, double zoom) { N = new TLInt(n); X = new TLDouble(x); Y = new TLDouble(y); Zoom = new TLDouble(zoom); }
public override TLObject FromBytes(byte[] bytes, ref int position) { bytes.ThrowExceptionIfIncorrect(ref position, Signature); Long = GetObject <TLDouble>(bytes, ref position); Lat = GetObject <TLDouble>(bytes, ref position); return(this); }
public override TLObject FromStream(Stream input) { N = GetObject <TLInt>(input); X = GetObject <TLDouble>(input); Y = GetObject <TLDouble>(input); Zoom = GetObject <TLDouble>(input); return(this); }