diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/UpLoadAudioRes.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/UpLoadAudioRes.cs | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/UpLoadAudioRes.cs b/Client/Assets/Scripts/XMainClient/KKSG/UpLoadAudioRes.cs new file mode 100644 index 00000000..cd37fea9 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/UpLoadAudioRes.cs @@ -0,0 +1,105 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "UpLoadAudioRes")]
+ [Serializable]
+ public class UpLoadAudioRes : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "result", DataFormat = DataFormat.TwosComplement)]
+ public ErrorCode result
+ {
+ get
+ {
+ return this._result ?? ErrorCode.ERR_SUCCESS;
+ }
+ set
+ {
+ this._result = new ErrorCode?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool resultSpecified
+ {
+ get
+ {
+ return this._result != null;
+ }
+ set
+ {
+ bool flag = value == (this._result == null);
+ if (flag)
+ {
+ this._result = (value ? new ErrorCode?(this.result) : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "audiodownuid", DataFormat = DataFormat.TwosComplement)]
+ public ulong audiodownuid
+ {
+ get
+ {
+ return this._audiodownuid ?? 0UL;
+ }
+ set
+ {
+ this._audiodownuid = new ulong?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool audiodownuidSpecified
+ {
+ get
+ {
+ return this._audiodownuid != null;
+ }
+ set
+ {
+ bool flag = value == (this._audiodownuid == null);
+ if (flag)
+ {
+ this._audiodownuid = (value ? new ulong?(this.audiodownuid) : null);
+ }
+ }
+ }
+
+ private ErrorCode? _result;
+
+ private ulong? _audiodownuid;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeresult()
+ {
+ return this.resultSpecified;
+ }
+
+ private void Resetresult()
+ {
+ this.resultSpecified = false;
+ }
+
+ private bool ShouldSerializeaudiodownuid()
+ {
+ return this.audiodownuidSpecified;
+ }
+
+ private void Resetaudiodownuid()
+ {
+ this.audiodownuidSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|