aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/playlist.h
blob: 28e5aa9dbfbe6c61fe8cbc11aeb481921bcb96c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

// use the R2 namespace for game funcs
namespace R2
{
	typedef const char* (*GetCurrentPlaylistNameType)();
	extern GetCurrentPlaylistNameType GetCurrentPlaylistName;

	typedef void (*SetCurrentPlaylistType)(const char* playlistName);
	extern SetCurrentPlaylistType SetCurrentPlaylist;

	typedef void (*SetPlaylistVarOverrideType)(const char* varName, const char* value);
	extern SetPlaylistVarOverrideType SetPlaylistVarOverride;

	typedef char* (*GetCurrentPlaylistVarType)(const char* varName, bool useOverrides);
	extern GetCurrentPlaylistVarType GetCurrentPlaylistVar;
} // namespace R2