static public int ResetState(IntPtr l) { try { GameFramework.Plugin.IStoryCommandPlugin self = (GameFramework.Plugin.IStoryCommandPlugin)checkSelf(l); self.ResetState(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int LoadFuncData(IntPtr l) { try { GameFramework.Plugin.IStoryCommandPlugin self = (GameFramework.Plugin.IStoryCommandPlugin)checkSelf(l); Dsl.FunctionData a1; checkType(l, 2, out a1); self.LoadFuncData(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int ExecCommand(IntPtr l) { try { GameFramework.Plugin.IStoryCommandPlugin self = (GameFramework.Plugin.IStoryCommandPlugin)checkSelf(l); StorySystem.StoryInstance a1; checkType(l, 2, out a1); System.Int64 a2; checkType(l, 3, out a2); var ret = self.ExecCommand(a1, a2); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int Evaluate(IntPtr l) { try { GameFramework.Plugin.IStoryCommandPlugin self = (GameFramework.Plugin.IStoryCommandPlugin)checkSelf(l); StorySystem.StoryInstance a1; checkType(l, 2, out a1); System.Object a2; checkType(l, 3, out a2); System.Object[] a3; checkArray(l, 4, out a3); self.Evaluate(a1, a2, a3); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }