using ColdMint.scripts.contribute;
using ColdMint.scripts.utils;
using Godot;
namespace ColdMint.scripts.loader.uiLoader;
///
/// Contributor group loader
/// 贡献者组加载器
///
public partial class ContributorGroupLoader : UiLoaderTemplate
{
private string? _title;
private ContributorData[]? _contributorDataArray;
///
/// Contributor array
/// 贡献者数组
///
public ContributorData[]? ContributorDataArray
{
get => _contributorDataArray;
set
{
_contributorDataArray = value;
SetContributorData(value);
}
}
///
/// The title of the contribution group
/// 贡献组的标题
///
public string? Title
{
get => _title;
set
{
_title = value;
SetTitle(value);
}
}
private Label? _titleLabel;
private HFlowContainer? _flowContainer;
public override void InitializeUi()
{
_titleLabel = GetNode