wavelength 1.0.0
Loading...
Searching...
No Matches
updaterankspkt.h File Reference
#include <vector>
#include "msg/internalpacket.h"
#include "os/binstream.h"
#include "os/mem.h"
#include "os/prnstream.h"
Include dependency graph for updaterankspkt.h:

Go to the source code of this file.

Classes

class  UpdateRanksPkt
 Packet that reports the ranks of the players of the song. More...
struct  UpdateRanksPkt::Info
 The rank of one player. More...

Functions

PrnStream & operator<< (PrnStream &stream, const UpdateRanksPkt::Info &info)
 Write a rank as player:rank.
BinStream & operator<< (BinStream &stream, const UpdateRanksPkt::Info &info)
 Write a rank to the packets of a session.
BinStream & operator>> (BinStream &stream, UpdateRanksPkt::Info &info)
 Read a rank operator<<() wrote.

Variables

int g_nUpdateRanksPktType
 Identity that UpdateRanksPkt::Type() reports.

Function Documentation

◆ operator<<() [1/2]

PrnStream & operator<< ( PrnStream & stream,
const UpdateRanksPkt::Info & info )

Write a rank as player:rank.

Parameters
streamThe stream.
infoThe rank.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x002687b0
Ghidra address:
PAL: 0x00272408

◆ operator<<() [2/2]

BinStream & operator<< ( BinStream & stream,
const UpdateRanksPkt::Info & info )

Write a rank to the packets of a session.

Parameters
streamThe stream.
infoThe rank.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x00268808
Ghidra address:
PAL: 0x00272460

◆ operator>>()

BinStream & operator>> ( BinStream & stream,
UpdateRanksPkt::Info & info )

Read a rank operator<<() wrote.

Parameters
streamThe stream.
infoReceives the rank.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x00268868
Ghidra address:
PAL: 0x002724c0

Variable Documentation

◆ g_nUpdateRanksPktType

int g_nUpdateRanksPktType
extern

Identity that UpdateRanksPkt::Type() reports.

Ghidra address:
NTSC-U/C: 0x003b0bcc
Ghidra address:
PAL: 0x0042fa9c