コード例 #1
0
 public override void DeserializeBody(BinaryReader br)
 {
     Flags    = br.ReadInt32();
     Document = (TLAbsInputDocument)ObjectUtils.DeserializeObject(br);
     Emoji    = StringUtil.Deserialize(br);
     if ((Flags & 1) != 0)
     {
         MaskCoords = (TLMaskCoords)ObjectUtils.DeserializeObject(br);
     }
     else
     {
         MaskCoords = null;
     }
 }
コード例 #2
0
 public override void DeserializeBody(BinaryReader br)
 {
     Flags      = br.ReadInt32();
     Mask       = (Flags & 2) != 0;
     Alt        = StringUtil.Deserialize(br);
     Stickerset = (TLAbsInputStickerSet)ObjectUtils.DeserializeObject(br);
     if ((Flags & 1) != 0)
     {
         MaskCoords = (TLMaskCoords)ObjectUtils.DeserializeObject(br);
     }
     else
     {
         MaskCoords = null;
     }
 }