diff options
author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/XItemDrawerParam.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/XItemDrawerParam.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/XItemDrawerParam.cs | 44 |
1 files changed, 44 insertions, 0 deletions
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;
+ }
+ }
+}
|