18 lines
559 B
C#
18 lines
559 B
C#
using Activity;
|
|
using cfg;
|
|
using asap.core;
|
|
|
|
namespace EventSmash.Manager
|
|
{
|
|
[ActivitySentry(7, 7)]
|
|
public class EventSmashSentry : AActivitySentry<EventSmashManager, EventSmashData>
|
|
{
|
|
protected override void OnEventActive(FishingEvent fishingEvent)
|
|
{
|
|
var manager = ResolveManager();
|
|
var data = manager.LoadData();
|
|
GContext.container.Resolve<MiniBattlePassDataProvider>().EventRefresh(fishingEvent, data.MainConfig.BattlePassId);
|
|
base.OnEventActive(fishingEvent);
|
|
}
|
|
}
|
|
} |