From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Scripts/XMainClient/KKSG/FashionComposeArg.cs | 148 +++++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/KKSG/FashionComposeArg.cs (limited to 'Client/Assets/Scripts/XMainClient/KKSG/FashionComposeArg.cs') diff --git a/Client/Assets/Scripts/XMainClient/KKSG/FashionComposeArg.cs b/Client/Assets/Scripts/XMainClient/KKSG/FashionComposeArg.cs new file mode 100644 index 00000000..22095242 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/FashionComposeArg.cs @@ -0,0 +1,148 @@ +using System; +using System.ComponentModel; +using System.Xml.Serialization; +using ProtoBuf; + +namespace KKSG +{ + [ProtoContract(Name = "FashionComposeArg")] + [Serializable] + public class FashionComposeArg : IExtensible + { + [ProtoMember(1, IsRequired = false, Name = "fashion_id", DataFormat = DataFormat.TwosComplement)] + public uint fashion_id + { + get + { + return this._fashion_id ?? 0u; + } + set + { + this._fashion_id = new uint?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool fashion_idSpecified + { + get + { + return this._fashion_id != null; + } + set + { + bool flag = value == (this._fashion_id == null); + if (flag) + { + this._fashion_id = (value ? new uint?(this.fashion_id) : null); + } + } + } + + [ProtoMember(2, IsRequired = false, Name = "uid1", DataFormat = DataFormat.Default)] + public string uid1 + { + get + { + return this._uid1 ?? ""; + } + set + { + this._uid1 = value; + } + } + + [XmlIgnore] + [Browsable(false)] + public bool uid1Specified + { + get + { + return this._uid1 != null; + } + set + { + bool flag = value == (this._uid1 == null); + if (flag) + { + this._uid1 = (value ? this.uid1 : null); + } + } + } + + [ProtoMember(3, IsRequired = false, Name = "uid2", DataFormat = DataFormat.Default)] + public string uid2 + { + get + { + return this._uid2 ?? ""; + } + set + { + this._uid2 = value; + } + } + + [XmlIgnore] + [Browsable(false)] + public bool uid2Specified + { + get + { + return this._uid2 != null; + } + set + { + bool flag = value == (this._uid2 == null); + if (flag) + { + this._uid2 = (value ? this.uid2 : null); + } + } + } + + private uint? _fashion_id; + + private string _uid1; + + private string _uid2; + + private IExtension extensionObject; + + private bool ShouldSerializefashion_id() + { + return this.fashion_idSpecified; + } + + private void Resetfashion_id() + { + this.fashion_idSpecified = false; + } + + private bool ShouldSerializeuid1() + { + return this.uid1Specified; + } + + private void Resetuid1() + { + this.uid1Specified = false; + } + + private bool ShouldSerializeuid2() + { + return this.uid2Specified; + } + + private void Resetuid2() + { + this.uid2Specified = false; + } + + IExtension IExtensible.GetExtensionObject(bool createIfMissing) + { + return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing); + } + } +} -- cgit v1.1-26-g67d0