resonance 1.0.1
Loading...
Searching...
No Matches
netjamenablemgr.h File Reference
#include <vector>
#include "game/enablemgr.h"
Include dependency graph for netjamenablemgr.h:

Go to the source code of this file.

Classes

class  NetJamEnableMgr
 Enable policy of a network jam, which limits how many tracks one player may own per section. More...

Functions

NetJamEnableMgr * NewNetJamEnableMgr (int nTrackCount, int nMaxOwned, const std::vector< int > &openTracks, Gamer *pGamer)
 Build the policy for a network jam.

Function Documentation

◆ NewNetJamEnableMgr()

NetJamEnableMgr * NewNetJamEnableMgr ( int nTrackCount,
int nMaxOwned,
const std::vector< int > & openTracks,
Gamer * pGamer )

Build the policy for a network jam.

Gamer::CreateEnableMgr() is the caller.

Parameters
nTrackCountThe level's track count.
nMaxOwnedThe tracks one player may own per section.
openTracksThe tracks that may be caught while the list is incomplete.
pGamerThe participant.
Returns
The new policy.
Ghidra address:
NTSC-U/C: 0x00105958
Ghidra address:
PAL: 0x00105958