コード例 #1
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.flags         = StreamingUtils.readInt(stream);
     this.type          = StreamingUtils.readTLObject(stream, context);
     this.phoneCodeHash = StreamingUtils.readTLString(stream);
     if ((this.flags & 2) != 0)
     {
         this.nextType = StreamingUtils.readTLObject(stream, context);
     }
     if ((this.flags & 4) != 0)
     {
         this.timeout = StreamingUtils.readInt(stream);
     }
 }
コード例 #2
0
 public virtual void setType(TLAbsSentCodeType type)
 {
     this.type = type;
 }