summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/GroupChatPlayerInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/GroupChatPlayerInfo.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/GroupChatPlayerInfo.cs406
1 files changed, 406 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/GroupChatPlayerInfo.cs b/Client/Assets/Scripts/XMainClient/KKSG/GroupChatPlayerInfo.cs
new file mode 100644
index 00000000..ae370980
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/GroupChatPlayerInfo.cs
@@ -0,0 +1,406 @@
+using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "GroupChatPlayerInfo")]
+ [Serializable]
+ public class GroupChatPlayerInfo : 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 = "rolename", DataFormat = DataFormat.Default)]
+ public string rolename
+ {
+ get
+ {
+ return this._rolename ?? "";
+ }
+ set
+ {
+ this._rolename = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool rolenameSpecified
+ {
+ get
+ {
+ return this._rolename != null;
+ }
+ set
+ {
+ bool flag = value == (this._rolename == null);
+ if (flag)
+ {
+ this._rolename = (value ? this.rolename : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "profession", DataFormat = DataFormat.TwosComplement)]
+ public uint profession
+ {
+ get
+ {
+ return this._profession ?? 0u;
+ }
+ set
+ {
+ this._profession = new uint?(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 uint?(this.profession) : null);
+ }
+ }
+ }
+
+ [ProtoMember(4, IsRequired = false, Name = "title", DataFormat = DataFormat.TwosComplement)]
+ public uint title
+ {
+ get
+ {
+ return this._title ?? 0u;
+ }
+ set
+ {
+ this._title = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool titleSpecified
+ {
+ get
+ {
+ return this._title != null;
+ }
+ set
+ {
+ bool flag = value == (this._title == null);
+ if (flag)
+ {
+ this._title = (value ? new uint?(this.title) : null);
+ }
+ }
+ }
+
+ [ProtoMember(5, 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(6, IsRequired = false, Name = "fighting", DataFormat = DataFormat.TwosComplement)]
+ public uint fighting
+ {
+ get
+ {
+ return this._fighting ?? 0u;
+ }
+ set
+ {
+ this._fighting = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool fightingSpecified
+ {
+ get
+ {
+ return this._fighting != null;
+ }
+ set
+ {
+ bool flag = value == (this._fighting == null);
+ if (flag)
+ {
+ this._fighting = (value ? new uint?(this.fighting) : null);
+ }
+ }
+ }
+
+ [ProtoMember(7, IsRequired = false, Name = "guild", DataFormat = DataFormat.Default)]
+ public string guild
+ {
+ get
+ {
+ return this._guild ?? "";
+ }
+ set
+ {
+ this._guild = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool guildSpecified
+ {
+ get
+ {
+ return this._guild != null;
+ }
+ set
+ {
+ bool flag = value == (this._guild == null);
+ if (flag)
+ {
+ this._guild = (value ? this.guild : null);
+ }
+ }
+ }
+
+ [ProtoMember(8, IsRequired = false, Name = "joingrouptime", DataFormat = DataFormat.TwosComplement)]
+ public uint joingrouptime
+ {
+ get
+ {
+ return this._joingrouptime ?? 0u;
+ }
+ set
+ {
+ this._joingrouptime = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool joingrouptimeSpecified
+ {
+ get
+ {
+ return this._joingrouptime != null;
+ }
+ set
+ {
+ bool flag = value == (this._joingrouptime == null);
+ if (flag)
+ {
+ this._joingrouptime = (value ? new uint?(this.joingrouptime) : null);
+ }
+ }
+ }
+
+ [ProtoMember(9, IsRequired = false, Name = "uid", DataFormat = DataFormat.TwosComplement)]
+ public uint uid
+ {
+ get
+ {
+ return this._uid ?? 0u;
+ }
+ set
+ {
+ this._uid = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool uidSpecified
+ {
+ get
+ {
+ return this._uid != null;
+ }
+ set
+ {
+ bool flag = value == (this._uid == null);
+ if (flag)
+ {
+ this._uid = (value ? new uint?(this.uid) : null);
+ }
+ }
+ }
+
+ private ulong? _roleid;
+
+ private string _rolename;
+
+ private uint? _profession;
+
+ private uint? _title;
+
+ private uint? _level;
+
+ private uint? _fighting;
+
+ private string _guild;
+
+ private uint? _joingrouptime;
+
+ private uint? _uid;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeroleid()
+ {
+ return this.roleidSpecified;
+ }
+
+ private void Resetroleid()
+ {
+ this.roleidSpecified = false;
+ }
+
+ private bool ShouldSerializerolename()
+ {
+ return this.rolenameSpecified;
+ }
+
+ private void Resetrolename()
+ {
+ this.rolenameSpecified = false;
+ }
+
+ private bool ShouldSerializeprofession()
+ {
+ return this.professionSpecified;
+ }
+
+ private void Resetprofession()
+ {
+ this.professionSpecified = false;
+ }
+
+ private bool ShouldSerializetitle()
+ {
+ return this.titleSpecified;
+ }
+
+ private void Resettitle()
+ {
+ this.titleSpecified = false;
+ }
+
+ private bool ShouldSerializelevel()
+ {
+ return this.levelSpecified;
+ }
+
+ private void Resetlevel()
+ {
+ this.levelSpecified = false;
+ }
+
+ private bool ShouldSerializefighting()
+ {
+ return this.fightingSpecified;
+ }
+
+ private void Resetfighting()
+ {
+ this.fightingSpecified = false;
+ }
+
+ private bool ShouldSerializeguild()
+ {
+ return this.guildSpecified;
+ }
+
+ private void Resetguild()
+ {
+ this.guildSpecified = false;
+ }
+
+ private bool ShouldSerializejoingrouptime()
+ {
+ return this.joingrouptimeSpecified;
+ }
+
+ private void Resetjoingrouptime()
+ {
+ this.joingrouptimeSpecified = false;
+ }
+
+ private bool ShouldSerializeuid()
+ {
+ return this.uidSpecified;
+ }
+
+ private void Resetuid()
+ {
+ this.uidSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}