diff options
| author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 | 
|---|---|---|
| committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 | 
| commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
| tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/KKSG/guildcamppartyNotifyNtf.cs | |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/guildcamppartyNotifyNtf.cs')
| -rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/guildcamppartyNotifyNtf.cs | 128 | 
1 files changed, 128 insertions, 0 deletions
| 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<GuildCampSpriteInfo> sprite_list
 +		{
 +			get
 +			{
 +				return this._sprite_list;
 +			}
 +		}
 +
 +		[ProtoMember(3, Name = "lottery_list", DataFormat = DataFormat.TwosComplement)]
 +		public List<uint> 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<GuildCampSpriteInfo> _sprite_list = new List<GuildCampSpriteInfo>();
 +
 +		private readonly List<uint> _lottery_list = new List<uint>();
 +
 +		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);
 +		}
 +	}
 +}
 | 
