Engine → Scripting → script_component.h
script_entry¶
| Type | Struct |
| Namespace | conjure::scripting |
| Include File Path | engine/include/conjure/scripting/script_component.h |
| Source File Path | engine/src/scripting/script_component.cpp |
| API ↗ | Scripting, Scripts, components and the runtime |
Syntax¶
Variables¶
| Access | Name | Type | Default | Description |
|---|---|---|---|---|
| public | classHash | u64 | 0 | |
| public | fields | core::json::document | core:: | |
| public | flags | script_entry_flags | script_ | |
| public | managedSlot | i32 | INVALID_SLOT |
Functions¶
Public¶
has_flag¶
has_flag¶[[nodiscard]] bool has_flag(
script_entry_flags flag) const noexcept;is_live¶
is_live¶[[nodiscard]] bool is_live() const noexcept;True when a managed instance exists for the entry.