wut v1.9.1
Wii U Toolchain
Loading...
Searching...
No Matches
ScrambledLocalFriendCode.h
Go to the documentation of this file.
1#pragma once
2
3#include <wut.h>
4#include <nn/result.h>
5
6#ifdef __cplusplus
7
8namespace nn
9{
10
11namespace uds
12{
13
14namespace Cafe
15{
17struct WUT_PACKED ScrambledLocalFriendCode
18{
22 uint16_t networkNodeId;
24 uint16_t xorKey;
25};
26WUT_CHECK_SIZE(ScrambledLocalFriendCode, 0x0C);
27WUT_CHECK_OFFSET(ScrambledLocalFriendCode, 0x00, localFriendCode);
28WUT_CHECK_OFFSET(ScrambledLocalFriendCode, 0x08, networkNodeId);
29WUT_CHECK_OFFSET(ScrambledLocalFriendCode, 0x0A, xorKey);
30} // namespace Cafe
31
32} // namespace uds
33
34} // namespace nn
35
36#endif
uint16_t networkNodeId
The node ID that the local friend code belongs to.
uint64_t localFriendCode
The scrambled local friend code. On the Wii U this is always descrambled.
uint16_t xorKey
The XOR key used for descrambling the local friend code.
Stores data about the scrambled local friend code of a node.
Definition ac_cpp.h:16