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

Function write_packets_system

lib/rc_networking/src/client/native/systems.rs:54–82  ·  view source on GitHub ↗

Take packets from ECS EventReader and add it to Writer to write to stream in other thread

(
    client: Res<NetworkingClient>,
    mut to_send: EventReader<SendPacket>,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

get_channelFunction · 0.85
lenMethod · 0.80
sendMethod · 0.45

Tested by

no test coverage detected