diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/SelectChestArg.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/SelectChestArg.cs | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/SelectChestArg.cs b/Client/Assets/Scripts/XMainClient/KKSG/SelectChestArg.cs new file mode 100644 index 00000000..80b5d21a --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/SelectChestArg.cs @@ -0,0 +1,62 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "SelectChestArg")]
+ [Serializable]
+ public class SelectChestArg : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "chestIdx", DataFormat = DataFormat.TwosComplement)]
+ public uint chestIdx
+ {
+ get
+ {
+ return this._chestIdx ?? 0u;
+ }
+ set
+ {
+ this._chestIdx = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool chestIdxSpecified
+ {
+ get
+ {
+ return this._chestIdx != null;
+ }
+ set
+ {
+ bool flag = value == (this._chestIdx == null);
+ if (flag)
+ {
+ this._chestIdx = (value ? new uint?(this.chestIdx) : null);
+ }
+ }
+ }
+
+ private uint? _chestIdx;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializechestIdx()
+ {
+ return this.chestIdxSpecified;
+ }
+
+ private void ResetchestIdx()
+ {
+ this.chestIdxSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|