25 lines
547 B
C#
25 lines
547 B
C#
using System;
|
|
|
|
namespace Gameplay.Skill
|
|
{
|
|
|
|
[Serializable]
|
|
public class SkillLogicActionData
|
|
{
|
|
public int id;
|
|
public int subId;
|
|
public float floatParam1;
|
|
public float triggerTime;
|
|
public int actionType;
|
|
|
|
public static string GetActionName(int actionType)
|
|
{
|
|
if (ESkillActionTypeString.DATA_MAP.TryGetValue(actionType, out var name))
|
|
{
|
|
return name;
|
|
}
|
|
return "暂未处理的类型:" + actionType;
|
|
}
|
|
}
|
|
}
|