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