22 lines
874 B
C#
22 lines
874 B
C#
using System.Collections.Generic;
|
||
using cfg;
|
||
using game;
|
||
using GameCore;
|
||
|
||
namespace OrderManager
|
||
{
|
||
public interface IOrderReplenishment
|
||
{
|
||
/// <summary>
|
||
/// 需要考虑:1.活动期间,活动没开,补进度没意义
|
||
/// 2.连续购买同一个礼包,连续失败触发补单,进度只补一次,其他次奖励走保底
|
||
/// 3.上一期的购买失败,在下一期开时才触发补单需判断 EVENT ID
|
||
/// </summary>
|
||
/// <param name="buyType"></param>
|
||
/// <param name="iAPItemList"></param>
|
||
/// <param name="itemDataGift"></param>
|
||
/// <param name="rewardShowType"></param>
|
||
/// <param name="voucher"></param>
|
||
void OnReplenish(ShopBuyTypeData buyType, IAPItemList iAPItemList, List<ItemData> itemDataGift, RewardType rewardShowType, bool voucher = false);
|
||
}
|
||
} |