添加 ShopForm 下的 StatForm,展示玩家属性
This commit is contained in:
@@ -144,6 +144,12 @@ namespace SepCore.UI
|
||||
Context.NeedRefreshPropList = true;
|
||||
}
|
||||
|
||||
if (result.StatRawData != null)
|
||||
{
|
||||
Context.StatContext = BuildStatContext(result.StatRawData);
|
||||
Context.NeedRefreshStat = true;
|
||||
}
|
||||
|
||||
Context.NeedRefreshGoodsItems = true;
|
||||
RefreshUI(Form, Context);
|
||||
}
|
||||
@@ -243,6 +249,8 @@ namespace SepCore.UI
|
||||
Context.WeaponListContext.CurrentCount = currentCount;
|
||||
|
||||
Context.NeedRefreshWeaponList = true;
|
||||
Context.StatContext = BuildStatContext(_useCase.CreateStatRawData());
|
||||
Context.NeedRefreshStat = true;
|
||||
RefreshUI(Form, Context);
|
||||
GameEntry.UIRouter.CloseUIAsync(UIFormType.ItemTooltipForm).Forget();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user