Expand description
§Nimble Host Crate
The nimble-host
crate provides the core functionality for managing game sessions and connections in the Nimble multiplayer framework. It handles host logic, connection management, and communication between clients and the host.
§Features
- Connection Management: Create, manage, and destroy client connections.
- Host Logic: Integrates with
nimble_host_logic
to manage game state and handle client commands. - Datagram Handling: Efficiently processes incoming and outgoing datagrams with chunking support.
- Serialization: Supports serialization and deserialization of commands using
flood_rs
.
Modules§
Structs§
- Connection
Id - Unique identifier for a host connection.
- Host
- The main host structure managing game logic and client connections.
- Host
Connection - Represents a connection managed by the host.