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(2009052699)]
|
||||
[TLObject(2009052699)]
|
||||
public class TLPhotoSize : TLAbsPhotoSize
|
||||
{
|
||||
public override int Constructor
|
||||
|
|
@ -18,36 +18,36 @@ namespace TeleSharp.TL
|
|||
}
|
||||
}
|
||||
|
||||
public string type {get;set;}
|
||||
public TLAbsFileLocation location {get;set;}
|
||||
public int w {get;set;}
|
||||
public int h {get;set;}
|
||||
public int size {get;set;}
|
||||
public string type { get; set; }
|
||||
public TLAbsFileLocation location { get; set; }
|
||||
public int w { get; set; }
|
||||
public int h { get; set; }
|
||||
public int size { get; set; }
|
||||
|
||||
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
public void ComputeFlags()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void DeserializeBody(BinaryReader br)
|
||||
{
|
||||
type = StringUtil.Deserialize(br);
|
||||
location = (TLAbsFileLocation)ObjectUtils.DeserializeObject(br);
|
||||
w = br.ReadInt32();
|
||||
h = br.ReadInt32();
|
||||
size = br.ReadInt32();
|
||||
location = (TLAbsFileLocation)ObjectUtils.DeserializeObject(br);
|
||||
w = br.ReadInt32();
|
||||
h = br.ReadInt32();
|
||||
size = br.ReadInt32();
|
||||
|
||||
}
|
||||
|
||||
public override void SerializeBody(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(type,bw);
|
||||
ObjectUtils.SerializeObject(location,bw);
|
||||
bw.Write(w);
|
||||
bw.Write(h);
|
||||
bw.Write(size);
|
||||
bw.Write(Constructor);
|
||||
StringUtil.Serialize(type, bw);
|
||||
ObjectUtils.SerializeObject(location, bw);
|
||||
bw.Write(w);
|
||||
bw.Write(h);
|
||||
bw.Write(size);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue