示例#1
0
        public override TLObject FromStream(Stream input)
        {
            Lat  = GetObject <TLDouble>(input);
            Long = GetObject <TLDouble>(input);

            return(this);
        }
示例#2
0
 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);
 }
示例#3
0
        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);
        }
示例#4
0
        public override TLObject FromStream(Stream input)
        {
            N    = GetObject <TLInt>(input);
            X    = GetObject <TLDouble>(input);
            Y    = GetObject <TLDouble>(input);
            Zoom = GetObject <TLDouble>(input);

            return(this);
        }