summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/ChooseRollReqArg.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/ChooseRollReqArg.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/ChooseRollReqArg.cs78
1 files changed, 78 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/ChooseRollReqArg.cs b/Client/Assets/Scripts/XMainClient/KKSG/ChooseRollReqArg.cs
new file mode 100644
index 00000000..2ba44508
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/ChooseRollReqArg.cs
@@ -0,0 +1,78 @@
+using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "ChooseRollReqArg")]
+ [Serializable]
+ public class ChooseRollReqArg : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "chooseType", DataFormat = DataFormat.TwosComplement)]
+ public int chooseType
+ {
+ get
+ {
+ return this._chooseType ?? 0;
+ }
+ set
+ {
+ this._chooseType = new int?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool chooseTypeSpecified
+ {
+ get
+ {
+ return this._chooseType != null;
+ }
+ set
+ {
+ bool flag = value == (this._chooseType == null);
+ if (flag)
+ {
+ this._chooseType = (value ? new int?(this.chooseType) : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "info", DataFormat = DataFormat.Default)]
+ [DefaultValue(null)]
+ public EnemyDoodadInfo info
+ {
+ get
+ {
+ return this._info;
+ }
+ set
+ {
+ this._info = value;
+ }
+ }
+
+ private int? _chooseType;
+
+ private EnemyDoodadInfo _info = null;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializechooseType()
+ {
+ return this.chooseTypeSpecified;
+ }
+
+ private void ResetchooseType()
+ {
+ this.chooseTypeSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}