From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Scripts/XMainClient/XMystShopDocument.cs | 76 ++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/XMystShopDocument.cs (limited to 'Client/Assets/Scripts/XMainClient/XMystShopDocument.cs') 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 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.singleton.XHash("MystShopDocument"); + + private List m_goodsList = new List(); + + private XMystShopView _view = null; + + private uint refreshTimer = 0u; + + private uint _refreshCost = 0u; + + public override void OnDetachFromHost() + { + base.OnDetachFromHost(); + XSingleton.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) + { + } + } +} -- cgit v1.1-26-g67d0