using System;
using UnityEngine;
namespace BrewMonster.Scripts.Chat.EmotionData
{
///
/// Một dòng định nghĩa emotion trong Emotions{N}.txt (port từ AUITEXTAREA_EMOTION).
/// One emotion definition line from Emotions{N}.txt (ported from AUITEXTAREA_EMOTION).
///
[Serializable]
public class EmotionEntryData
{
[Tooltip("Chỉ số ô bắt đầu trong lưới cell (nStartPos) — Starting cell index in the atlas grid.")]
public int StartPos;
[Tooltip("Số frame animation (nNumFrames), tối đa 20 như C++.")]
public int NumFrames;
[Tooltip("Tooltip / hint text từ file txt.")]
public string Hint = "";
///
/// Thời điểm tick cho từng frame (nFrameTick[i]), độ dài = NumFrames.
///
public int[] FrameTicks = Array.Empty();
///
/// Sprite đã cắt cho từng frame (gán bởi tool), độ dài = NumFrames khi đã convert.
///
public Sprite[] FrameSprites = Array.Empty();
}
}