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

#include <AtlasBaseApi.h>

+ Inheritance diagram for API::AtlasBaseApi:
+ Collaboration diagram for API::AtlasBaseApi:

Public Member Functions

 AtlasBaseApi ()
 
 ~AtlasBaseApi () 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 AtlasBaseApi.h.

Constructor & Destructor Documentation

◆ AtlasBaseApi()

API::AtlasBaseApi::AtlasBaseApi ( )

Definition at line 20 of file AtlasBaseApi.cpp.

◆ ~AtlasBaseApi()

API::AtlasBaseApi::~AtlasBaseApi ( )
overridedefault

Member Function Documentation

◆ GetApiName()

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

Implements API::IBaseApi.

Definition at line 66 of file AtlasBaseApi.cpp.

◆ GetApiUtils()

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

Implements API::IBaseApi.

Definition at line 81 of file AtlasBaseApi.cpp.

◆ GetCommands()

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

Implements API::IBaseApi.

Definition at line 71 of file AtlasBaseApi.cpp.

+ Here is the caller graph for this function:

◆ GetHooks()

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

Implements API::IBaseApi.

Definition at line 76 of file AtlasBaseApi.cpp.

◆ GetVersion()

float API::AtlasBaseApi::GetVersion ( )
overridevirtual

Implements API::IBaseApi.

Definition at line 61 of file AtlasBaseApi.cpp.

◆ Init()

bool API::AtlasBaseApi::Init ( )
overridevirtual

Implements API::IBaseApi.

Definition at line 27 of file AtlasBaseApi.cpp.

+ Here is the call graph for this function:

◆ LoadPlugin()

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

Definition at line 94 of file AtlasBaseApi.cpp.

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

◆ LoadPluginCmd()

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

Definition at line 149 of file AtlasBaseApi.cpp.

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

◆ LoadPluginRcon()

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

Definition at line 162 of file AtlasBaseApi.cpp.

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

◆ RegisterCommands()

void API::AtlasBaseApi::RegisterCommands ( )
overridevirtual

Implements API::IBaseApi.

Definition at line 86 of file AtlasBaseApi.cpp.

+ Here is the call graph for this function:

◆ UnloadPlugin()

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

Definition at line 121 of file AtlasBaseApi.cpp.

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

◆ UnloadPluginCmd()

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

Definition at line 155 of file AtlasBaseApi.cpp.

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

◆ UnloadPluginRcon()

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

Definition at line 169 of file AtlasBaseApi.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::AtlasBaseApi::api_utils_
private

Definition at line 39 of file AtlasBaseApi.h.

◆ commands_

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

Definition at line 37 of file AtlasBaseApi.h.

◆ hooks_

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

Definition at line 38 of file AtlasBaseApi.h.


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