![]() |
Ark Server API 3.54
Serverside plugin support for Ark Survival Evolved.
|
Namespaces | |
namespace | Tools |
Classes | |
class | ApiUtils |
class | Commands |
class | IApiUtils |
class | ICommands |
class | IHooks |
struct | MapCoords |
Enumerations | |
enum class | ServerStatus { Loading , Ready , Loading , Ready } |
enum class | ServerStatus { Loading , Ready , Loading , Ready } |
struct ArkApi::MapCoords |
Definition at line 12 of file ArkApiUtils.h.
Class Members | ||
---|---|---|
float | x = 0.f | |
float | y = 0.f |
|
strong |
Enumerator | |
---|---|
Loading | |
Ready | |
Loading | |
Ready |
Definition at line 10 of file ArkApiUtils.h.
|
strong |
Enumerator | |
---|---|
Loading | |
Ready | |
Loading | |
Ready |
Definition at line 9 of file AtlasApiUtils.h.
ArkApi::DECLARE_HOOK | ( | AGameState_DefaultTimer | , |
void | , | ||
AGameState * | |||
) |
ArkApi::DECLARE_HOOK | ( | APlayerController_ConsoleCommand | , |
FString * | , | ||
APlayerController * | , | ||
FString * | , | ||
FString * | , | ||
bool | |||
) |
ArkApi::DECLARE_HOOK | ( | APlayerController_ServerReceivedPlayerControllerAck_Implementation | , |
void | , | ||
APlayerController * | |||
) |
ArkApi::DECLARE_HOOK | ( | AShooterGameMode_BeginPlay | , |
void | , | ||
AShooterGameMode * | |||
) |
ArkApi::DECLARE_HOOK | ( | AShooterGameMode_InitGame | , |
void | , | ||
AShooterGameMode * | , | ||
FString * | , | ||
FString * | , | ||
FString * | |||
) |
ArkApi::DECLARE_HOOK | ( | AShooterGameMode_Logout | , |
void | , | ||
AShooterGameMode * | , | ||
AController * | |||
) |
ArkApi::DECLARE_HOOK | ( | AShooterPlayerController_ConsoleCommand | , |
FString * | , | ||
AShooterPlayerController * | , | ||
FString * | , | ||
FString * | , | ||
bool | |||
) |
ArkApi::DECLARE_HOOK | ( | AShooterPlayerController_Possess | , |
void | , | ||
AShooterPlayerController * | , | ||
APawn * | |||
) |
ArkApi::DECLARE_HOOK | ( | AShooterPlayerController_ServerSendChatMessage_Impl | , |
void | , | ||
AShooterPlayerController * | , | ||
FString * | , | ||
EChatSendMode::Type | |||
) |
ArkApi::DECLARE_HOOK | ( | RCONClientConnection_ProcessRCONPacket | , |
void | , | ||
RCONClientConnection * | , | ||
RCONPacket * | , | ||
UWorld * | |||
) |
ArkApi::DECLARE_HOOK | ( | UEngine_Init | , |
void | , | ||
DWORD64 | , | ||
DWORD64 | |||
) |
ArkApi::DECLARE_HOOK | ( | URCONServer_Init | , |
bool | , | ||
URCONServer * | , | ||
FString | , | ||
int | , | ||
UShooterCheatManager * | |||
) |
ArkApi::DECLARE_HOOK | ( | UWorld_InitWorld | , |
void | , | ||
UWorld * | , | ||
DWORD64 | |||
) |
ArkApi::DECLARE_HOOK | ( | UWorld_Tick | , |
void | , | ||
DWORD64 | , | ||
DWORD64 | , | ||
float | |||
) |
Definition at line 99 of file ApiUtils.cpp.
References API::game_api.
Referenced by API::PluginManager::DetectPluginChanges(), Hook_AShooterPlayerController_ServerSendChatMessage_Impl(), AtlasApi::Hook_AShooterPlayerController_ServerSendChatMessage_Impl(), API::ArkBaseApi::LoadPluginCmd(), API::AtlasBaseApi::LoadPluginCmd(), API::ArkBaseApi::UnloadPluginCmd(), and API::AtlasBaseApi::UnloadPluginCmd().
Definition at line 134 of file Commands.cpp.
References API::game_api.
ArkApi::IHooks & ArkApi::GetHooks | ( | ) |
Definition at line 137 of file Hooks.cpp.
References API::game_api.
void ArkApi::Hook_AGameState_DefaultTimer | ( | AGameState * | _this | ) |
Definition at line 160 of file HooksImpl.cpp.
References ArkApi::Commands::CheckOnTimerCallbacks(), API::PluginManager::DetectPluginChangesTimerCallback(), and API::game_api.
Referenced by InitHooks().
FString * ArkApi::Hook_APlayerController_ConsoleCommand | ( | APlayerController * | a_player_controller, |
FString * | result, | ||
FString * | cmd, | ||
bool | write_to_log | ||
) |
void ArkApi::Hook_APlayerController_ServerReceivedPlayerControllerAck_Implementation | ( | APlayerController * | _this | ) |
void ArkApi::Hook_AShooterGameMode_BeginPlay | ( | AShooterGameMode * | _AShooterGameMode | ) |
Definition at line 173 of file HooksImpl.cpp.
References API::game_api, and Ready.
Referenced by InitHooks().
void ArkApi::Hook_AShooterGameMode_InitGame | ( | AShooterGameMode * | a_shooter_game_mode, |
FString * | map_name, | ||
FString * | options, | ||
FString * | error_message | ||
) |
void ArkApi::Hook_AShooterGameMode_Logout | ( | AShooterGameMode * | _this, |
AController * | Exiting | ||
) |
FString * ArkApi::Hook_AShooterPlayerController_ConsoleCommand | ( | AShooterPlayerController * | _this, |
FString * | result, | ||
FString * | Command, | ||
bool | bWriteToLog | ||
) |
void ArkApi::Hook_AShooterPlayerController_Possess | ( | AShooterPlayerController * | _this, |
APawn * | inPawn | ||
) |
void ArkApi::Hook_AShooterPlayerController_ServerSendChatMessage_Impl | ( | AShooterPlayerController * | player_controller, |
FString * | message, | ||
EChatSendMode::Type | mode | ||
) |
Definition at line 104 of file HooksImpl.cpp.
References API::game_api, GetApiUtils(), ArkApi::IApiUtils::GetWorld(), AShooterPlayerController::LastChatMessageTimeField(), and UWorld::TimeSecondsField().
Referenced by InitHooks().
void ArkApi::Hook_RCONClientConnection_ProcessRCONPacket | ( | RCONClientConnection * | _this, |
RCONPacket * | packet, | ||
UWorld * | in_world | ||
) |
Definition at line 149 of file HooksImpl.cpp.
References API::game_api, and RCONClientConnection::IsAuthenticatedField().
Referenced by InitHooks().
void ArkApi::Hook_UEngine_Init | ( | DWORD64 | _this, |
DWORD64 | InEngineLoop | ||
) |
Definition at line 64 of file HooksImpl.cpp.
References API::PluginManager::Get(), Log::GetLog(), API::PluginManager::LoadAllPlugins(), and API::IBaseApi::RegisterCommands().
Referenced by InitHooks().
bool ArkApi::Hook_URCONServer_Init | ( | URCONServer * | _this, |
FString | Password, | ||
int | InPort, | ||
UShooterCheatManager * | SCheatManager | ||
) |
void ArkApi::Hook_UWorld_InitWorld | ( | UWorld * | world, |
DWORD64 | ivs | ||
) |
Definition at line 76 of file HooksImpl.cpp.
References API::game_api, and Log::GetLog().
Referenced by InitHooks().
void ArkApi::Hook_UWorld_Tick | ( | DWORD64 | world, |
DWORD64 | tick_type, | ||
float | delta_seconds | ||
) |
Definition at line 85 of file HooksImpl.cpp.
References ArkApi::Commands::CheckOnTickCallbacks(), and API::game_api.
Referenced by InitHooks().
void ArkApi::InitHooks | ( | ) |
Definition at line 31 of file HooksImpl.cpp.
References API::game_api, Log::GetLog(), Hook_AGameState_DefaultTimer(), Hook_APlayerController_ConsoleCommand(), Hook_APlayerController_ServerReceivedPlayerControllerAck_Implementation(), Hook_AShooterGameMode_BeginPlay(), Hook_AShooterGameMode_InitGame(), Hook_AShooterGameMode_Logout(), Hook_AShooterPlayerController_ConsoleCommand(), Hook_AShooterPlayerController_Possess(), Hook_AShooterPlayerController_ServerSendChatMessage_Impl(), Hook_RCONClientConnection_ProcessRCONPacket(), Hook_UEngine_Init(), Hook_URCONServer_Init(), Hook_UWorld_InitWorld(), and Hook_UWorld_Tick().
Referenced by API::ArkBaseApi::Init().