Skip to main content

Module message

Module message 

Source
Expand description

The ygopro wire messages.

This module holds the message types exchanged over the network and with the core: client-to-server (ctos), server-to-client (stoc), and ygocore game messages (gm), plus the flat all message type. It is the source of the every_*_flat_message! macros.

Re-exports§

pub use client_to_server as ctos;
pub use server_to_client as stoc;
pub use game_message as gm;
pub use all_in_one as all;

Modules§

all_in_one
A unified message type covering all directions.
client_to_server
Client-to-server messages (ctos).
game_message
ygocore game messages (gm).
server_to_client
Server-to-client messages (stoc).

Macros§

generate_enum

Structs§

HostInfo

Enums§

Error

Traits§

Message
PureMessage