summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/DragonGuildMemberArg.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/DragonGuildMemberArg.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/DragonGuildMemberArg.cs62
1 files changed, 62 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/DragonGuildMemberArg.cs b/Client/Assets/Scripts/XMainClient/KKSG/DragonGuildMemberArg.cs
new file mode 100644
index 00000000..b151ffdb
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/DragonGuildMemberArg.cs
@@ -0,0 +1,62 @@
+using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "DragonGuildMemberArg")]
+ [Serializable]
+ public class DragonGuildMemberArg : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "guildId", DataFormat = DataFormat.TwosComplement)]
+ public ulong guildId
+ {
+ get
+ {
+ return this._guildId ?? 0UL;
+ }
+ set
+ {
+ this._guildId = new ulong?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool guildIdSpecified
+ {
+ get
+ {
+ return this._guildId != null;
+ }
+ set
+ {
+ bool flag = value == (this._guildId == null);
+ if (flag)
+ {
+ this._guildId = (value ? new ulong?(this.guildId) : null);
+ }
+ }
+ }
+
+ private ulong? _guildId;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeguildId()
+ {
+ return this.guildIdSpecified;
+ }
+
+ private void ResetguildId()
+ {
+ this.guildIdSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}