|
@@ -568,7 +568,23 @@ namespace GFGGame
|
|
|
{
|
|
|
if (response.Error == ErrorCode.ERR_Success)
|
|
|
{
|
|
|
- PromptController.Instance.ShowFloatTextPrompt("祈福完成");
|
|
|
+ if (response.Contribution > 0)
|
|
|
+ {
|
|
|
+ PromptController.Instance.ShowFloatTextPrompt($"获得贡献*{response.Contribution}", MessageType.SUCCESS);
|
|
|
+ }
|
|
|
+
|
|
|
+ if (response.Coin > 0)
|
|
|
+ {
|
|
|
+ PromptController.Instance.ShowFloatTextPrompt($"获得雅集资金*{response.Coin}", MessageType.SUCCESS);
|
|
|
+ }
|
|
|
+
|
|
|
+ foreach (ItemInfoProto itemInfoProto in response.Bonus)
|
|
|
+ {
|
|
|
+ ItemCfg itemCfg = ItemCfgArray.Instance.GetCfg(itemInfoProto.ConfigId);
|
|
|
+ if (itemCfg == null) continue;
|
|
|
+
|
|
|
+ PromptController.Instance.ShowFloatTextPrompt($"获得{itemCfg.name}*{itemInfoProto.Count}", MessageType.SUCCESS);
|
|
|
+ }
|
|
|
EventAgent.DispatchEvent(ConstMessage.RED_CHANGE);
|
|
|
return true;
|
|
|
}
|