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/XItemDrawerParam.cs | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/XItemDrawerParam.cs (limited to 'Client/Assets/Scripts/XMainClient/XItemDrawerParam.cs') diff --git a/Client/Assets/Scripts/XMainClient/XItemDrawerParam.cs b/Client/Assets/Scripts/XMainClient/XItemDrawerParam.cs new file mode 100644 index 00000000..87d9142c --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/XItemDrawerParam.cs @@ -0,0 +1,44 @@ +using System; +using UnityEngine; + +namespace XMainClient +{ + internal class XItemDrawerParam + { + public static uint DefaultProfession = 0u; + + public uint Profession = 0u; + + public uint IconType = 0u; + + public bool bShowLevelReq = true; + + public bool bShowProfReq = true; + + public bool bBinding = false; + + public int MaxItemCount = -1; + + public Color? NumColor = null; + + public bool bHideBinding; + + public bool bShowMask; + + public int MaxShowNum = -1; + + public void Reset() + { + this.Profession = XItemDrawerParam.DefaultProfession; + this.IconType = 0u; + this.bShowLevelReq = true; + this.bShowProfReq = true; + this.bBinding = false; + this.MaxItemCount = -1; + this.NumColor = null; + this.bHideBinding = false; + this.bShowMask = false; + this.MaxShowNum = -1; + } + } +} -- cgit v1.1-26-g67d0