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