Crate ambient_network

Source

Modules§

client
client_connection
client_game_state
connection
hooks
protocol
rpc
server

Macros§

log_network_result
unwrap_log_network_err

Structs§

IncomingStream
Abstracts the serialization for a fixed size stream.
OutgoingStream

Enums§

NetworkError

Constants§

CERT
CERT_KEY
PLAYER_INPUT_DATAGRAM_ID
RPC_BISTREAM_ID
WASM_BISTREAM_ID
WASM_DATAGRAM_ID
WASM_UNISTREAM_ID

Traits§

ServerWorldExt

Functions§

assert_networked
create_client_endpoint_random_port
init_all_components
is_remote_entity
Is remote entity: If attached, this entity was not spawned locally (e.g. if this is the client, it was spawned by the server).
log_network_error
next_bincode_bi_stream
open_bincode_bi_stream
Are you sure you don’t want open_bincode_bi_stream_with_id instead?
open_bincode_bi_stream_with_id
persistent_resources
Persistent resources: If attached, this entity contains global resources that are persisted to disk and synchronized to clients.
rpc_request
send_datagram
synced_resources
Synchronized resources: If attached, this entity contains global resources that are synchronized to clients, but not persisted.

Type Aliases§

AsyncMutex