Files
Northbound/Assets/Scripts/IAction.cs

33 lines
962 B
C#

namespace Northbound
{
/// <summary>
/// 상호작용 대상 없이도 실행 가능한 행동 (공격, 점프, 스킬 등)
/// </summary>
public interface IAction
{
/// <summary>
/// 액션 실행 가능한지 여부 (쿨다운, 스테미나 등)
/// </summary>
bool CanExecute(ulong playerId);
/// <summary>
/// 액션 실행
/// </summary>
void Execute(ulong playerId);
/// <summary>
/// 액션 이름 (예: "Attack", "Jump", "Skill_Fireball")
/// </summary>
string GetActionName();
/// <summary>
/// 플레이어가 재생할 애니메이션 트리거 이름 (없으면 null 또는 빈 문자열)
/// </summary>
string GetActionAnimation();
/// <summary>
/// 액션 실행 시 사용할 장비 정보 (없으면 null)
/// </summary>
EquipmentData GetEquipmentData();
}
}