コード例 #1
0
ファイル: TLUserForeign.cs プロジェクト: ruben0909/TLSharp
 public override void DeserializeBody(BinaryReader br)
 {
     Id         = br.ReadInt32();
     FirstName  = StringUtil.Deserialize(br);
     LastName   = StringUtil.Deserialize(br);
     Username   = StringUtil.Deserialize(br);
     AccessHash = br.ReadInt64();
     Photo      = (TLAbsUserProfilePhoto)ObjectUtils.DeserializeObject(br);
     Status     = (TLAbsUserStatus)ObjectUtils.DeserializeObject(br);
 }
コード例 #2
0
 public override void DeserializeBody(BinaryReader br)
 {
     this.UserId = br.ReadInt32();
     this.Status = (TLAbsUserStatus)ObjectUtils.DeserializeObject(br);
 }
コード例 #3
0
 public override void DeserializeBody(BinaryReader br)
 {
     user_id = br.ReadInt32();
     status  = (TLAbsUserStatus)ObjectUtils.DeserializeObject(br);
     Type    = TLAbsContactStatusTypes.TLContactStatus;
 }