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

#include <ProjectAssetOperations.h>

Public Types

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

Static Public Member Functions

static std::string SanitizeCppIdentifier (std::string name)
static bool CreateCppScript (const std::filesystem::path &scriptsDirectory, const std::string &requestedName, const LogFunction &log={})
static std::filesystem::path CreatePrefab (Entity source, const std::filesystem::path &directory, const LogFunction &log={})

Detailed Description

Definition at line 15 of file ProjectAssetOperations.h.

Member Typedef Documentation

◆ LogFunction

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

Definition at line 18 of file ProjectAssetOperations.h.

Member Function Documentation

◆ CreateCppScript()

bool NoJob::ProjectAssetOperations::CreateCppScript ( const std::filesystem::path & scriptsDirectory,
const std::string & requestedName,
const LogFunction & log = {} )
static

◆ CreatePrefab()

std::filesystem::path NoJob::ProjectAssetOperations::CreatePrefab ( Entity source,
const std::filesystem::path & directory,
const LogFunction & log = {} )
static

◆ SanitizeCppIdentifier()

std::string NoJob::ProjectAssetOperations::SanitizeCppIdentifier ( std::string name)
static

Definition at line 15 of file ProjectAssetOperations.cpp.

Referenced by CreateCppScript(), and NoJob::ProjectPanel::Draw().


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