public override IEnumerator <YieldInstruction> Apply(GameEventOwner owner, Character ownerChar, Character character, MapStatus status, bool msg) { object[] parameters = new object[] { owner, ownerChar, character, status, msg }; LuaFunction func_iter = LuaEngine.Instance.CreateCoroutineIterator(Script, parameters); return(ScriptEvent.ApplyFunc(func_iter)); }
public abstract IEnumerator <YieldInstruction> Apply(GameEventOwner owner, Character ownerChar, Character character, MapStatus status, bool msg);