#nullable enable
using Gpm.Ui;
using System;
using UVC.Factory.Component;
namespace UVC.UI.List.ComponentList
{
public class ComponentListItemData : InfiniteScrollData
{
///
/// 카테고리 아이템인지 여부
///
public bool isCategory = false;
///
/// 카테고리 이름
///
public string categoryName = string.Empty;
///
/// 카테고리 배지 개수
///
public int categoryBadgeCount = 0;
///
/// 일반 아이템 이름
///
public string generalName = string.Empty;
///
/// 일반 아이템 옵션
///
public string generalOption = string.Empty;
///
/// 팩토리 객체 정보
///
public FactoryObjectInfo? factoryObjectInfo = null;
internal bool isExpanded = true; // 카테고리가 확장되었는지 여부
///
/// 카테고리 확장/축소 버튼 클릭 시 호출될 액션입니다.
/// ComponentList에서 이 액션에 ToggleCategory 메서드를 할당합니다.
///
public Action? OnCategoryExpendAction;
}
}