You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
836 B

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