Skip to content

Commit

Permalink
Register stats from scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
psiberx committed May 31, 2024
1 parent 28e9d32 commit 934e36c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/App/Tweaks/Executable/Scriptable/ScriptManager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class ScriptManager : public Red::IScriptable
RTTI_DEFINE_CLASS(App::ScriptManager, "TweakDBManager", {
RTTI_ABSTRACT();
RTTI_METHOD(StartBatch);
RTTI_METHOD(RegisterEnum);
{
auto func = type->AddFunction(&Type::SetFlat, "SetFlat", { .isFinal = true });
func->AddParam("TweakDBID", "path");
Expand Down

0 comments on commit 934e36c

Please sign in to comment.