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/XForgeAttrInfo.cs | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/XForgeAttrInfo.cs (limited to 'Client/Assets/Scripts/XMainClient/XForgeAttrInfo.cs') 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 ForgeAttr; + + public void Init() + { + this.bPreview = false; + this.UnSavedAttrid = 0u; + this.UnSavedAttrValue = 0u; + bool flag = this.ForgeAttr == null; + if (flag) + { + this.ForgeAttr = new List(); + } + else + { + this.ForgeAttr.Clear(); + } + } + } +} -- cgit v1.1-26-g67d0