From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Assets/Scripts/XMainClient/KKSG/atlasdata.cs | 105 +++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/KKSG/atlasdata.cs (limited to 'Client/Assets/Scripts/XMainClient/KKSG/atlasdata.cs') diff --git a/Client/Assets/Scripts/XMainClient/KKSG/atlasdata.cs b/Client/Assets/Scripts/XMainClient/KKSG/atlasdata.cs new file mode 100644 index 00000000..132c5c09 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/atlasdata.cs @@ -0,0 +1,105 @@ +using System; +using System.ComponentModel; +using System.Xml.Serialization; +using ProtoBuf; + +namespace KKSG +{ + [ProtoContract(Name = "atlasdata")] + [Serializable] + public class atlasdata : IExtensible + { + [ProtoMember(1, IsRequired = false, Name = "groupid", DataFormat = DataFormat.TwosComplement)] + public uint groupid + { + get + { + return this._groupid ?? 0u; + } + set + { + this._groupid = new uint?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool groupidSpecified + { + get + { + return this._groupid != null; + } + set + { + bool flag = value == (this._groupid == null); + if (flag) + { + this._groupid = (value ? new uint?(this.groupid) : null); + } + } + } + + [ProtoMember(2, IsRequired = false, Name = "finishid", DataFormat = DataFormat.TwosComplement)] + public uint finishid + { + get + { + return this._finishid ?? 0u; + } + set + { + this._finishid = new uint?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool finishidSpecified + { + get + { + return this._finishid != null; + } + set + { + bool flag = value == (this._finishid == null); + if (flag) + { + this._finishid = (value ? new uint?(this.finishid) : null); + } + } + } + + private uint? _groupid; + + private uint? _finishid; + + private IExtension extensionObject; + + private bool ShouldSerializegroupid() + { + return this.groupidSpecified; + } + + private void Resetgroupid() + { + this.groupidSpecified = false; + } + + private bool ShouldSerializefinishid() + { + return this.finishidSpecified; + } + + private void Resetfinishid() + { + this.finishidSpecified = false; + } + + IExtension IExtensible.GetExtensionObject(bool createIfMissing) + { + return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing); + } + } +} -- cgit v1.1-26-g67d0