2024-03-20 19:58:18 +08:00
|
|
|
using Framework;
|
2024-07-03 14:07:54 +08:00
|
|
|
using Gameplay.Guide;
|
2024-03-20 19:58:18 +08:00
|
|
|
public partial class TeamManager
|
|
|
|
|
{
|
2024-05-21 14:46:37 +08:00
|
|
|
private UIWindow _curFightPosterUI;
|
2024-03-20 19:58:18 +08:00
|
|
|
public async void OpenFightPosterUI(uint uid)
|
|
|
|
|
{
|
2024-03-28 16:13:10 +08:00
|
|
|
if (GetSingleCharacByUid(uid).Type != SingleTeamCharacterInfo.CharacType.Hero)
|
|
|
|
|
{
|
|
|
|
|
return;
|
|
|
|
|
}
|
2024-05-21 14:46:37 +08:00
|
|
|
|
|
|
|
|
if (_curFightPosterUI == null)
|
|
|
|
|
{
|
|
|
|
|
_curFightPosterUI = await UIPosterAndSkillInfoController.Open(uid);
|
|
|
|
|
}
|
2024-03-20 19:58:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void CloseFightPosterUI()
|
|
|
|
|
{
|
|
|
|
|
UIManager.Instance.CloseWindow(UINameConst.UIFightPoster);
|
2024-05-21 14:46:37 +08:00
|
|
|
_curFightPosterUI = null;
|
2024-03-20 19:58:18 +08:00
|
|
|
}
|
|
|
|
|
}
|