Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: using assoc id in 'other' context api #247

Merged
merged 1 commit into from
May 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions ecsact/runtime/dynamic.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,20 +159,15 @@ ECSACT_DYNAMIC_API_FN(bool, ecsact_system_execution_context_same)
);

/**
* Get execution context for a different entity
*
* Only available if has one of these capabilities:
* - `ECSACT_SYS_CAP_OPTIONAL_READONLY`
* - `ECSACT_SYS_CAP_OPTIONAL_WRITEONLY`
* - `ECSACT_SYS_CAP_OPTIONAL_READWRITE`
* Get execution context for a different entity associated with this system.
*/
ECSACT_DYNAMIC_API_FN(
struct ecsact_system_execution_context*,
ecsact_system_execution_context_other
)
( //
struct ecsact_system_execution_context* context,
ecsact_entity_id entity_id
ecsact_system_assoc_id assoc_id
);

/**
Expand Down
Loading