Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
AsaApi Namespace Reference

Namespaces

namespace  Tools
 

Classes

class  ApiUtils
 
class  Commands
 
class  IApiUtils
 
class  ICommands
 
class  IHooks
 
struct  MapCoords
 

Enumerations

enum class  ServerStatus { Loading , Ready }
 

Functions

IApiUtilsGetApiUtils ()
 
void InitHooks ()
 
 DECLARE_HOOK (UEngine_Init, void, DWORD64, DWORD64)
 
 DECLARE_HOOK (UWorld_Tick, void, DWORD64, DWORD64, float)
 
 DECLARE_HOOK (AShooterGameMode_InitGame, void, AShooterGameMode *, FString *, FString *, FString *)
 
 DECLARE_HOOK (AShooterPlayerController_ServerSendChatMessage_Impl, void, AShooterPlayerController *, FString *, int, int)
 
 DECLARE_HOOK (AShooterPlayerController_ConsoleCommand, FString *, AShooterPlayerController *, FString *, FString *, bool)
 
 DECLARE_HOOK (RCONClientConnection_ProcessRCONPacket, void, RCONClientConnection *, RCONPacket *, UWorld *)
 
 DECLARE_HOOK (AGameState_DefaultTimer, void, AGameState *)
 
 DECLARE_HOOK (AShooterGameMode_BeginPlay, void, AShooterGameMode *)
 
 DECLARE_HOOK (URCONServer_Init, bool, URCONServer *, FString *, unsigned int, UShooterCheatManager *)
 
 DECLARE_HOOK (AShooterPlayerController_OnPossess, void, AShooterPlayerController *, APawn *)
 
 DECLARE_HOOK (AShooterGameMode_Logout, void, AShooterGameMode *, AController *)
 
 DECLARE_HOOK (UShooterCheatManager_Broadcast, void, UShooterCheatManager *, FString *)
 
 DECLARE_HOOK (AShooterGameMode_HandleNewPlayer_Implementation, bool, AShooterGameMode *, AShooterPlayerController *, UPrimalPlayerData *, AShooterCharacter *, bool)
 
void Hook_UEngine_Init (DWORD64 _this, DWORD64 InEngineLoop)
 
void Hook_UWorld_Tick (DWORD64 world, DWORD64 tick_type, float delta_seconds)
 
void Hook_AShooterGameMode_InitGame (AShooterGameMode *a_shooter_game_mode, FString *map_name, FString *options, FString *error_message)
 
void Hook_AShooterPlayerController_ServerSendChatMessage_Impl (AShooterPlayerController *player_controller, FString *message, int mode, int senderPlatform)
 
FStringHook_AShooterPlayerController_ConsoleCommand (AShooterPlayerController *_this, FString *result, FString *Command, bool bWriteToLog)
 
void Hook_RCONClientConnection_ProcessRCONPacket (RCONClientConnection *_this, RCONPacket *packet, UWorld *in_world)
 
void Hook_AGameState_DefaultTimer (AGameState *_this)
 
void Hook_AShooterGameMode_BeginPlay (AShooterGameMode *_AShooterGameMode)
 
bool Hook_URCONServer_Init (URCONServer *_this, FString *Password, unsigned int InPort, UShooterCheatManager *SCheatManager)
 
void Hook_AShooterPlayerController_OnPossess (AShooterPlayerController *_this, APawn *inPawn)
 
void Hook_AShooterGameMode_Logout (AShooterGameMode *_this, AController *Exiting)
 
void Hook_UShooterCheatManager_Broadcast (UShooterCheatManager *_this, FString *msg)
 
bool Hook_AShooterGameMode_HandleNewPlayer_Implementation (AShooterGameMode *_this, AShooterPlayerController *NewPlayer, UPrimalPlayerData *PlayerData, AShooterCharacter *PlayerCharacter, bool bIsFromLogin)
 
ARK_API ICommands &APIENTRY GetCommands ()
 
ARK_API IHooks &APIENTRY GetHooks ()
 

Enumeration Type Documentation

◆ ServerStatus

Enumerator
Loading 
Ready 

Definition at line 12 of file ArkApiUtils.h.

Function Documentation

◆ DECLARE_HOOK() [1/13]

AsaApi::DECLARE_HOOK ( AGameState_DefaultTimer ,
void ,
AGameState *  )

◆ DECLARE_HOOK() [2/13]

AsaApi::DECLARE_HOOK ( AShooterGameMode_BeginPlay ,
void ,
AShooterGameMode *  )

◆ DECLARE_HOOK() [3/13]

◆ DECLARE_HOOK() [4/13]

AsaApi::DECLARE_HOOK ( AShooterGameMode_InitGame ,
void ,
AShooterGameMode * ,
FString * ,
FString * ,
FString *  )

◆ DECLARE_HOOK() [5/13]

AsaApi::DECLARE_HOOK ( AShooterGameMode_Logout ,
void ,
AShooterGameMode * ,
AController *  )

◆ DECLARE_HOOK() [6/13]

◆ DECLARE_HOOK() [7/13]

◆ DECLARE_HOOK() [8/13]

◆ DECLARE_HOOK() [9/13]

