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

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;
}
}
}