pub fn add_for_packet(&self, player: Entity, packet: Box<dyn Packet>) {
        let ordinal = packet.ty().ordinal();

        let mut queued_packets = self.queue[ordinal].lock();
        queued_packets.push((player, packet));
    }
/// Adds a packet to the queue.
Adds a packet to the queue.
Adds a packet to the queue .
pub fn add_for_packet(&self, player: Entity, packet: Box<dyn Packet>) {
        let ordinal = packet.ty().ordinal();
        let mut queued_packets = self.queue[ordinal].lock();
        queued_packets.push((player, packet));
    }
pub fn add_for_packet ( & self , player : Entity , packet : Box < dyn Packet > ) { let ordinal = packet . ty ( ) . ordinal ( ) ; let mut queued_packets = self . queue [ ordinal ] . lock ( ) ; queued_packets . push ( ( player , packet ) ) ; }
Adds a packet to the queue.
Adds a packet to the queue .
&self
player
Entity
packet
Box<dyn Packet>
&self
player
Entity
packet
Box<dyn Packet>