// Run method without counting on being connected to the game (startup/shutdown). private void RunNoProcessMethod(VASLMethod method, LiveSplitState state, bool isStartup = false) { method.Call(state, Vars, GameVersion, isStartup ? Settings.Builder : (object)Settings.Reader, new DeltaOutput()); }
private dynamic RunMethod(VASLMethod method, LiveSplitState state, DeltaOutput d) { var result = method.Call(state, Vars, GameVersion, Settings.Reader, d); return(result); }