//------------------------------------------------------------ // Game Framework // Copyright © 2013-2021 loyalsoft. All rights reserved. // Homepage: http://www.game7000.com/ // Feedback: http://www.game7000.com/ //------------------------------------------------------------ using System.Collections.Generic; namespace GameFramework.UI { /// /// 界面组接口。 /// public interface IUIGroup { /// /// 获取界面组名称。 /// string Name { get; } /// /// 获取或设置界面组深度。 /// int Depth { get; set; } /// /// 获取或设置界面组是否暂停。 /// bool Pause { get; set; } /// /// 获取界面组中界面数量。 /// int UIFormCount { get; } /// /// 获取当前界面。 /// IUIForm CurrentUIForm { get; } /// /// 获取界面组辅助器。 /// IUIGroupHelper Helper { get; } /// /// 界面组中是否存在界面。 /// /// 界面序列编号。 /// 界面组中是否存在界面。 bool HasUIForm(int serialId); /// /// 界面组中是否存在界面。 /// /// 界面资源名称。 /// 界面组中是否存在界面。 bool HasUIForm(string uiFormAssetName); /// /// 从界面组中获取界面。 /// /// 界面序列编号。 /// 要获取的界面。 IUIForm GetUIForm(int serialId); /// /// 从界面组中获取界面。 /// /// 界面资源名称。 /// 要获取的界面。 IUIForm GetUIForm(string uiFormAssetName); /// /// 从界面组中获取界面。 /// /// 界面资源名称。 /// 要获取的界面。 IUIForm[] GetUIForms(string uiFormAssetName); /// /// 从界面组中获取界面。 /// /// 界面资源名称。 /// 要获取的界面。 void GetUIForms(string uiFormAssetName, List results); /// /// 从界面组中获取所有界面。 /// /// 界面组中的所有界面。 IUIForm[] GetAllUIForms(); /// /// 从界面组中获取所有界面。 /// /// 界面组中的所有界面。 void GetAllUIForms(List results); } }