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

Go to the source code of this file.

Classes

class  NetGameParams
 The settings of an online game that the host publishes with its session. More...

Functions

PrnStream & operator<< (PrnStream &stream, const NetGameParams &params)
 Write the settings of a game.
BinStream & operator<< (BinStream &stream, const NetGameParams &params)
 Write the settings of a game to the packets of a session.
BinStream & operator>> (BinStream &stream, NetGameParams &params)
 Read the settings operator<<() wrote.

Function Documentation

◆ operator<<() [1/2]

PrnStream & operator<< ( PrnStream & stream,
const NetGameParams & params )

Write the settings of a game.

Parameters
streamThe stream.
paramsThe settings.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x0027c418
Ghidra address:
PAL: 0x00285e48

◆ operator<<() [2/2]

BinStream & operator<< ( BinStream & stream,
const NetGameParams & params )

Write the settings of a game to the packets of a session.

Parameters
streamThe stream.
paramsThe settings.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x0027c688
Ghidra address:
PAL: 0x002860b8

◆ operator>>()

BinStream & operator>> ( BinStream & stream,
NetGameParams & params )

Read the settings operator<<() wrote.

Parameters
streamThe stream.
paramsReceives the settings.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x0027c820
Ghidra address:
PAL: 0x002861f0