Unravel Engine C++ Reference
Loading...
Searching...
No Matches
asset_actions.cpp File Reference
#include "asset_actions.h"
#include <engine/assets/impl/asset_extensions.h>
#include <engine/assets/impl/asset_writer.h>
#include <filesystem/watcher.h>
#include <logging/logging.h>
#include <string_utils/utils.h>
#include <algorithm>
#include <cctype>
#include <fstream>
#include <sstream>
#include <stdexcept>

Go to the source code of this file.

Namespaces

namespace  unravel
 
namespace  unravel::asset_actions
 

Functions

auto unravel::asset_actions::resolve_asset_source_path (const std::string &asset_key) -> fs::path
 
auto unravel::asset_actions::resolve_asset_source_path (const fs::path &path) -> fs::path
 
auto unravel::asset_actions::can_reimport (const fs::path &absolute_path) -> bool
 
void unravel::asset_actions::reimport_path (const fs::path &absolute_path)
 
void unravel::asset_actions::reimport_key (const std::string &asset_key)
 
auto unravel::asset_actions::is_valid_csharp_identifier (const std::string &name) -> bool
 
auto unravel::asset_actions::create_script_from_template (const fs::path &template_path, const fs::path &dst, std::string *error=nullptr) -> bool
 Instantiate a ScriptComponent template (.cs.in), substituting #SCRIPTNAME# with the destination file stem. Uses atomic write when possible.