diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/AtlasUpStarRes.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/AtlasUpStarRes.cs | 148 |
1 files changed, 148 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/AtlasUpStarRes.cs b/Client/Assets/Scripts/XMainClient/KKSG/AtlasUpStarRes.cs new file mode 100644 index 00000000..0b50b9f6 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/AtlasUpStarRes.cs @@ -0,0 +1,148 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "AtlasUpStarRes")]
+ [Serializable]
+ public class AtlasUpStarRes : 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);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "groupid", DataFormat = DataFormat.TwosComplement)]
+ public uint groupid
+ {
+ get
+ {
+ return this._groupid ?? 0u;
+ }
+ set
+ {
+ this._groupid = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool groupidSpecified
+ {
+ get
+ {
+ return this._groupid != null;
+ }
+ set
+ {
+ bool flag = value == (this._groupid == null);
+ if (flag)
+ {
+ this._groupid = (value ? new uint?(this.groupid) : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "star", DataFormat = DataFormat.TwosComplement)]
+ public uint star
+ {
+ get
+ {
+ return this._star ?? 0u;
+ }
+ set
+ {
+ this._star = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool starSpecified
+ {
+ get
+ {
+ return this._star != null;
+ }
+ set
+ {
+ bool flag = value == (this._star == null);
+ if (flag)
+ {
+ this._star = (value ? new uint?(this.star) : null);
+ }
+ }
+ }
+
+ private ErrorCode? _errorcode;
+
+ private uint? _groupid;
+
+ private uint? _star;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeerrorcode()
+ {
+ return this.errorcodeSpecified;
+ }
+
+ private void Reseterrorcode()
+ {
+ this.errorcodeSpecified = false;
+ }
+
+ private bool ShouldSerializegroupid()
+ {
+ return this.groupidSpecified;
+ }
+
+ private void Resetgroupid()
+ {
+ this.groupidSpecified = false;
+ }
+
+ private bool ShouldSerializestar()
+ {
+ return this.starSpecified;
+ }
+
+ private void Resetstar()
+ {
+ this.starSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|