summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/CreateOrJoinDragonGuildArg.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/CreateOrJoinDragonGuildArg.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/CreateOrJoinDragonGuildArg.cs148
1 files changed, 148 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/CreateOrJoinDragonGuildArg.cs b/Client/Assets/Scripts/XMainClient/KKSG/CreateOrJoinDragonGuildArg.cs
new file mode 100644
index 00000000..d13f6c00
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/CreateOrJoinDragonGuildArg.cs
@@ -0,0 +1,148 @@
+using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "CreateOrJoinDragonGuildArg")]
+ [Serializable]
+ public class CreateOrJoinDragonGuildArg : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "iscreate", DataFormat = DataFormat.Default)]
+ public bool iscreate
+ {
+ get
+ {
+ return this._iscreate ?? false;
+ }
+ set
+ {
+ this._iscreate = new bool?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool iscreateSpecified
+ {
+ get
+ {
+ return this._iscreate != null;
+ }
+ set
+ {
+ bool flag = value == (this._iscreate == null);
+ if (flag)
+ {
+ this._iscreate = (value ? new bool?(this.iscreate) : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "dgid", DataFormat = DataFormat.TwosComplement)]
+ public ulong dgid
+ {
+ get
+ {
+ return this._dgid ?? 0UL;
+ }
+ set
+ {
+ this._dgid = new ulong?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool dgidSpecified
+ {
+ get
+ {
+ return this._dgid != null;
+ }
+ set
+ {
+ bool flag = value == (this._dgid == null);
+ if (flag)
+ {
+ this._dgid = (value ? new ulong?(this.dgid) : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "dgname", DataFormat = DataFormat.Default)]
+ public string dgname
+ {
+ get
+ {
+ return this._dgname ?? "";
+ }
+ set
+ {
+ this._dgname = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool dgnameSpecified
+ {
+ get
+ {
+ return this._dgname != null;
+ }
+ set
+ {
+ bool flag = value == (this._dgname == null);
+ if (flag)
+ {
+ this._dgname = (value ? this.dgname : null);
+ }
+ }
+ }
+
+ private bool? _iscreate;
+
+ private ulong? _dgid;
+
+ private string _dgname;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeiscreate()
+ {
+ return this.iscreateSpecified;
+ }
+
+ private void Resetiscreate()
+ {
+ this.iscreateSpecified = false;
+ }
+
+ private bool ShouldSerializedgid()
+ {
+ return this.dgidSpecified;
+ }
+
+ private void Resetdgid()
+ {
+ this.dgidSpecified = false;
+ }
+
+ private bool ShouldSerializedgname()
+ {
+ return this.dgnameSpecified;
+ }
+
+ private void Resetdgname()
+ {
+ this.dgnameSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}