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

Function write_packets_system

lib/rc_networking/src/server/systems.rs:220–241  ·  view source on GitHub ↗

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

(
    server: ResMut<NetworkingServer>,
    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 4

get_channelFunction · 0.85
for_eachMethod · 0.80
getMethod · 0.45
sendMethod · 0.45

Tested by

no test coverage detected