Difference between revisions of "NWMUDS:EjectSpectator"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00060000] |} =Response= {| class="wikitable" border="1" |- ! Index Word !...")
 
Line 23: Line 23:
  
 
=Description=
 
=Description=
This can be used by the host to force-disconnect the spectator. New spectator connections will not be accepted any more after using this command, until a flag(?) is updated.
+
This can be used by the host to force-disconnect the spectator. 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.

Revision as of 21:44, 6 April 2016

Request

Index Word Description
0 Header code [0x00060000]

Response

Index Word Description
0 Header code
1 Result code

Description

This can be used by the host to force-disconnect the spectator. 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.