|
@@ -568,14 +568,14 @@ namespace GFGGame
|
|
{
|
|
{
|
|
if (response.Error == ErrorCode.ERR_Success)
|
|
if (response.Error == ErrorCode.ERR_Success)
|
|
{
|
|
{
|
|
- if (response.Contribution > 0)
|
|
|
|
|
|
+ if (response.CoinCount > 0)
|
|
{
|
|
{
|
|
- PromptController.Instance.ShowFloatTextPrompt($"获得贡献*{response.Contribution}", MessageType.SUCCESS);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- if (response.Coin > 0)
|
|
|
|
- {
|
|
|
|
- PromptController.Instance.ShowFloatTextPrompt($"获得雅集资金*{response.Coin}", MessageType.SUCCESS);
|
|
|
|
|
|
+ ItemCfg itemCfg = ItemCfgArray.Instance.GetCfg(response.ItemConfigId);
|
|
|
|
+ if (itemCfg != null)
|
|
|
|
+ {
|
|
|
|
+ PromptController.Instance.ShowFloatTextPrompt($"获得{itemCfg.name}*{response.CoinCount}",
|
|
|
|
+ MessageType.SUCCESS);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
foreach (ItemInfoProto itemInfoProto in response.Bonus)
|
|
foreach (ItemInfoProto itemInfoProto in response.Bonus)
|