#include <script_system.h>
|
auto | init (rtti::context &ctx) -> bool |
|
auto | deinit (rtti::context &ctx) -> bool |
|
void | set_debug_config (const std::string &address, uint32_t port, uint32_t loglevel) |
|
auto | load_engine_domain (rtti::context &ctx, bool recompile) -> bool |
|
void | unload_engine_domain () |
|
auto | load_app_domain (rtti::context &ctx, bool recompile) -> bool |
|
void | unload_app_domain () |
|
auto | get_all_scriptable_components () const -> const std::vector< mono::mono_type > & |
|
auto | get_engine_assembly () const -> mono::mono_assembly |
|
auto | get_app_assembly () const -> mono::mono_assembly |
|
auto | is_create_called () const -> bool |
|
auto | is_update_called () const -> bool |
|
void | wait_for_jobs_to_finish (rtti::context &ctx) |
|
auto | has_compilation_errors () const -> bool |
|
void | on_sensor_enter (entt::handle sensor, entt::handle other) |
|
void | on_sensor_exit (entt::handle sensor, entt::handle other) |
|
void | on_collision_enter (entt::handle a, entt::handle b, const std::vector< manifold_point > &manifolds) |
|
void | on_collision_exit (entt::handle a, entt::handle b, const std::vector< manifold_point > &manifolds) |
|
void | on_play_begin (rtti::context &ctx) |
| Called when playback begins.
|
|
void | on_play_begin (hpp::span< const entt::handle > entities) |
|
void | on_play_begin (entt::registry &entities) |
|
Definition at line 20 of file script_system.h.
◆ copy_compiled_lib()
void unravel::script_system::copy_compiled_lib |
( |
const fs::path & | from, |
|
|
const fs::path & | to ) |
|
static |
◆ deinit()
auto unravel::script_system::deinit |
( |
rtti::context & | ctx | ) |
-> bool |
◆ find_mono()
auto unravel::script_system::find_mono |
( |
const rtti::context & | ctx | ) |
-> mono::compiler_paths |
|
static |
◆ get_all_scriptable_components()
auto unravel::script_system::get_all_scriptable_components |
( |
| ) |
const -> const std::vector<mono::mono_type>& |
◆ get_app_assembly()
auto unravel::script_system::get_app_assembly |
( |
| ) |
const -> mono::mono_assembly |
◆ get_engine_assembly()
auto unravel::script_system::get_engine_assembly |
( |
| ) |
const -> mono::mono_assembly |
◆ get_lib_compiled_key()
auto unravel::script_system::get_lib_compiled_key |
( |
const std::string & | protocol | ) |
-> std::string |
|
static |
◆ get_lib_data_key()
auto unravel::script_system::get_lib_data_key |
( |
const std::string & | protocol | ) |
-> std::string |
|
static |
◆ get_lib_name()
auto unravel::script_system::get_lib_name |
( |
const std::string & | protocol | ) |
-> std::string |
|
static |
◆ get_lib_temp_compiled_key()
auto unravel::script_system::get_lib_temp_compiled_key |
( |
const std::string & | protocol | ) |
-> std::string |
|
static |
◆ get_script_debug_mode()
auto unravel::script_system::get_script_debug_mode |
( |
| ) |
-> bool |
|
static |
◆ has_compilation_errors()
auto unravel::script_system::has_compilation_errors |
( |
| ) |
const -> bool |
◆ init()
◆ is_create_called()
auto unravel::script_system::is_create_called |
( |
| ) |
const -> bool |
◆ is_debugger_attached()
auto unravel::script_system::is_debugger_attached |
( |
| ) |
-> bool |
|
static |
◆ is_update_called()
auto unravel::script_system::is_update_called |
( |
| ) |
const -> bool |
◆ load_app_domain()
auto unravel::script_system::load_app_domain |
( |
rtti::context & | ctx, |
|
|
bool | recompile ) -> bool |
◆ load_engine_domain()
auto unravel::script_system::load_engine_domain |
( |
rtti::context & | ctx, |
|
|
bool | recompile ) -> bool |
◆ log_exception()
void unravel::script_system::log_exception |
( |
const mono::mono_exception & | e, |
|
|
const hpp::source_location & | loc = hpp::source_location::current() ) |
|
static |
◆ on_collision_enter()
void unravel::script_system::on_collision_enter |
( |
entt::handle | a, |
|
|
entt::handle | b, |
|
|
const std::vector< manifold_point > & | manifolds ) |
◆ on_collision_exit()
void unravel::script_system::on_collision_exit |
( |
entt::handle | a, |
|
|
entt::handle | b, |
|
|
const std::vector< manifold_point > & | manifolds ) |
◆ on_create_active_component()
void unravel::script_system::on_create_active_component |
( |
entt::registry & | r, |
|
|
entt::entity | e ) |
|
static |
◆ on_create_component()
void unravel::script_system::on_create_component |
( |
entt::registry & | r, |
|
|
entt::entity | e ) |
|
static |
Called when a physics component is created.
- Parameters
-
r | The registry containing the component. |
e | The entity associated with the component. |
Definition at line 378 of file script_system.cpp.
◆ on_destroy_active_component()
void unravel::script_system::on_destroy_active_component |
( |
entt::registry & | r, |
|
|
entt::entity | e ) |
|
static |
◆ on_destroy_component()
void unravel::script_system::on_destroy_component |
( |
entt::registry & | r, |
|
|
entt::entity | e ) |
|
static |
Called when a physics component is destroyed.
- Parameters
-
r | The registry containing the component. |
e | The entity associated with the component. |
Definition at line 381 of file script_system.cpp.
◆ on_play_begin() [1/3]
void unravel::script_system::on_play_begin |
( |
entt::registry & | entities | ) |
|
◆ on_play_begin() [2/3]
void unravel::script_system::on_play_begin |
( |
hpp::span< const entt::handle > | entities | ) |
|
◆ on_play_begin() [3/3]
void unravel::script_system::on_play_begin |
( |
rtti::context & | ctx | ) |
|
Called when playback begins.
- Parameters
-
ctx | The context for the playback. |
Definition at line 479 of file script_system.cpp.
◆ on_sensor_enter()
void unravel::script_system::on_sensor_enter |
( |
entt::handle | sensor, |
|
|
entt::handle | other ) |
◆ on_sensor_exit()
void unravel::script_system::on_sensor_exit |
( |
entt::handle | sensor, |
|
|
entt::handle | other ) |
◆ set_debug_config()
void unravel::script_system::set_debug_config |
( |
const std::string & | address, |
|
|
uint32_t | port, |
|
|
uint32_t | loglevel ) |
◆ set_needs_recompile()
void unravel::script_system::set_needs_recompile |
( |
const std::string & | protocol, |
|
|
bool | now = false ) |
|
static |
◆ set_script_debug_mode()
void unravel::script_system::set_script_debug_mode |
( |
bool | debug | ) |
|
|
static |
◆ unload_app_domain()
void unravel::script_system::unload_app_domain |
( |
| ) |
|
◆ unload_engine_domain()
void unravel::script_system::unload_engine_domain |
( |
| ) |
|
◆ wait_for_jobs_to_finish()
void unravel::script_system::wait_for_jobs_to_finish |
( |
rtti::context & | ctx | ) |
|
The documentation for this struct was generated from the following files:
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/scripting/ecs/systems/script_system.h
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/scripting/ecs/systems/script_glue.cpp
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/scripting/ecs/systems/script_system.cpp