Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TestGameClientCheats Class Reference
Inheritance diagram for TestGameClientCheats:

Protected Types

using Result = CGameClientCheats::InstallResult
 
using State = TestCheats::DatabaseState
 

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
auto & RepositoryEventSource ()
 
void UpdateRepository ()
 
void WritePack (const std::string &contents)
 
void AddPack (const std::string &source, const std::string &system, const std::string &filename="game.cht")
 
void Discover (std::vector< TestCheats::Source > sources)
 
std::shared_ptr< const ADDON::CAddonInfo > ResourceInfo (const std::string &id, const std::string &name)
 
void Changed ()
 
bool Select (size_t index)
 
CCriticalSection & ClientAccess ()
 

Protected Attributes

std::string directory
 
TestGUI gui
 
std::shared_ptr< CGameClient > client
 
TestCheats * cheats {nullptr}
 
XFILE::CFile * file {nullptr}
 
bool supportsCheats {true}
 
int resets {0}
 
std::vector< std::string > applied
 

Member Typedef Documentation

◆ Result

◆ State

using TestGameClientCheats::State = TestCheats::DatabaseState
protected

Member Function Documentation

◆ AddPack()

void TestGameClientCheats::AddPack ( const std::string & source,
const std::string & system,
const std::string & filename = "game.cht" )
inlineprotected

◆ Changed()

void TestGameClientCheats::Changed ( )
inlineprotected

◆ ClientAccess()

CCriticalSection & TestGameClientCheats::ClientAccess ( )
inlineprotected

◆ Discover()

void TestGameClientCheats::Discover ( std::vector< TestCheats::Source > sources)
inlineprotected

◆ RepositoryEventSource()

auto & TestGameClientCheats::RepositoryEventSource ( )
inlineprotected

◆ ResourceInfo()

std::shared_ptr< const ADDON::CAddonInfo > TestGameClientCheats::ResourceInfo ( const std::string & id,
const std::string & name )
inlineprotected

◆ Select()

bool TestGameClientCheats::Select ( size_t index)
inlineprotected

◆ SetUp()

void TestGameClientCheats::SetUp ( )
inlineoverrideprotected

◆ TearDown()

void TestGameClientCheats::TearDown ( )
inlineoverrideprotected

◆ UpdateRepository()

void TestGameClientCheats::UpdateRepository ( )
inlineprotected

◆ WritePack()

void TestGameClientCheats::WritePack ( const std::string & contents)
inlineprotected

Member Data Documentation

◆ applied

std::vector<std::string> TestGameClientCheats::applied
protected

◆ cheats

TestCheats* TestGameClientCheats::cheats {nullptr}
protected

◆ client

std::shared_ptr<CGameClient> TestGameClientCheats::client
protected

◆ directory

std::string TestGameClientCheats::directory
protected

◆ file

XFILE::CFile* TestGameClientCheats::file {nullptr}
protected

◆ gui

TestGUI TestGameClientCheats::gui
protected

◆ resets

int TestGameClientCheats::resets {0}
protected

◆ supportsCheats

bool TestGameClientCheats::supportsCheats {true}
protected

The documentation for this class was generated from the following file: