GameWrapper
std::unique_ptr< Impl > pimpl
Parameter | Type | Description |
---|---|---|
other | GameWrapper | — |
GameWrapper operator=(Game Wrapper rhs)
Parameter | Type | Description |
---|---|---|
rhs | GameWrapper | — |
bool Is In Game( )
bool Is In Online Game( )
bool Is In Freeplay( )
bool Is In Replay( )
bool Is In Custom Training( )
bool Is Spectating In Online Game( )
bool Is Paused( )
bool Is Using Epic Version( )
bool Is Using Steam Version( )
int Get Steam Version( )
std::string Get Psy Build ID( )
ServerWrapper Get Current Game State( )
ServerWrapper Get Online Game( )
ServerWrapper Get Game Event As Server( )
ReplayServerWrapper Get Game Event As Replay( )
MMRWrapper Get MMRWrapper( )
CarWrapper Get Local Car( )
CameraWrapper Get Camera( )
EngineTAWrapper Get Engine( )
PluginManagerWrapper Get Plugin Manager( )
GuiManagerWrapper Get GUIManager( )
PlayerControllerWrapper Get Player Controller( )
ItemsWrapper Get Items Wrapper( )
LoadoutSaveWrapper Get User Loadout Save( ) const
MatchmakingWrapper Get Matchmaking Wrapper( )
SettingsWrapper Get Settings( )
ReplayManagerWrapper Get Replay Manager Wrapper( ) const
MapListWrapper Get Map List Wrapper( ) const
ModalWrapper Create Modal( const std::string &title)
Parameter | Type | Description |
---|---|---|
title | const std::string & | — |
TextInputModalWrapper Create Text Input Modal( const std::string &title)
Parameter | Type | Description |
---|---|---|
title | const std::string & | — |
void Override Params( void *src, size_t memsize)
void Set Timeout( std::function< void( Game Wrapper *)> the Lambda, float time)
Parameter | Type | Description |
---|---|---|
theLambda | GameWrapper | — |
time | float | — |
void Execute( std::function< void( Game Wrapper *)> the Lambda)
Parameter | Type | Description |
---|---|---|
theLambda | GameWrapper | — |
void Register Drawable( std::function< void( Canvas Wrapper)> callback)
Parameter | Type | Description |
---|---|---|
callback | CanvasWrapper | — |
void Unregister Drawables( )
std::string Get FName By Index( int index)
Parameter | Type | Description |
---|---|---|
index | int | — |
int Get FName Index By String( std::string name)
Parameter | Type | Description |
---|---|---|
name | std::string | — |
void Hook Event( std::string event Name, std::function< void( std::string event Name)> callback)
Parameter | Type | Description |
---|---|---|
eventName | std::string | — |
callback | std::function< void(std::string eventName)> | — |
void Unhook Event( std::string event Name)
Parameter | Type | Description |
---|---|---|
eventName | std::string | — |
void Hook Event Post( std::string event Name, std::function< void( std::string event Name)> callback)
Parameter | Type | Description |
---|---|---|
eventName | std::string | — |
callback | std::function< void(std::string eventName)> | — |
void Unhook Event Post( std::string event Name)
Parameter | Type | Description |
---|---|---|
eventName | std::string | — |
void Log To Chatbox( std::string text, std::string sender=“BAKKESMOD”)
Parameter | Type | Description |
---|---|---|
text | std::string | — |
sender | std::string | — |
void Load Toast Texture( std::string name, std::wstring path)
Parameter | Type | Description |
---|---|---|
name | std::string | — |
path | std::wstring | — |
void Toast( std::string title, std::string text, std::string texture=“default”, float timeout=3.5f, uint8_t toast Type=0, float width=290.f, float height=60.f)
Parameter | Type | Description |
---|---|---|
title | std::string | — |
text | std::string | — |
texture | std::string | — |
timeout | float | — |
toastType | uint8_t | — |
width | float | — |
height | float | — |
bool Is Key Pressed( int key Name)
Parameter | Type | Description |
---|---|---|
keyName | int | — |
int Is Cursor Visible( )
void Execute Unreal Command( std::string command)
Parameter | Type | Description |
---|---|---|
command | std::string | — |
std::string Get Random Map( )
std::string Get Current Map( )
unsigned long long Get Steam ID( )
std::string Get Epic ID( )
UniqueIDWrapper Get Unique ID( )
UnrealStringWrapper Get Player Name( )
ClubDetailsWrapper Get Local Club( )
SequenceWrapper Get Main Sequence( )
GfxDataTrainingWrapper Get Gfx Training Data( ) const
MenuStackWrapper Get Menu Stack( ) const
void Set Bot Loadout( Pri Wrapper &bot_pri, const struct Bot Loadout Data &loadout_data)
Parameter | Type | Description |
---|---|---|
bot_pri | PriWrapper | — |
loadout_data | BotLoadoutData | — |
Vector2 Get Screen Size( )
float Get Display Scale( )
float Get Interface Scale( )
float Get Safe Zone Ratio( )
float Get UIScale( )
unsigned int Getb Metric( )
UnrealStringWrapper Get UILanguage( )
bool Getb Color Blind( )
std::wstring Get Bakkes Mod Path W( )
std::wstring Get Data Folder W( )
int Get Bakkes Mod Version( )
void Play Replay( const std::wstring &path)
Parameter | Type | Description |
---|---|---|
path | const std::wstring & | — |
void Play Replay From Time( const std::wstring &path, float time)
Parameter | Type | Description |
---|---|---|
path | const std::wstring & | — |
time | float | — |
void Hook Event With Caller( std::string event Name, std::function< void( T caller, void *params, std::string event Name)> callback)
Parameter | Type | Description |
---|---|---|
eventName | std::string | — |
callback | std::function< void(T caller, void *params, std::string eventName)> | — |
void Hook Event With Caller Post( std::string event Name, std::function< void( T caller, void *params, std::string event Name)> callback)
Parameter | Type | Description |
---|---|---|
eventName | std::string | — |
callback | std::function< void(T caller, void *params, std::string eventName)> | — |