summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XItemDrawerParam.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/XItemDrawerParam.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/XItemDrawerParam.cs44
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;
+ }
+ }
+}