mirror of
https://github.com/sochix/TLSharp.git
synced 2026-01-30 04:14:44 +01:00
38 lines
929 B
C#
38 lines
929 B
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL.Messages
|
|
{
|
|
[TLObject(-1707344487)]
|
|
public class TLHighScores : TLObject
|
|
{
|
|
public override int Constructor
|
|
{
|
|
get
|
|
{
|
|
return -1707344487;
|
|
}
|
|
}
|
|
|
|
public TLVector<TLHighScore> Scores { get; set; }
|
|
|
|
public TLVector<TLAbsUser> Users { get; set; }
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
Scores = (TLVector<TLHighScore>)ObjectUtils.DeserializeVector<TLHighScore>(br);
|
|
Users = (TLVector<TLAbsUser>)ObjectUtils.DeserializeVector<TLAbsUser>(br);
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
ObjectUtils.SerializeObject(Scores, bw);
|
|
ObjectUtils.SerializeObject(Users, bw);
|
|
}
|
|
}
|
|
}
|