diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/ReachAchieveNtf.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/ReachAchieveNtf.cs | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/ReachAchieveNtf.cs b/Client/Assets/Scripts/XMainClient/KKSG/ReachAchieveNtf.cs new file mode 100644 index 00000000..35c131ce --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/ReachAchieveNtf.cs @@ -0,0 +1,62 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "ReachAchieveNtf")]
+ [Serializable]
+ public class ReachAchieveNtf : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "achieveID", DataFormat = DataFormat.TwosComplement)]
+ public uint achieveID
+ {
+ get
+ {
+ return this._achieveID ?? 0u;
+ }
+ set
+ {
+ this._achieveID = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool achieveIDSpecified
+ {
+ get
+ {
+ return this._achieveID != null;
+ }
+ set
+ {
+ bool flag = value == (this._achieveID == null);
+ if (flag)
+ {
+ this._achieveID = (value ? new uint?(this.achieveID) : null);
+ }
+ }
+ }
+
+ private uint? _achieveID;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeachieveID()
+ {
+ return this.achieveIDSpecified;
+ }
+
+ private void ResetachieveID()
+ {
+ this.achieveIDSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|