summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/PayAwardRecord.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/PayAwardRecord.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/PayAwardRecord.cs105
1 files changed, 105 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/PayAwardRecord.cs b/Client/Assets/Scripts/XMainClient/KKSG/PayAwardRecord.cs
new file mode 100644
index 00000000..f925c727
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/PayAwardRecord.cs
@@ -0,0 +1,105 @@
+using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "PayAwardRecord")]
+ [Serializable]
+ public class PayAwardRecord : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "id", DataFormat = DataFormat.TwosComplement)]
+ public int id
+ {
+ get
+ {
+ return this._id ?? 0;
+ }
+ set
+ {
+ this._id = new int?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool idSpecified
+ {
+ get
+ {
+ return this._id != null;
+ }
+ set
+ {
+ bool flag = value == (this._id == null);
+ if (flag)
+ {
+ this._id = (value ? new int?(this.id) : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "lastGetAwardTime", DataFormat = DataFormat.TwosComplement)]
+ public uint lastGetAwardTime
+ {
+ get
+ {
+ return this._lastGetAwardTime ?? 0u;
+ }
+ set
+ {
+ this._lastGetAwardTime = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool lastGetAwardTimeSpecified
+ {
+ get
+ {
+ return this._lastGetAwardTime != null;
+ }
+ set
+ {
+ bool flag = value == (this._lastGetAwardTime == null);
+ if (flag)
+ {
+ this._lastGetAwardTime = (value ? new uint?(this.lastGetAwardTime) : null);
+ }
+ }
+ }
+
+ private int? _id;
+
+ private uint? _lastGetAwardTime;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeid()
+ {
+ return this.idSpecified;
+ }
+
+ private void Resetid()
+ {
+ this.idSpecified = false;
+ }
+
+ private bool ShouldSerializelastGetAwardTime()
+ {
+ return this.lastGetAwardTimeSpecified;
+ }
+
+ private void ResetlastGetAwardTime()
+ {
+ this.lastGetAwardTimeSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}