wut  v1.7.0
Wii U Toolchain
NodeInformation.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <wut.h>
4 #include <nn/result.h>
6 #include <nn/cfg/CTR.h>
7 
8 #ifdef __cplusplus
9 
10 namespace nn {
11 
12 namespace uds {
13 
14 namespace Cafe {
16  struct WUT_PACKED NodeInformation {
22  uint16_t networkNodeId;
24  WUT_UNKNOWN_BYTES(0x2);
25  };
26  WUT_CHECK_SIZE(NodeInformation, 0x28);
27  WUT_CHECK_OFFSET(NodeInformation, 0x00, scrambledLocalFriendCode);
28  WUT_CHECK_OFFSET(NodeInformation, 0x0C, username);
29  WUT_CHECK_OFFSET(NodeInformation, 0x24, networkNodeId);
30 } // namespace Cafe
31 
32 } // namespace uds
33 
34 } // namespace nn
35 
36 #endif
Represents a console username, used in UDS and DLP.
Definition: CTR.h:14
uint16_t networkNodeId
The network node ID.
ScrambledLocalFriendCode scrambledLocalFriendCode
The scrambled local friend code of the node.
nn::cfg::CTR::UserName username
The node username.
Stores information about a node.
Stores data about the scrambled local friend code of a node.
Definition: ac_cpp.h:15