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