Cheat operations
More...
Cheat operations
Cheat operation parts in interface:
Copy this to your project and extend with your parts or leave functions complete away where not used or supported.
◆ CheatReset()
virtual GAME_ERROR kodi::addon::CInstanceGame::CheatReset |
( |
| ) |
|
|
inlinevirtual |
◆ GetMemory()
Get a region of memory.
- Parameters
-
[in] | type | The type of memory to retrieve |
[in] | data | Set to the region of memory; must remain valid until UnloadGame() is called |
[in] | size | Set to the size of the region of memory |
- Returns
- the error, or GAME_ERROR_NO_ERROR if data was set to a valid buffer
◆ SetCheat()
virtual GAME_ERROR kodi::addon::CInstanceGame::SetCheat |
( |
unsigned int |
index, |
|
|
bool |
enabled, |
|
|
const std::string & |
code |
|
) |
| |
|
inlinevirtual |
Set a cheat code.
- Parameters
-
[in] | index | |
[in] | enabled | |
[in] | code | |
- Returns
- the error, or GAME_ERROR_NO_ERROR if the cheat was set