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/XMystShopDocument.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/XMystShopDocument.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/XMystShopDocument.cs | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/XMystShopDocument.cs b/Client/Assets/Scripts/XMainClient/XMystShopDocument.cs new file mode 100644 index 00000000..5cc0fcca --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/XMystShopDocument.cs @@ -0,0 +1,76 @@ +using System;
+using System.Collections.Generic;
+using KKSG;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class XMystShopDocument : XDocComponent
+ {
+ public override uint ID
+ {
+ get
+ {
+ return XMystShopDocument.uuID;
+ }
+ }
+
+ public List<XMystShopGoods> GoodsList
+ {
+ get
+ {
+ return this.m_goodsList;
+ }
+ }
+
+ public XMystShopView View
+ {
+ get
+ {
+ return this._view;
+ }
+ set
+ {
+ this._view = value;
+ }
+ }
+
+ public uint refreshCost
+ {
+ get
+ {
+ return this._refreshCost;
+ }
+ }
+
+ public new static readonly uint uuID = XSingleton<XCommon>.singleton.XHash("MystShopDocument");
+
+ private List<XMystShopGoods> m_goodsList = new List<XMystShopGoods>();
+
+ private XMystShopView _view = null;
+
+ private uint refreshTimer = 0u;
+
+ private uint _refreshCost = 0u;
+
+ public override void OnDetachFromHost()
+ {
+ base.OnDetachFromHost();
+ XSingleton<XTimerMgr>.singleton.KillTimer(this.refreshTimer);
+ this.refreshTimer = 0u;
+ }
+
+ public void ReqOperateMystShop(MythShopOP operation, int index = 0)
+ {
+ }
+
+ private void _QueryMythShop(object o = null)
+ {
+ this.ReqOperateMystShop(MythShopOP.MythShopQuery, 0);
+ }
+
+ protected override void OnReconnected(XReconnectedEventArgs arg)
+ {
+ }
+ }
+}
|