summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/RoleOutLookBrief.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/RoleOutLookBrief.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/RoleOutLookBrief.cs348
1 files changed, 348 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/RoleOutLookBrief.cs b/Client/Assets/Scripts/XMainClient/KKSG/RoleOutLookBrief.cs
new file mode 100644
index 00000000..d56a3255
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/RoleOutLookBrief.cs
@@ -0,0 +1,348 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "RoleOutLookBrief")]
+ [Serializable]
+ public class RoleOutLookBrief : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "roleid", DataFormat = DataFormat.TwosComplement)]
+ public ulong roleid
+ {
+ get
+ {
+ return this._roleid ?? 0UL;
+ }
+ set
+ {
+ this._roleid = new ulong?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool roleidSpecified
+ {
+ get
+ {
+ return this._roleid != null;
+ }
+ set
+ {
+ bool flag = value == (this._roleid == null);
+ if (flag)
+ {
+ this._roleid = (value ? new ulong?(this.roleid) : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "profession", DataFormat = DataFormat.TwosComplement)]
+ public RoleType profession
+ {
+ get
+ {
+ return this._profession ?? RoleType.Role_INVALID;
+ }
+ set
+ {
+ this._profession = new RoleType?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool professionSpecified
+ {
+ get
+ {
+ return this._profession != null;
+ }
+ set
+ {
+ bool flag = value == (this._profession == null);
+ if (flag)
+ {
+ this._profession = (value ? new RoleType?(this.profession) : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "name", DataFormat = DataFormat.Default)]
+ public string name
+ {
+ get
+ {
+ return this._name ?? "";
+ }
+ set
+ {
+ this._name = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool nameSpecified
+ {
+ get
+ {
+ return this._name != null;
+ }
+ set
+ {
+ bool flag = value == (this._name == null);
+ if (flag)
+ {
+ this._name = (value ? this.name : null);
+ }
+ }
+ }
+
+ [ProtoMember(4, IsRequired = false, Name = "level", DataFormat = DataFormat.TwosComplement)]
+ public uint level
+ {
+ get
+ {
+ return this._level ?? 0u;
+ }
+ set
+ {
+ this._level = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool levelSpecified
+ {
+ get
+ {
+ return this._level != null;
+ }
+ set
+ {
+ bool flag = value == (this._level == null);
+ if (flag)
+ {
+ this._level = (value ? new uint?(this.level) : null);
+ }
+ }
+ }
+
+ [ProtoMember(5, IsRequired = false, Name = "ppt", DataFormat = DataFormat.TwosComplement)]
+ public uint ppt
+ {
+ get
+ {
+ return this._ppt ?? 0u;
+ }
+ set
+ {
+ this._ppt = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool pptSpecified
+ {
+ get
+ {
+ return this._ppt != null;
+ }
+ set
+ {
+ bool flag = value == (this._ppt == null);
+ if (flag)
+ {
+ this._ppt = (value ? new uint?(this.ppt) : null);
+ }
+ }
+ }
+
+ [ProtoMember(6, Name = "fashion", DataFormat = DataFormat.TwosComplement)]
+ public List<uint> fashion
+ {
+ get
+ {
+ return this._fashion;
+ }
+ }
+
+ [ProtoMember(7, IsRequired = false, Name = "outlook", DataFormat = DataFormat.Default)]
+ [DefaultValue(null)]
+ public OutLook outlook
+ {
+ get
+ {
+ return this._outlook;
+ }
+ set
+ {
+ this._outlook = value;
+ }
+ }
+
+ [ProtoMember(8, IsRequired = false, Name = "viplevel", DataFormat = DataFormat.TwosComplement)]
+ public uint viplevel
+ {
+ get
+ {
+ return this._viplevel ?? 0u;
+ }
+ set
+ {
+ this._viplevel = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool viplevelSpecified
+ {
+ get
+ {
+ return this._viplevel != null;
+ }
+ set
+ {
+ bool flag = value == (this._viplevel == null);
+ if (flag)
+ {
+ this._viplevel = (value ? new uint?(this.viplevel) : null);
+ }
+ }
+ }
+
+ [ProtoMember(9, IsRequired = false, Name = "paymemberid", DataFormat = DataFormat.TwosComplement)]
+ public uint paymemberid
+ {
+ get
+ {
+ return this._paymemberid ?? 0u;
+ }
+ set
+ {
+ this._paymemberid = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool paymemberidSpecified
+ {
+ get
+ {
+ return this._paymemberid != null;
+ }
+ set
+ {
+ bool flag = value == (this._paymemberid == null);
+ if (flag)
+ {
+ this._paymemberid = (value ? new uint?(this.paymemberid) : null);
+ }
+ }
+ }
+
+ private ulong? _roleid;
+
+ private RoleType? _profession;
+
+ private string _name;
+
+ private uint? _level;
+
+ private uint? _ppt;
+
+ private readonly List<uint> _fashion = new List<uint>();
+
+ private OutLook _outlook = null;
+
+ private uint? _viplevel;
+
+ private uint? _paymemberid;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeroleid()
+ {
+ return this.roleidSpecified;
+ }
+
+ private void Resetroleid()
+ {
+ this.roleidSpecified = false;
+ }
+
+ private bool ShouldSerializeprofession()
+ {
+ return this.professionSpecified;
+ }
+
+ private void Resetprofession()
+ {
+ this.professionSpecified = false;
+ }
+
+ private bool ShouldSerializename()
+ {
+ return this.nameSpecified;
+ }
+
+ private void Resetname()
+ {
+ this.nameSpecified = false;
+ }
+
+ private bool ShouldSerializelevel()
+ {
+ return this.levelSpecified;
+ }
+
+ private void Resetlevel()
+ {
+ this.levelSpecified = false;
+ }
+
+ private bool ShouldSerializeppt()
+ {
+ return this.pptSpecified;
+ }
+
+ private void Resetppt()
+ {
+ this.pptSpecified = false;
+ }
+
+ private bool ShouldSerializeviplevel()
+ {
+ return this.viplevelSpecified;
+ }
+
+ private void Resetviplevel()
+ {
+ this.viplevelSpecified = false;
+ }
+
+ private bool ShouldSerializepaymemberid()
+ {
+ return this.paymemberidSpecified;
+ }
+
+ private void Resetpaymemberid()
+ {
+ this.paymemberidSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}