BakkesMod Programming Wiki
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

MatchmakingWrapper : ObjectWrapper

View Implementation

_NODISCARD bool 
IsNull() const



operator bool() const



bool 
IsSearching()



int 
GetActiveViewTab()



void 
SetRegionSelection(Region region, bool bSelected)


Parameter Type Description
region Region
bSelected bool

void 
SetPlaylistSelection(Playlist playlist, bool bSelected)


Parameter Type Description
playlist Playlist
bSelected bool

void 
SetViewTab(PlaylistCategory playlist_category)


Parameter Type Description
playlist_category PlaylistCategory

void 
StartMatchmaking(PlaylistCategory playlist_category)


Parameter Type Description
playlist_category PlaylistCategory

void 
CancelMatchmaking()



void 
CreatePrivateMatch(Region region, const CustomMatchSettings &match_settings)


Parameter Type Description
region Region
match_settings CustomMatchSettings

bool 
UpdatePrivateMatch(const CustomMatchSettings &match_settings) const


Parameter Type Description
match_settings CustomMatchSettings

void 
JoinPrivateMatch(const std::string &server_name, const std::string &server_password="")


Parameter Type Description
server_name const std::string &
server_password const std::string &

void 
CreateLanMatch(Region region, const CustomMatchSettings &match_settings) const


Parameter Type Description
region Region
match_settings CustomMatchSettings

void 
JoinLanMatch(const std::string &server_id, const std::string &password) const


Parameter Type Description
server_id const std::string &
password const std::string &

int 
SeasonEndDays()



int 
SeasonEndHours()



int 
SeasonEndMinutes()



int 
GetSeasonTimeRemaining()



int 
GetSeasonEndTimeSeconds()



bool 
HasSeasonEnded()



int 
GetTotalPopulation()



_NODISCARD int 
GetTotalPlayersOnline() const



_NODISCARD int 
GetPlayerCount(PlaylistIds playlist) const


Parameter Type Description
playlist PlaylistIds

std::string 
GetRegionID(Region region)


Parameter Type Description
region Region

std::string 
GetRegionLabel(Region region)


Parameter Type Description
region Region