jamiebrynes7 / spatialos-sdk-rs

Rust integration of the SpatialOS C API bindings
Apache License 2.0
21 stars 6 forks source link

Events implementation #170

Closed jamiebrynes7 closed 4 years ago

jamiebrynes7 commented 4 years ago

Supersedes #115. Just decided to re-implement it since the backing code had changed a bit inbetween.

This PR adds event support into the code generated types.

codecov[bot] commented 4 years ago

Codecov Report

Merging #170 into master will decrease coverage by 0.56%. The diff coverage is 11.81%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #170      +/-   ##
==========================================
- Coverage   20.34%   19.78%   -0.57%     
==========================================
  Files          47       47              
  Lines        6747     7004     +257     
==========================================
+ Hits         1373     1386      +13     
- Misses       5374     5618     +244     
Impacted Files Coverage Δ
spatialos-sdk/src/worker/component.rs 13.04% <ø> (ø)
...patialos-sdk/src/worker/schema/component_update.rs 29.26% <0.00%> (-5.02%) :arrow_down:
project-example/src/generated.rs 1.46% <2.17%> (-0.14%) :arrow_down:
spatialos-sdk-code-generator/src/generator.rs 63.43% <44.82%> (-1.86%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 480cc91...a9d4571. Read the comment docs.