mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
31 lines
675 B
C#
31 lines
675 B
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL
|
|
{
|
|
[TLObject(-1834538890)]
|
|
public class TLMessageActionGameScore : TLAbsMessageAction
|
|
{
|
|
public override int Constructor => -1834538890;
|
|
|
|
public long game_id { get; set; }
|
|
public int score { get; set; }
|
|
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
game_id = br.ReadInt64();
|
|
score = br.ReadInt32();
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
bw.Write(game_id);
|
|
bw.Write(score);
|
|
}
|
|
}
|
|
} |