From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../XMainClient/KKSG/guildcamppartyNotifyNtf.cs | 128 +++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/KKSG/guildcamppartyNotifyNtf.cs (limited to 'Client/Assets/Scripts/XMainClient/KKSG/guildcamppartyNotifyNtf.cs') diff --git a/Client/Assets/Scripts/XMainClient/KKSG/guildcamppartyNotifyNtf.cs b/Client/Assets/Scripts/XMainClient/KKSG/guildcamppartyNotifyNtf.cs new file mode 100644 index 00000000..c80444a3 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/guildcamppartyNotifyNtf.cs @@ -0,0 +1,128 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Xml.Serialization; +using ProtoBuf; + +namespace KKSG +{ + [ProtoContract(Name = "guildcamppartyNotifyNtf")] + [Serializable] + public class guildcamppartyNotifyNtf : IExtensible + { + [ProtoMember(1, IsRequired = false, Name = "notify_type", DataFormat = DataFormat.TwosComplement)] + public uint notify_type + { + get + { + return this._notify_type ?? 0u; + } + set + { + this._notify_type = new uint?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool notify_typeSpecified + { + get + { + return this._notify_type != null; + } + set + { + bool flag = value == (this._notify_type == null); + if (flag) + { + this._notify_type = (value ? new uint?(this.notify_type) : null); + } + } + } + + [ProtoMember(2, Name = "sprite_list", DataFormat = DataFormat.Default)] + public List sprite_list + { + get + { + return this._sprite_list; + } + } + + [ProtoMember(3, Name = "lottery_list", DataFormat = DataFormat.TwosComplement)] + public List lottery_list + { + get + { + return this._lottery_list; + } + } + + [ProtoMember(4, IsRequired = false, Name = "left_time", DataFormat = DataFormat.TwosComplement)] + public uint left_time + { + get + { + return this._left_time ?? 0u; + } + set + { + this._left_time = new uint?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool left_timeSpecified + { + get + { + return this._left_time != null; + } + set + { + bool flag = value == (this._left_time == null); + if (flag) + { + this._left_time = (value ? new uint?(this.left_time) : null); + } + } + } + + private uint? _notify_type; + + private readonly List _sprite_list = new List(); + + private readonly List _lottery_list = new List(); + + private uint? _left_time; + + private IExtension extensionObject; + + private bool ShouldSerializenotify_type() + { + return this.notify_typeSpecified; + } + + private void Resetnotify_type() + { + this.notify_typeSpecified = false; + } + + private bool ShouldSerializeleft_time() + { + return this.left_timeSpecified; + } + + private void Resetleft_time() + { + this.left_timeSpecified = false; + } + + IExtension IExtensible.GetExtensionObject(bool createIfMissing) + { + return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing); + } + } +} -- cgit v1.1-26-g67d0