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

Go to the source code of this file.

Classes

struct  RatingRecord
 The results of the online games of a player that the next rating weighs. More...

Functions

BinStream & operator<< (BinStream &stream, const RatingRecord &record)
 Write a record, with the wins in half games.
BinStream & operator>> (BinStream &stream, RatingRecord &record)
 Read a record operator<<() wrote.

Function Documentation

◆ operator<<()

BinStream & operator<< ( BinStream & stream,
const RatingRecord & record )

Write a record, with the wins in half games.

The wins, the games, and the opponents take two bytes, and the points four.

Parameters
streamThe stream.
recordThe record.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x00267f58
Ghidra address:
PAL: 0x00271c30

◆ operator>>()

BinStream & operator>> ( BinStream & stream,
RatingRecord & record )

Read a record operator<<() wrote.

Parameters
streamThe stream.
recordReceives the record.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x00268028
Ghidra address:
PAL: 0x00271d00