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

Go to the source code of this file.

Classes

class  SongStats
 Best result of one player on one song at one skill level, as Campaign stores it. More...

Functions

BinStream & operator<< (BinStream &stream, const SongStats &record)
 Write a record, with the song as the id of its entry.
BinStream & operator>> (BinStream &stream, SongStats &record)
 Read a record the writer wrote.

Function Documentation

◆ operator<<()

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

Write a record, with the song as the id of its entry.

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

◆ operator>>()

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

Read a record the writer wrote.

The song is the song of any arena, the tutorial included, whose id matches. The song does not change when none matches.

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