14 lines
358 B
C#
14 lines
358 B
C#
using asap.core;
|
|
using cfg;
|
|
|
|
namespace Assets.Scripts.UI.OfferSweep
|
|
{
|
|
public class PotionEventStrategy : IEventStrategy
|
|
{
|
|
public int GetSweepPackId(int redirectId)
|
|
{
|
|
var potion = GContext.container.Resolve<Tables>().TbEventPotionMain.GetOrDefault(redirectId);
|
|
return potion?.SweepPackId ?? 0;
|
|
}
|
|
}
|
|
} |