using asap.core; using cfg; namespace Assets.Scripts.UI.OfferSweep { public class EventPinballStrategy : IEventStrategy { public int GetSweepPackId(int redirectId) { var pinball = GContext.container.Resolve().TbEventPinballMain.GetOrDefault(redirectId); return pinball?.SweepPackId ?? 0; } } }