Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::editor_actions Struct Reference

#include <editor_actions.h>

Static Public Member Functions

static auto new_scene (rtti::context &ctx) -> bool
 
static auto open_scene (rtti::context &ctx) -> bool
 
static auto open_scene_from_asset (rtti::context &ctx, const asset_handle< scene_prefab > &asset) -> bool
 
static auto save_scene (rtti::context &ctx) -> bool
 
static auto save_scene_as (rtti::context &ctx) -> bool
 
static auto prompt_save_scene (rtti::context &ctx, const std::function< void()> &on_continue) -> bool
 
static auto close_project (rtti::context &ctx) -> bool
 
static auto reload_project (rtti::context &ctx) -> bool
 
static void run_project (const deploy_settings &params)
 
static auto deploy_project (rtti::context &ctx, const deploy_settings &params) -> std::map< std::string, tpp::shared_future< void > >
 
static void recompile_shaders ()
 
static void recompile_textures ()
 
static void recompile_ui ()
 
static void recompile_scripts ()
 
static void recompile_all ()
 
static void generate_script_workspace ()
 
static void open_workspace_on_file (const fs::path &file, int line=0)
 

Detailed Description

Definition at line 16 of file editor_actions.h.

Member Function Documentation

◆ close_project()

auto unravel::editor_actions::close_project ( rtti::context & ctx) -> bool
static

Definition at line 1017 of file editor_actions.cpp.

◆ deploy_project()

auto unravel::editor_actions::deploy_project ( rtti::context & ctx,
const deploy_settings & params ) -> std::map<std::string, tpp::shared_future<void>>
static

Definition at line 1057 of file editor_actions.cpp.

◆ generate_script_workspace()

void unravel::editor_actions::generate_script_workspace ( )
static

Definition at line 1290 of file editor_actions.cpp.

◆ new_scene()

auto unravel::editor_actions::new_scene ( rtti::context & ctx) -> bool
static

Definition at line 873 of file editor_actions.cpp.

◆ open_scene()

auto unravel::editor_actions::open_scene ( rtti::context & ctx) -> bool
static

Definition at line 892 of file editor_actions.cpp.

◆ open_scene_from_asset()

auto unravel::editor_actions::open_scene_from_asset ( rtti::context & ctx,
const asset_handle< scene_prefab > & asset ) -> bool
static

Definition at line 919 of file editor_actions.cpp.

◆ open_workspace_on_file()

void unravel::editor_actions::open_workspace_on_file ( const fs::path & file,
int line = 0 )
static

Definition at line 1321 of file editor_actions.cpp.

◆ prompt_save_scene()

auto unravel::editor_actions::prompt_save_scene ( rtti::context & ctx,
const std::function< void()> & on_continue ) -> bool
static

Definition at line 983 of file editor_actions.cpp.

◆ recompile_all()

void unravel::editor_actions::recompile_all ( )
static

Definition at line 1424 of file editor_actions.cpp.

◆ recompile_scripts()

void unravel::editor_actions::recompile_scripts ( )
static

Definition at line 1411 of file editor_actions.cpp.

◆ recompile_shaders()

void unravel::editor_actions::recompile_shaders ( )
static

Definition at line 1359 of file editor_actions.cpp.

◆ recompile_textures()

void unravel::editor_actions::recompile_textures ( )
static

Definition at line 1373 of file editor_actions.cpp.

◆ recompile_ui()

void unravel::editor_actions::recompile_ui ( )
static

Definition at line 1387 of file editor_actions.cpp.

◆ reload_project()

auto unravel::editor_actions::reload_project ( rtti::context & ctx) -> bool
static

Definition at line 1033 of file editor_actions.cpp.

◆ run_project()

void unravel::editor_actions::run_project ( const deploy_settings & params)
static

Definition at line 1051 of file editor_actions.cpp.

◆ save_scene()

auto unravel::editor_actions::save_scene ( rtti::context & ctx) -> bool
static

Definition at line 942 of file editor_actions.cpp.

◆ save_scene_as()

auto unravel::editor_actions::save_scene_as ( rtti::context & ctx) -> bool
static

Definition at line 974 of file editor_actions.cpp.


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