mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-04 22:18:59 +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.Messages
|
|||
}
|
||||
}
|
||||
|
||||
public TLVector<TLDialog> dialogs { get; set; }
|
||||
public TLVector<TLAbsMessage> messages { get; set; }
|
||||
public TLVector<TLAbsChat> chats { get; set; }
|
||||
public TLVector<TLAbsUser> users { get; set; }
|
||||
public TLVector<TLDialog> Dialogs { get; set; }
|
||||
public TLVector<TLAbsMessage> Messages { get; set; }
|
||||
public TLVector<TLAbsChat> Chats { get; set; }
|
||||
public TLVector<TLAbsUser> Users { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
|
|
@ -31,20 +31,20 @@ namespace TeleSharp.TL.Messages
|
|||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
dialogs = (TLVector<TLDialog>)ObjectUtils.DeserializeVector<TLDialog>(br);
|
||||
messages = (TLVector<TLAbsMessage>)ObjectUtils.DeserializeVector<TLAbsMessage>(br);
|
||||
chats = (TLVector<TLAbsChat>)ObjectUtils.DeserializeVector<TLAbsChat>(br);
|
||||
users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
Dialogs = (TLVector<TLDialog>)ObjectUtils.DeserializeVector<TLDialog>(br);
|
||||
Messages = (TLVector<TLAbsMessage>)ObjectUtils.DeserializeVector<TLAbsMessage>(br);
|
||||
Chats = (TLVector<TLAbsChat>)ObjectUtils.DeserializeVector<TLAbsChat>(br);
|
||||
Users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
ObjectUtils.SerializeObject(dialogs, bw);
|
||||
ObjectUtils.SerializeObject(messages, bw);
|
||||
ObjectUtils.SerializeObject(chats, bw);
|
||||
ObjectUtils.SerializeObject(users, bw);
|
||||
ObjectUtils.SerializeObject(Dialogs, bw);
|
||||
ObjectUtils.SerializeObject(Messages, bw);
|
||||
ObjectUtils.SerializeObject(Chats, bw);
|
||||
ObjectUtils.SerializeObject(Users, bw);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue