using System; using Sog; using ProtoCSStruct; namespace Game { public static class MarketShopEvent { public static void OnPlayerOnline(PlayerOnGame player) { MarketShopSvc.RefreshAllShop(player, false); MarketShopSvc.ResetShopHeadTimes(player); } public static void OnSystemUnlock(PlayerOnGame player,int id) { MarketShopSvc.RefreshAllShop(player, true); } public static void OnPlayerLevelUp(PlayerOnGame player) { MarketShopSvc.RefreshAllShop(player, true); } public static void OnTick(PlayerOnGame player,long now) { //【优化】【兑换商店】修改商店刷新规则 去掉自动刷新 MarketShopSvc.AutoRefreshAllShop(player, now); } } }