Engine → Bindings → bindings_subsystem.h
script_residency
| Type | Class |
| Namespace | conjure::bindings |
| Include File Path | engine/include/conjure/bindings/bindings_subsystem.h |
| Source File Path | engine/src/bindings/bindings_subsystem.cpp |
| API ↗ | Scripting from C#: the bindings, The native table |
Syntax
Constructors
| Access | Signature | Description |
|---|---|---|
| public | script_residency(); |
Important
Copy constructor and assignment has been deleted.
Destructors
| Access | Signature | Description |
|---|---|---|
| public | ~script_residency(); |
Variables
| Access | Name | Type | Default | Description |
|---|---|---|---|---|
| private | mHandles | core:: | {} |
Functions
Public
clear
clearvoid clear() noexcept;Drops every handle.
hold
holdbool hold(
const core::uuid &id,
assets::asset_handle handle);Keeps the handle under its uuid; a uuid already held keeps its first handle. False for an unbound handle or the null uuid.
holds
holds[[nodiscard]] bool holds(
const core::uuid &id) const noexcept;True while a handle is held for the uuid.
release
releasebool release(
const core::uuid &id) noexcept;Drops the handle of a uuid. False when none was held.