mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-09 00:14:54 +00:00
Generator Must Respect MS .NET API guidelines
This commit is contained in:
parent
3ba3ea53fd
commit
d769dd3c2f
646 changed files with 7213 additions and 7166 deletions
|
|
@ -18,10 +18,10 @@ namespace TeleSharp.TL.Photos
|
|||
}
|
||||
}
|
||||
|
||||
public TLAbsInputUser user_id { get; set; }
|
||||
public int offset { get; set; }
|
||||
public long max_id { get; set; }
|
||||
public int limit { get; set; }
|
||||
public TLAbsInputUser UserId { get; set; }
|
||||
public int Offset { get; set; }
|
||||
public long MaxId { get; set; }
|
||||
public int Limit { get; set; }
|
||||
public Photos.TLAbsPhotos Response { get; set; }
|
||||
|
||||
|
||||
|
|
@ -32,23 +32,23 @@ namespace TeleSharp.TL.Photos
|
|||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
user_id = (TLAbsInputUser)ObjectUtils.DeserializeObject(br);
|
||||
offset = br.ReadInt32();
|
||||
max_id = br.ReadInt64();
|
||||
limit = br.ReadInt32();
|
||||
UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br);
|
||||
Offset = br.ReadInt32();
|
||||
MaxId = br.ReadInt64();
|
||||
Limit = br.ReadInt32();
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(user_id, bw);
|
||||
bw.Write(offset);
|
||||
bw.Write(max_id);
|
||||
bw.Write(limit);
|
||||
ObjectUtils.SerializeObject(UserId, bw);
|
||||
bw.Write(Offset);
|
||||
bw.Write(MaxId);
|
||||
bw.Write(Limit);
|
||||
|
||||
}
|
||||
public override void deserializeResponse(BinaryReader br)
|
||||
public override void DeserializeResponse(BinaryReader br)
|
||||
{
|
||||
Response = (Photos.TLAbsPhotos)ObjectUtils.DeserializeObject(br);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue