diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/HellDropInfoAll.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/HellDropInfoAll.cs | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/HellDropInfoAll.cs b/Client/Assets/Scripts/XMainClient/KKSG/HellDropInfoAll.cs new file mode 100644 index 00000000..0b9a8d9d --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/HellDropInfoAll.cs @@ -0,0 +1,74 @@ +using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "HellDropInfoAll")]
+ [Serializable]
+ public class HellDropInfoAll : IExtensible
+ {
+ [ProtoMember(1, Name = "all", DataFormat = DataFormat.Default)]
+ public List<HellDropInfo> all
+ {
+ get
+ {
+ return this._all;
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "version", DataFormat = DataFormat.TwosComplement)]
+ public uint version
+ {
+ get
+ {
+ return this._version ?? 0u;
+ }
+ set
+ {
+ this._version = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool versionSpecified
+ {
+ get
+ {
+ return this._version != null;
+ }
+ set
+ {
+ bool flag = value == (this._version == null);
+ if (flag)
+ {
+ this._version = (value ? new uint?(this.version) : null);
+ }
+ }
+ }
+
+ private readonly List<HellDropInfo> _all = new List<HellDropInfo>();
+
+ private uint? _version;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeversion()
+ {
+ return this.versionSpecified;
+ }
+
+ private void Resetversion()
+ {
+ this.versionSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|