◆ DECLARE_HOOK() [10/13]

AsaApi::DECLARE_HOOK ( UEngine_Init ,
void ,
DWORD64 ,
DWORD64  )

◆ DECLARE_HOOK() [11/13]

AsaApi::DECLARE_HOOK ( URCONServer_Init ,
bool ,
URCONServer * ,
FString * ,
unsigned int ,
UShooterCheatManager *  )

◆ DECLARE_HOOK() [12/13]

AsaApi::DECLARE_HOOK ( UShooterCheatManager_Broadcast ,
void ,
UShooterCheatManager * ,
FString *  )

◆ DECLARE_HOOK() [13/13]

AsaApi::DECLARE_HOOK ( UWorld_Tick ,
void ,
DWORD64 ,
DWORD64 ,
float  )

◆ GetApiUtils()

ARK_API IApiUtils &APIENTRY AsaApi::GetApiUtils ( )

Definition at line 206 of file ApiUtils.cpp.

+ Here is the caller graph for this function:

◆ GetCommands()

ICommands & AsaApi::GetCommands ( )

Definition at line 130 of file Commands.cpp.

◆ GetHooks()

AsaApi::IHooks & AsaApi::GetHooks ( )

Definition at line 137 of file Hooks.cpp.

◆ Hook_AGameState_DefaultTimer()

void AsaApi::Hook_AGameState_DefaultTimer ( AGameState * _this)

Definition at line 157 of file HooksImpl.cpp.

+ Here is the call graph for this function:

◆ Hook_AShooterGameMode_BeginPlay()

void AsaApi::Hook_AShooterGameMode_BeginPlay ( AShooterGameMode * _AShooterGameMode)

Definition at line 168 of file HooksImpl.cpp.

◆ Hook_AShooterGameMode_HandleNewPlayer_Implementation()

bool AsaApi::Hook_AShooterGameMode_HandleNewPlayer_Implementation ( AShooterGameMode * _this,
AShooterPlayerController * NewPlayer,
UPrimalPlayerData * PlayerData,
AShooterCharacter * PlayerCharacter,
bool bIsFromLogin )

Definition at line 207 of file HooksImpl.cpp.

◆ Hook_AShooterGameMode_InitGame()

void AsaApi::Hook_AShooterGameMode_InitGame ( AShooterGameMode * a_shooter_game_mode,
FString * map_name,
FString * options,
FString * error_message )

Definition at line 86 of file HooksImpl.cpp.

◆ Hook_AShooterGameMode_Logout()

void AsaApi::Hook_AShooterGameMode_Logout ( AShooterGameMode * _this,
AController * Exiting )

Definition at line 188 of file HooksImpl.cpp.

◆ Hook_AShooterPlayerController_ConsoleCommand()

FString * AsaApi::Hook_AShooterPlayerController_ConsoleCommand ( AShooterPlayerController * _this,
FString * result,
FString * Command,
bool bWriteToLog )

Definition at line 135 of file HooksImpl.cpp.

+ Here is the call graph for this function:

◆ Hook_AShooterPlayerController_OnPossess()

void AsaApi::Hook_AShooterPlayerController_OnPossess ( AShooterPlayerController * _this,
APawn * inPawn )

Definition at line 181 of file HooksImpl.cpp.

◆ Hook_AShooterPlayerController_ServerSendChatMessage_Impl()

void AsaApi::Hook_AShooterPlayerController_ServerSendChatMessage_Impl ( AShooterPlayerController * player_controller,
FString * message,
int mode,
int senderPlatform )

Definition at line 114 of file HooksImpl.cpp.

+ Here is the call graph for this function:

◆ Hook_RCONClientConnection_ProcessRCONPacket()

void AsaApi::Hook_RCONClientConnection_ProcessRCONPacket ( RCONClientConnection * _this,
RCONPacket * packet,
UWorld * in_world )

Definition at line 146 of file HooksImpl.cpp.

+ Here is the call graph for this function:

◆ Hook_UEngine_Init()

void AsaApi::Hook_UEngine_Init ( DWORD64 _this,
DWORD64 InEngineLoop )

Definition at line 65 of file HooksImpl.cpp.

+ Here is the call graph for this function:

◆ Hook_URCONServer_Init()

bool AsaApi::Hook_URCONServer_Init ( URCONServer * _this,
FString * Password,
unsigned int InPort,
UShooterCheatManager * SCheatManager )

Definition at line 174 of file HooksImpl.cpp.

◆ Hook_UShooterCheatManager_Broadcast()

void AsaApi::Hook_UShooterCheatManager_Broadcast ( UShooterCheatManager * _this,
FString * msg )

Definition at line 196 of file HooksImpl.cpp.

+ Here is the call graph for this function:

◆ Hook_UWorld_Tick()

void AsaApi::Hook_UWorld_Tick ( DWORD64 world,
DWORD64 tick_type,
float delta_seconds )

Definition at line 77 of file HooksImpl.cpp.

+ Here is the call graph for this function:

◆ InitHooks()

void AsaApi::InitHooks ( )

Definition at line 43 of file HooksImpl.cpp.

+ Here is the caller graph for this function: