Import std.net.game.host
GameEvent
struct
Public Struct GameEvent Implements Printable
Something that happened at a GameHost's Update: a peer connected, a message came from one on a channel, or a peer disconnected, and why.
-
What happened.
-
The peer it happened to.
-
The channel a RECEIVE's message came on.
-
A RECEIVE's message.
-
Why a DISCONNECT's peer went.
-
A message's bytes as UTF-8.
-
As "CONNECT 127.0.0.1:5000", "RECEIVE 127.0.0.1:5000 on 0, 5 bytes", or "DISCONNECT 127.0.0.1:5000, TIMEOUT".
Report an issue with this page or with FutureBlitz on GitHub.