mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-05 06:26:44 +00:00
parent
0d55940c12
commit
133b9fdf6c
784 changed files with 17201 additions and 10048 deletions
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using TeleSharp.TL;
|
||||
namespace TeleSharp.TL
|
||||
{
|
||||
[TLObject(-860866985)]
|
||||
[TLObject(-860866985)]
|
||||
public class TLWallPaper : TLAbsWallPaper
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,33 +18,33 @@ namespace TeleSharp.TL
|
|||
}
|
||||
}
|
||||
|
||||
public int id {get;set;}
|
||||
public string title {get;set;}
|
||||
public TLVector<TLAbsPhotoSize> sizes {get;set;}
|
||||
public int color {get;set;}
|
||||
public int id { get; set; }
|
||||
public string title { get; set; }
|
||||
public TLVector<TLAbsPhotoSize> sizes { get; set; }
|
||||
public int color { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
id = br.ReadInt32();
|
||||
title = StringUtil.Deserialize(br);
|
||||
sizes = (TLVector<TLAbsPhotoSize>)ObjectUtils.DeserializeVector<TLAbsPhotoSize>(br);
|
||||
color = br.ReadInt32();
|
||||
title = StringUtil.Deserialize(br);
|
||||
sizes = (TLVector<TLAbsPhotoSize>)ObjectUtils.DeserializeVector<TLAbsPhotoSize>(br);
|
||||
color = br.ReadInt32();
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
bw.Write(Constructor);
|
||||
bw.Write(id);
|
||||
StringUtil.Serialize(title,bw);
|
||||
ObjectUtils.SerializeObject(sizes,bw);
|
||||
bw.Write(color);
|
||||
StringUtil.Serialize(title, bw);
|
||||
ObjectUtils.SerializeObject(sizes, bw);
|
||||
bw.Write(color);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue