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) { } } }