24 lines
595 B
C#
24 lines
595 B
C#
using Framework;
|
|
using Gameplay.Guide;
|
|
public partial class TeamManager
|
|
{
|
|
private UIWindow _curFightPosterUI;
|
|
public async void OpenFightPosterUI(uint uid)
|
|
{
|
|
if (GetSingleCharacByUid(uid).Type != SingleTeamCharacterInfo.CharacType.Hero)
|
|
{
|
|
return;
|
|
}
|
|
|
|
if (_curFightPosterUI == null)
|
|
{
|
|
_curFightPosterUI = await UIPosterAndSkillInfoController.Open(uid);
|
|
}
|
|
}
|
|
|
|
public void CloseFightPosterUI()
|
|
{
|
|
UIManager.Instance.CloseWindow(UINameConst.UIFightPoster);
|
|
_curFightPosterUI = null;
|
|
}
|
|
} |