aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/playlist.h
blob: fd5949e185cb52cdf2a3c79de97f09c722217451 (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