Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
API::ArkBaseApi Class Reference

#include <ArkBaseApi.h>

+ Inheritance diagram for API::ArkBaseApi:
+ Collaboration diagram for API::ArkBaseApi:

Public Member Functions

 ArkBaseApi ()
 
 ~ArkBaseApi () override=default
 
bool Init () override
 
float GetVersion () override
 
std::string GetApiName () override
 
void RegisterCommands () override
 
std::unique_ptr< ArkApi::ICommands > & GetCommands () override
 
std::unique_ptr< ArkApi::IHooks > & GetHooks () override
 
std::unique_ptr< ArkApi::IApiUtils > & GetApiUtils () override
 
- Public Member Functions inherited from API::IBaseApi
virtual ~IBaseApi ()=default
 

Static Private Member Functions

static FString LoadPlugin (FString *cmd)
 
static FString UnloadPlugin (FString *cmd)
 
static void LoadPluginCmd (APlayerController *, FString *, bool)
 
static void UnloadPluginCmd (APlayerController *, FString *, bool)
 
static void LoadPluginRcon (RCONClientConnection *, RCONPacket *, UWorld *)
 
static void UnloadPluginRcon (RCONClientConnection *, RCONPacket *, UWorld *)
 

Private Attributes

std::unique_ptr< ArkApi::ICommandscommands_
 
std::unique_ptr< ArkApi::IHookshooks_
 
std::unique_ptr< ArkApi::IApiUtilsapi_utils_
 

Detailed Description

Definition at line 9 of file ArkBaseApi.h.

Constructor & Destructor Documentation

◆ ArkBaseApi()

API::ArkBaseApi::ArkBaseApi ( )

Definition at line 21 of file ArkBaseApi.cpp.

◆ ~ArkBaseApi()

API::ArkBaseApi::~ArkBaseApi ( )
overridedefault

Member Function Documentation

◆ GetApiName()

std::string API::ArkBaseApi::GetApiName ( )
overridevirtual

Implements API::IBaseApi.

Definition at line 69 of file ArkBaseApi.cpp.

◆ GetApiUtils()

std::unique_ptr< ArkApi::IApiUtils > & API::ArkBaseApi::GetApiUtils ( )
overridevirtual

Implements API::IBaseApi.

Definition at line 84 of file ArkBaseApi.cpp.

◆ GetCommands()

std::unique_ptr< ArkApi::ICommands > & API::ArkBaseApi::GetCommands ( )
overridevirtual

Implements API::IBaseApi.

Definition at line 74 of file ArkBaseApi.cpp.

+ Here is the caller graph for this function:

◆ GetHooks()

std::unique_ptr< ArkApi::IHooks > & API::ArkBaseApi::GetHooks ( )
overridevirtual

Implements API::IBaseApi.

Definition at line 79 of file ArkBaseApi.cpp.

◆ GetVersion()

float API::ArkBaseApi::GetVersion ( )
overridevirtual

Implements API::IBaseApi.

Definition at line 64 of file ArkBaseApi.cpp.

◆ Init()

bool API::ArkBaseApi::Init ( )
overridevirtual

Implements API::IBaseApi.

Definition at line 28 of file ArkBaseApi.cpp.

+ Here is the call graph for this function:

◆ LoadPlugin()

FString API::ArkBaseApi::LoadPlugin ( FString * cmd)
staticprivate

Definition at line 97 of file ArkBaseApi.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadPluginCmd()

void API::ArkBaseApi::LoadPluginCmd ( APlayerController * player_controller,
FString * cmd,
bool  )
staticprivate

Definition at line 152 of file ArkBaseApi.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadPluginRcon()

void API::ArkBaseApi::LoadPluginRcon ( RCONClientConnection * rcon_connection,
RCONPacket * rcon_packet,
UWorld *  )
staticprivate

Definition at line 165 of file ArkBaseApi.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RegisterCommands()

void API::ArkBaseApi::RegisterCommands ( )
overridevirtual

Implements API::IBaseApi.

Definition at line 89 of file ArkBaseApi.cpp.

+ Here is the call graph for this function:

◆ UnloadPlugin()

FString API::ArkBaseApi::UnloadPlugin ( FString * cmd)
staticprivate

Definition at line 124 of file ArkBaseApi.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UnloadPluginCmd()

void API::ArkBaseApi::UnloadPluginCmd ( APlayerController * player_controller,
FString * cmd,
bool  )
staticprivate

Definition at line 158 of file ArkBaseApi.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UnloadPluginRcon()

void API::ArkBaseApi::UnloadPluginRcon ( RCONClientConnection * rcon_connection,
RCONPacket * rcon_packet,
UWorld *  )
staticprivate

Definition at line 171 of file ArkBaseApi.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ api_utils_

std::unique_ptr<ArkApi::IApiUtils> API::ArkBaseApi::api_utils_
private

Definition at line 39 of file ArkBaseApi.h.

◆ commands_

std::unique_ptr<ArkApi::ICommands> API::ArkBaseApi::commands_
private

Definition at line 37 of file ArkBaseApi.h.

◆ hooks_

std::unique_ptr<ArkApi::IHooks> API::ArkBaseApi::hooks_
private

Definition at line 38 of file ArkBaseApi.h.


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