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