wavelength 1.0.0
Loading...
Searching...
No Matches
netlaunchpadplayer.h File Reference
#include "netflow/lobbyplayer.h"
#include "os/binstream.h"
#include "os/prnstream.h"
Include dependency graph for netlaunchpadplayer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  NetLaunchpadPlayer
 The description of one player of the online session this console is in. More...

Functions

PrnStream & operator<< (PrnStream &stream, const NetLaunchpadPlayer &player)
 Write a player as its identifier, the LobbyPlayer, the colour, and the ready state.
BinStream & operator<< (BinStream &stream, const NetLaunchpadPlayer &player)
 Write a player to the packets of a session.
BinStream & operator>> (BinStream &stream, NetLaunchpadPlayer &player)
 Read a player operator<<() wrote.

Function Documentation

◆ operator<<() [1/2]

PrnStream & operator<< ( PrnStream & stream,
const NetLaunchpadPlayer & player )

Write a player as its identifier, the LobbyPlayer, the colour, and the ready state.

Parameters
streamThe stream.
playerThe player.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x002682a0
Ghidra address:
PAL: 0x00271f78

◆ operator<<() [2/2]

BinStream & operator<< ( BinStream & stream,
const NetLaunchpadPlayer & player )

Write a player to the packets of a session.

Parameters
streamThe stream.
playerThe player.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x00268360
Ghidra address:
PAL: 0x00272038

◆ operator>>()

BinStream & operator>> ( BinStream & stream,
NetLaunchpadPlayer & player )

Read a player operator<<() wrote.

Parameters
streamThe stream.
playerReceives the player.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x00268520
Ghidra address:
PAL: 0x002721b8