mirror of
https://github.com/Campofinale/CampofinaleBackup.git
synced 2025-12-16 06:14:36 +00:00
31 lines
692 B
C#
31 lines
692 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Campofinale.Resource.Table
|
|
{
|
|
[TableCfgType("Json/LevelScriptEvents.json", LoadPriority.LOW)]
|
|
public class LevelScriptEvent : TableCfgResource
|
|
{
|
|
public string eventName;
|
|
public string comment;
|
|
public List<ScriptAction> actions;
|
|
}
|
|
public class ScriptAction
|
|
{
|
|
public ScriptActionType action;
|
|
public string[] valueStr;
|
|
public ulong[] valueUlong;
|
|
}
|
|
public enum ScriptActionType
|
|
{
|
|
None = 0,
|
|
CompleteQuest = 1,
|
|
ProcessQuest = 2,
|
|
SpawnEnemy = 3
|
|
|
|
}
|
|
}
|