15 lines
386 B
C#
15 lines
386 B
C#
using asap.core;
|
|
using cfg;
|
|
|
|
// 伙伴建造-礼包
|
|
namespace Assets.Scripts.UI.OfferSweep
|
|
{
|
|
public class EventPartnerGatherStrategy : IEventStrategy
|
|
{
|
|
public int GetSweepPackId(int redirectId)
|
|
{
|
|
var tp = GContext.container.Resolve<Tables>().TbEventPartnerMineMain.GetOrDefault(redirectId);
|
|
return tp?.SweepPackId ?? 0;
|
|
}
|
|
}
|
|
} |