10318 子 【英文】上线测试检查 / 【英文】【越南】【BT】【砍树】统一增加奖励获得封包 - 天道树
| | |
| | | {
|
| | | if (model.TryAutoHaveAward(out List<Item> awardList) && !awardList.IsNullOrEmpty())
|
| | | {
|
| | | ItemLogicUtility.Instance.ShowGetItem(awardList, "", 5);
|
| | | //ItemLogicUtility.Instance.ShowGetItem(awardList, "", 5);
|
| | | }
|
| | | }
|
| | | else
|
| | |
| | |
|
| | | public void ReceiveAwardNotify(HA801_tagMCGiveAwardInfo netPack)
|
| | | {
|
| | | if (WindowCenter.Instance.IsOpen<StoreWin>() || WindowCenter.Instance.IsOpen<ActStoreWin>()
|
| | | || WindowCenter.Instance.IsOpen<BagStoreWin>() || WindowCenter.Instance.IsOpen<CrossServerOneVsOneHonorStoreWin>()
|
| | | || WindowCenter.Instance.IsOpen<UnionStoreWin>() || WindowCenter.Instance.IsOpen<XBStoreWin>())
|
| | | {
|
| | | return;
|
| | | }
|
| | |
|
| | | var eventName = UIHelper.ServerStringTrim(netPack.EventName);
|
| | | if (!commonShowAwardEvents.Contains(eventName))
|
| | | return;
|