mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
38 lines
800 B
C#
38 lines
800 B
C#
using System.IO;
|
|
|
|
namespace TeleSharp.TL
|
|
{
|
|
[TLObject(-892239370)]
|
|
public class TLLangPackString : TLAbsLangPackString
|
|
{
|
|
public override int Constructor
|
|
{
|
|
get
|
|
{
|
|
return -892239370;
|
|
}
|
|
}
|
|
|
|
public string Key { get; set; }
|
|
|
|
public string Value { get; set; }
|
|
|
|
public void ComputeFlags()
|
|
{
|
|
}
|
|
|
|
public override void DeserializeBody(BinaryReader br)
|
|
{
|
|
Key = StringUtil.Deserialize(br);
|
|
Value = StringUtil.Deserialize(br);
|
|
}
|
|
|
|
public override void SerializeBody(BinaryWriter bw)
|
|
{
|
|
bw.Write(Constructor);
|
|
StringUtil.Serialize(Key, bw);
|
|
StringUtil.Serialize(Value, bw);
|
|
}
|
|
}
|
|
}
|