29 lines
649 B
C#
29 lines
649 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|