Files
ft/Client/Assets/Scripts/UI/OfferSweep/EventSrategy/EventPinballStrategy.cs
2026-06-29 21:18:33 +08:00

14 lines
362 B
C#

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