summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/Utility/XartifactDescription.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/Utility/XartifactDescription.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/Utility/XartifactDescription.cs34
1 files changed, 34 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/Utility/XartifactDescription.cs b/Client/Assets/Scripts/XMainClient/Utility/XartifactDescription.cs
new file mode 100644
index 00000000..e577f367
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/Utility/XartifactDescription.cs
@@ -0,0 +1,34 @@
+using System;
+using XMainClient.UI;
+using XMainClient.UI.UICommon;
+using XUtliPoolLib;
+
+namespace XMainClient.Utility
+{
+ internal class XartifactDescription : IXItemDescription
+ {
+ public XItemDrawer ItemDrawer
+ {
+ get
+ {
+ return XSingleton<XItemDrawerMgr>.singleton.normalItemDrawer;
+ }
+ }
+
+ public XBodyBag BodyBag
+ {
+ get
+ {
+ return XSingleton<XGame>.singleton.Doc.XBagDoc.ArtifactBag;
+ }
+ }
+
+ public ITooltipDlg TooltipDlg
+ {
+ get
+ {
+ return DlgBase<ArtifactToolTipDlg, ArtifactTooltipDlgBehaviour>.singleton;
+ }
+ }
+ }
+}