diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/XForgeAttrInfo.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/XForgeAttrInfo.cs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/XForgeAttrInfo.cs b/Client/Assets/Scripts/XMainClient/XForgeAttrInfo.cs new file mode 100644 index 00000000..4ac0dc7c --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/XForgeAttrInfo.cs @@ -0,0 +1,32 @@ +using System;
+using System.Collections.Generic;
+
+namespace XMainClient
+{
+ internal struct XForgeAttrInfo
+ {
+ public bool bPreview;
+
+ public uint UnSavedAttrid;
+
+ public uint UnSavedAttrValue;
+
+ public List<XItemChangeAttr> ForgeAttr;
+
+ public void Init()
+ {
+ this.bPreview = false;
+ this.UnSavedAttrid = 0u;
+ this.UnSavedAttrValue = 0u;
+ bool flag = this.ForgeAttr == null;
+ if (flag)
+ {
+ this.ForgeAttr = new List<XItemChangeAttr>();
+ }
+ else
+ {
+ this.ForgeAttr.Clear();
+ }
+ }
+ }
+}
|