NWMUDS:UpdateNetworkAttribute

From 3dbrew
Revision as of 16:33, 2 April 2016 by Yellows8 (talk | contribs)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x00070080]
1 u16 bitmask
2 u8 flag

Response

Index Word Description
0 Header code
1 Result code

Description

When flag is zero, an u16 state field is cleared using the input bitmask. When flag is non-zero, it's ORRed using the input bitmask instead. If bitmask 0x4 is set in the final value, this clears that bit before actually writing the value into state.

This seems to be used for updating networkstruct+0x16.