Difference between revisions of "NWMUDS:GetConnectionStatus"

From 3dbrew
Jump to navigation Jump to search
Line 37: Line 37:
 
|-
 
|-
 
| 0x4
 
| 0x4
 +
| 0x28
 +
| ?
 +
|-
 
| 0x2C
 
| 0x2C
| ?
+
| 0x1
 +
| u8 NetworkNodeID
 +
|-
 +
| 0x2D
 +
| 0x3
 +
| Padding
 +
|}
 +
 
 +
==Event types==
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Type
 +
!  Description
 +
|-
 +
| 0x6
 +
| A new node with the NetworkNodeID from offset 0x2C has joined the network.
 
|}
 
|}
  
 
=Description=
 
=Description=
 
This is mainly used when the event handle from [[NWMUDS:Initialize]] is signalled. This is also used before using [[NWMUDS:Bind]]. For certain user-processes this may be used during NWMUDS initialization as well.
 
This is mainly used when the event handle from [[NWMUDS:Initialize]] is signalled. This is also used before using [[NWMUDS:Bind]]. For certain user-processes this may be used during NWMUDS initialization as well.

Revision as of 23:03, 2 April 2016

Request

Index Word Description
0 Header code [0x000B0000]

Response

Index Word Description
0 Header code
1 Result code
2-13 Output 0x30-byte structure.

Output structure

Offset Size Description
0x0 0x4 u32 event type
0x4 0x28 ?
0x2C 0x1 u8 NetworkNodeID
0x2D 0x3 Padding

Event types

Type Description
0x6 A new node with the NetworkNodeID from offset 0x2C has joined the network.

Description

This is mainly used when the event handle from NWMUDS:Initialize is signalled. This is also used before using NWMUDS:Bind. For certain user-processes this may be used during NWMUDS initialization as well.