This PR changes quill API to make entity_set_component host call accept a variant: u8 param, 0 = insert component, 1 = insert entity event, 2 = insert event. Also adds quill::Game::insert_event and quill::Entity::insert_event
Related issues
Checklist
[x] Ran cargo fmt, cargo clippy --all-targets, cargo build --release and cargo test and fixed any generated errors!
[ ] Removed unnecessary commented out code
[ ] Used specific traces (if you trace actions please specify the cause i.e. the player)
Note: if you locally don't get any errors, but GitHub Actions fails (especially at clippy) you might want to check your rust toolchain version. You can then feel free to fix these warnings/errors in your PR.
Add events to quill API
Status
Description
This PR changes quill API to make
entity_set_component
host call accept avariant: u8
param, 0 = insert component, 1 = insert entity event, 2 = insert event. Also addsquill::Game::insert_event
andquill::Entity::insert_event
Related issues
Checklist
cargo fmt
,cargo clippy --all-targets
,cargo build --release
andcargo test
and fixed any generated errors!Note: if you locally don't get any errors, but GitHub Actions fails (especially at
clippy
) you might want to check your rust toolchain version. You can then feel free to fix these warnings/errors in your PR.