MCPcopy Create free account
hub / github.com/DarkZek/RustCraft / track_itemstate_changes

Function track_itemstate_changes

lib/rc_shared/src/item/changes.rs:11–57  ·  view source on GitHub ↗

Copies the itemstate asset to the Resource

(
    mut events: EventReader<AssetEvent<ItemStatesFile>>,
    assets: ResMut<Assets<ItemStatesFile>>,
    mut states: ResMut<ItemStates>,
    mut event_writer: EventWriter<ItemStatesUpdatedEvent>,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

lenMethod · 0.80
sendMethod · 0.45

Tested by

no test coverage detected