Crate de_multiplayer
source ·Expand description
This crate library implements multiplayer functionality for Digital
Extinction via MultiplayerPluginGroup
.
Before a multiplayer game starts, networking and other systems must be
started. To do this send StartMultiplayerEvent
.
After a multiplayer game ends, the multiplayer functionality should be shut
down via ShutdownMultiplayerEvent
.
Modules§
Structs§
- A game was just joined.
- A new game on the given socket address was just opened.
- This event is sent when game readiness stage of the joined game changes.
- This event is sent just before multiplayer shutdown is initiated.
- This event is sent when an active entity of a non-local player is to be despawned.
- This event is sent when a new entity of a non-local player is to be spawned. An empty ECS entity is spawned to obtain local entity ID. The rest is kept to the handling event systems.
- Send this event to change player readiness stage.
- Send this event to shutdown multiplayer functionality.
- Send this event to setup and startup multiplayer functionality.
- An event which will get transformed to a network message delivered to other players of the game.
Enums§
- Type of to be established connection to DE Connector.
- Application state in regard to DE Connector.