NWMUDS:EjectSpectator

From 3dbrew
Revision as of 06:42, 14 June 2017 by Subv (talk | contribs) (→‎Description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x00060000]

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This can be used by the host to force-disconnect the spectator(s). After sending the network msg, this calls the same code used by NWMUDS:UpdateNetworkAttribute internally, with bitmask=0x1 and flag=1. New spectator connections will not be accepted any more after using this command, until that attribute bit is cleared.

This sends a broadcast data packet to channel 0x104 with a single 0 byte as data.