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