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