Update to Bevy 0.17.2
All checks were successful
CI / Formatting (push) Successful in 32s

This commit is contained in:
Michael Bradley 2025-10-13 15:17:23 -04:00
parent 53fe3333f0
commit 27b4644730
Signed by: MichaelBradley
SSH key fingerprint: SHA256:BKO2eI2LPsCbQS3n3i5SdwZTAIV3F1lHezR07qP+Ob0
12 changed files with 852 additions and 642 deletions

View file

@ -7,7 +7,7 @@ use super::{
io::{Config, handle_network_input, handle_network_output},
packet::{InboundPacket, OutboundPacket},
peer::{
PeerChangeEvent, PeerMap, PotentialPeers, handle_new_peer, handle_peer_change,
PeerChangeMessage, PeerMap, PotentialPeers, handle_new_peer, handle_peer_change,
new_peer_message,
},
queues::{NetworkReceive, NetworkSend},
@ -46,9 +46,9 @@ impl Plugin for NetIOPlugin {
.init_resource::<PeerMap>()
.init_resource::<PotentialPeerTimer>()
.insert_resource(PotentialPeers::new(self.initial_peers.clone()))
.add_event::<PeerChangeEvent>()
.add_event::<InboundPacket>()
.add_event::<OutboundPacket>();
.add_message::<PeerChangeMessage>()
.add_message::<InboundPacket>()
.add_message::<OutboundPacket>();
match bind_socket(self.listen) {
Ok((send, receive)) => {