diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/ArenaStarHistData.cs')
| -rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/ArenaStarHistData.cs | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/ArenaStarHistData.cs b/Client/Assets/Scripts/XMainClient/KKSG/ArenaStarHistData.cs new file mode 100644 index 00000000..a47407a5 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/ArenaStarHistData.cs @@ -0,0 +1,117 @@ +using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "ArenaStarHistData")]
+ [Serializable]
+ public class ArenaStarHistData : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "rankOneNum", DataFormat = DataFormat.TwosComplement)]
+ public uint rankOneNum
+ {
+ get
+ {
+ return this._rankOneNum ?? 0u;
+ }
+ set
+ {
+ this._rankOneNum = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool rankOneNumSpecified
+ {
+ get
+ {
+ return this._rankOneNum != null;
+ }
+ set
+ {
+ bool flag = value == (this._rankOneNum == null);
+ if (flag)
+ {
+ this._rankOneNum = (value ? new uint?(this.rankOneNum) : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "rankTenNum", DataFormat = DataFormat.TwosComplement)]
+ public uint rankTenNum
+ {
+ get
+ {
+ return this._rankTenNum ?? 0u;
+ }
+ set
+ {
+ this._rankTenNum = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool rankTenNumSpecified
+ {
+ get
+ {
+ return this._rankTenNum != null;
+ }
+ set
+ {
+ bool flag = value == (this._rankTenNum == null);
+ if (flag)
+ {
+ this._rankTenNum = (value ? new uint?(this.rankTenNum) : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, Name = "rankRecent", DataFormat = DataFormat.Default)]
+ public List<RankOnce> rankRecent
+ {
+ get
+ {
+ return this._rankRecent;
+ }
+ }
+
+ private uint? _rankOneNum;
+
+ private uint? _rankTenNum;
+
+ private readonly List<RankOnce> _rankRecent = new List<RankOnce>();
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializerankOneNum()
+ {
+ return this.rankOneNumSpecified;
+ }
+
+ private void ResetrankOneNum()
+ {
+ this.rankOneNumSpecified = false;
+ }
+
+ private bool ShouldSerializerankTenNum()
+ {
+ return this.rankTenNumSpecified;
+ }
+
+ private void ResetrankTenNum()
+ {
+ this.rankTenNumSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|
