NoJobEngine 2.0.7
Loading...
Searching...
No Matches
NoJob::ProjectScriptManager Class Reference

#include <ProjectScriptManager.h>

Public Types

using LogFunction = std::function<void(std::string)>

Static Public Member Functions

static void SetLogger (LogFunction logger)
static bool Load (const std::filesystem::path &projectRoot)
static void Unload ()
static bool IsLoaded ()
static std::size_t LoadedScriptCount ()
static std::vector< BTCallbackMetadata > BehaviorTreeCallbackCatalog ()

Detailed Description

Definition at line 15 of file ProjectScriptManager.h.

Member Typedef Documentation

◆ LogFunction

using NoJob::ProjectScriptManager::LogFunction = std::function<void(std::string)>

Definition at line 18 of file ProjectScriptManager.h.

Member Function Documentation

◆ BehaviorTreeCallbackCatalog()

std::vector< BTCallbackMetadata > NoJob::ProjectScriptManager::BehaviorTreeCallbackCatalog ( )
static

Definition at line 148 of file ProjectScriptManager.cpp.

Referenced by NoJob::DrawBTAssetEditorWindow().

◆ IsLoaded()

bool NoJob::ProjectScriptManager::IsLoaded ( )
static

Definition at line 153 of file ProjectScriptManager.cpp.

◆ Load()

bool NoJob::ProjectScriptManager::Load ( const std::filesystem::path & projectRoot)
static

◆ LoadedScriptCount()

std::size_t NoJob::ProjectScriptManager::LoadedScriptCount ( )
static

Definition at line 162 of file ProjectScriptManager.cpp.

◆ SetLogger()

void NoJob::ProjectScriptManager::SetLogger ( LogFunction logger)
static

Definition at line 37 of file ProjectScriptManager.cpp.

Referenced by NoJob::EditorLayer::Init().

◆ Unload()

void NoJob::ProjectScriptManager::Unload ( )
static

Definition at line 48 of file ProjectScriptManager.cpp.

References NoJob::ScriptRegistry::Unregister().

Referenced by Load(), and NoJob::EditorLayer::Shutdown().


The documentation for this class was generated from the following files: