Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
AsaApi::IApiUtils Class Referenceabstract

#include <ArkApiUtils.h>

+ Inheritance diagram for AsaApi::IApiUtils:

Public Member Functions

virtual ~IApiUtils ()=default
 
virtual UWorldGetWorld () const =0
 Returns a pointer to UWorld.
 
virtual AShooterGameModeGetShooterGameMode () const =0
 Returns a pointer to AShooterGameMode.
 
virtual ServerStatus GetStatus () const =0
 Returns the current server status.
 
virtual UShooterCheatManagerGetCheatManager () const =0
 Returns a point to URCON CheatManager.
 
template<typename T , typename... Args>
FORCEINLINE void SendServerMessage (AShooterPlayerController *player_controller, FLinearColor msg_color, const T *msg, Args &&... args)
 Sends server message to the specific player. Using fmt::format.
 
template<typename T , typename... Args>
FORCEINLINE void SendNotification (AShooterPlayerController *player_controller, FLinearColor color, float display_scale, float display_time, UTexture2D *icon, const T *msg, Args &&... args)
 Sends notification (on-screen message) to the specific player. Using fmt::format.
 
template<typename T , typename... Args>
FORCEINLINE void SendChatMessage (AShooterPlayerController *player_controller, const FString &sender_name, const T *msg, Args &&... args)
 Sends chat message to the specific player. Using fmt::format.
 
template<typename T , typename... Args>
FORCEINLINE void SendServerMessageToAll (FLinearColor msg_color, const T *msg, Args &&... args)
 Sends server message to all players. Using fmt::format.
 
template<typename T , typename... Args>
FORCEINLINE void SendNotificationToAll (FLinearColor color, float display_scale, float display_time, UTexture2D *icon, const T *msg, Args &&... args)
 Sends notification (on-screen message) to all players. Using fmt::format.
 
template<typename T , typename... Args>
FORCEINLINE void SendChatMessageToAll (const FString &sender_name, const T *msg, Args &&... args)
 Sends chat message to all players. Using fmt::format.
 
FORCEINLINE AShooterPlayerControllerFindPlayerFromPlatformName (const FString &steam_name) const
 Finds player from the given platform name (can be steam, Playstation, Xbox, etc...)
 
FORCEINLINE AShooterPlayerControllerFindControllerFromCharacter (AShooterCharacter *character) const
 Finds player controller from the given player character.
 
FORCEINLINE TArray< AShooterPlayerController * > FindPlayerFromCharacterName (const FString &character_name, ESearchCase::Type search, bool full_match) const
 Finds all matching players from the given character name.
 
FORCEINLINE AShooterPlayerControllerFindPlayerFromEOSID (const FString &eos_id) const
 Finds player from the given eos id.
 
FORCEINLINE bool SpawnDrop (const wchar_t *blueprint, FVector pos, int amount, float item_quality=0.0f, bool force_blueprint=false, float life_span=0.0f) const
 Spawns an item drop.
 
FORCEINLINE APrimalDinoCharacterSpawnDino (AShooterPlayerController *player, FString blueprint, FVector *location, int lvl, bool force_tame, bool neutered) const
 Spawns a dino near player or at specific coordinates.
 
FORCEINLINE const FString GetEOSIDForPlayerID (int player_id)
 
FORCEINLINE AShooterGameStateGetGameState ()
 Get Shooter Game State.
 
FORCEINLINE UPrimalGameDataGetGameData ()
 Returns pointer to Primal Game Data.
 
FORCEINLINE TArray< AActor * > GetAllActorsInRange (FVector location, float radius, EServerOctreeGroup::Type ActorType)
 Gets all actors in radius at location.
 
FORCEINLINE TArray< AActor * > GetAllActorsInRange (FVector location, float radius, EServerOctreeGroup::Type ActorType, TArray< AActor * > ignores)
 Gets all actors in radius at location, with ignore actors.
 
FORCEINLINE MapCoords FVectorToCoords (FVector actor_position)
 Converts FVector into coords that are displayed when you view the ingame map.
 
FORCEINLINE const FString GetAttackerEOSID (AActor *target, AController *killer, AActor *damage_causer, bool tribe_check=true)
 obtains the steam ID of an attacker, meant to be used in hooks such as TakeDamage
 
void RunHiddenCommand (AShooterPlayerController *_this, FString *Command)
 Runs a command that is not logged anywhere.
 
FORCEINLINE std::shared_ptr< MessagingManagerGetMessagingManager () const
 Gets the current messaging manager for the plugin, without casting.
 
template<class T >
FORCEINLINE std::shared_ptr< TGetMessagingManagerCasted () const
 Gets the current messaging manager for the plugin.
 
template<class T >
void SetMessagingManager ()
 Sets the messaging manager for the current plugin.
 

Static Public Member Functions

static FORCEINLINE FString GetEOSIDFromController (AController *controller)
 Returns EOS ID from player controller.
 
static FORCEINLINE FString GetCharacterName (AShooterPlayerController *player_controller)
 Returns the character name of player.
 
static FORCEINLINE FString GetSteamName (AController *player_controller)
 Returns the steam name of player.
 
static FORCEINLINE bool IsRidingDino (AShooterPlayerController *player_controller)
 Returns true if character is riding a dino, false otherwise.
 
static FORCEINLINE APrimalDinoCharacterGetRidingDino (AShooterPlayerController *player_controller)
 Returns the dino the character is riding.
 
static FORCEINLINE FVector GetPosition (APlayerController *player_controller)
 Returns the position of a player.
 
static FORCEINLINE std::optional< FStringTeleportToPlayer (AShooterPlayerController *me, AShooterPlayerController *him, bool check_for_dino, float max_dist)
 Teleport one player to another.
 
static FORCEINLINE bool TeleportToPos (AShooterPlayerController *player_controller, const FVector &pos)
 Teleports player to the given position.
 
static FORCEINLINE int GetInventoryItemCount (AShooterPlayerController *player_controller, const FString &item_name)
 Counts a specific items quantity.
 
static FORCEINLINE FString GetIPAddress (AShooterPlayerController *player)
 Returns IP address of player.
 
static FORCEINLINE FString GetItemBlueprint (UPrimalItem *item)
 Returns blueprint from UPrimalItem.
 
static FORCEINLINE bool IsPlayerDead (AShooterPlayerController *player)
 Returns true if player is dead, false otherwise.
 
static FORCEINLINE uint64 GetPlayerID (APrimalCharacter *character)
 
static FORCEINLINE uint64 GetPlayerID (AController *controller)
 
static FORCEINLINE FString GetBlueprint (UObjectBase *object)
 Returns blueprint path from any UObject.
 
static FORCEINLINE FString GetClassBlueprint (UClass *the_class)
 Returns blueprint path from any UClass.
 
static FORCEINLINE UShooterCheatManagerGetCheatManagerByPC (AShooterPlayerController *SPC)
 Get UShooterCheatManager* of player controller.
 
static FORCEINLINE int GetTribeID (AShooterPlayerController *player_controller)
 Get Tribe ID of player controller.
 
static FORCEINLINE int GetTribeID (AShooterCharacter *player_character)
 Get Tribe ID of character.
 
template<class T >
static FORCEINLINE TAllocateStruct ()
 Create a new object of T, with the correct size.
 
static FORCEINLINE void FreeStruct (void *obj)
 Free a struct allocated.
 

Private Member Functions

virtual AShooterPlayerControllerFindPlayerFromEOSID_Internal (const FString &eos_id) const =0
 
virtual std::shared_ptr< MessagingManagerGetMessagingManagerInternal (const FString &forPlugin) const =0
 
virtual void SetMessagingManagerInternal (const FString &forPlugin, std::shared_ptr< MessagingManager > manager)=0
 

Detailed Description

Definition at line 20 of file ArkApiUtils.h.

Constructor & Destructor Documentation

◆ ~IApiUtils()

virtual AsaApi::IApiUtils::~IApiUtils ( )
virtualdefault

Member Function Documentation

◆ AllocateStruct()

template<class T >
static FORCEINLINE T * AsaApi::IApiUtils::AllocateStruct ( )
inlinestatic

Create a new object of T, with the correct size.

Template Parameters
Tstruct type. Must have ScriptStruct defined
Returns
Pointer to T

Definition at line 744 of file ArkApiUtils.h.

◆ FindControllerFromCharacter()

FORCEINLINE AShooterPlayerController * AsaApi::IApiUtils::FindControllerFromCharacter ( AShooterCharacter * character) const
inline

Finds player controller from the given player character.

Parameters
characterPlayer character
Returns
Pointer to AShooterPlayerController

Definition at line 182 of file ArkApiUtils.h.

+ Here is the call graph for this function:

◆ FindPlayerFromCharacterName()

FORCEINLINE TArray< AShooterPlayerController * > AsaApi::IApiUtils::FindPlayerFromCharacterName ( const FString & character_name,
ESearchCase::Type search,
bool full_match ) const
inline

Finds all matching players from the given character name.

Parameters
character_nameCharacter name
searchType Defaulted To ESearchCase::Type::IgnoreCase
full_matchWill match the full length of the string if true
Returns
Array of AShooterPlayerController*

Definition at line 199 of file ArkApiUtils.h.

+ Here is the call graph for this function:

◆ FindPlayerFromEOSID()

FORCEINLINE AShooterPlayerController * AsaApi::IApiUtils::FindPlayerFromEOSID ( const FString & eos_id) const
inline

Finds player from the given eos id.

Parameters
eos_idEOS id
Returns
Pointer to AShooterPlayerController

Definition at line 250 of file ArkApiUtils.h.

+ Here is the call graph for this function:

◆ FindPlayerFromEOSID_Internal()

virtual AShooterPlayerController * AsaApi::IApiUtils::FindPlayerFromEOSID_Internal ( const FString & eos_id) const
privatepure virtual

Implemented in AsaApi::ApiUtils.

+ Here is the caller graph for this function:

◆ FindPlayerFromPlatformName()

FORCEINLINE AShooterPlayerController * AsaApi::IApiUtils::FindPlayerFromPlatformName ( const FString & steam_name) const
inline

Finds player from the given platform name (can be steam, Playstation, Xbox, etc...)

Parameters
steam_namePlatform name
Returns
Pointer to AShooterPlayerController

Definition at line 158 of file ArkApiUtils.h.

+ Here is the call graph for this function:

◆ FreeStruct()

static FORCEINLINE void AsaApi::IApiUtils::FreeStruct ( void * obj)
inlinestatic

Free a struct allocated.

Parameters
objPointer to struct

Definition at line 756 of file ArkApiUtils.h.

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

◆ FVectorToCoords()

FORCEINLINE MapCoords AsaApi::IApiUtils::FVectorToCoords ( FVector actor_position)
inline

Converts FVector into coords that are displayed when you view the ingame map.

Definition at line 691 of file ArkApiUtils.h.

+ Here is the call graph for this function:

◆ GetAllActorsInRange() [1/2]

FORCEINLINE TArray< AActor * > AsaApi::IApiUtils::GetAllActorsInRange ( FVector location,
float radius,
EServerOctreeGroup::Type ActorType )
inline

Gets all actors in radius at location.

Definition at line 664 of file ArkApiUtils.h.

◆ GetAllActorsInRange() [2/2]

FORCEINLINE TArray< AActor * > AsaApi::IApiUtils::GetAllActorsInRange ( FVector location,
float radius,
EServerOctreeGroup::Type ActorType,
TArray< AActor * > ignores )
inline

Gets all actors in radius at location, with ignore actors.

Definition at line 676 of file ArkApiUtils.h.

◆ GetAttackerEOSID()

FORCEINLINE const FString AsaApi::IApiUtils::GetAttackerEOSID ( AActor * target,
AController * killer,
AActor * damage_causer,
bool tribe_check = true )
inline

obtains the steam ID of an attacker, meant to be used in hooks such as TakeDamage

Parameters
tribe_checkif set to true will return NULL if the target is from the same tribe as the attacker

Definition at line 718 of file ArkApiUtils.h.

+ Here is the call graph for this function:

◆ GetBlueprint()

static FORCEINLINE FString AsaApi::IApiUtils::GetBlueprint ( UObjectBase * object)
inlinestatic

Returns blueprint path from any UObject.

Definition at line 567 of file ArkApiUtils.h.

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

◆ GetCharacterName()

static FORCEINLINE FString AsaApi::IApiUtils::GetCharacterName ( AShooterPlayerController * player_controller)
inlinestatic

Returns the character name of player.

Parameters
player_controllerPlayer

Definition at line 224 of file ArkApiUtils.h.

+ Here is the call graph for this function:

◆ GetCheatManager()

virtual UShooterCheatManager * AsaApi::IApiUtils::GetCheatManager ( ) const
pure virtual

Returns a point to URCON CheatManager.

Implemented in AsaApi::ApiUtils.

◆ GetCheatManagerByPC()

static FORCEINLINE UShooterCheatManager * AsaApi::IApiUtils::GetCheatManagerByPC ( AShooterPlayerController * SPC)
inlinestatic

Get UShooterCheatManager* of player controller.

Definition at line 608 of file ArkApiUtils.h.

◆ GetClassBlueprint()

static FORCEINLINE FString AsaApi::IApiUtils::GetClassBlueprint ( UClass * the_class)
inlinestatic

Returns blueprint path from any UClass.

Definition at line 581 of file ArkApiUtils.h.

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

◆ GetEOSIDForPlayerID()

FORCEINLINE const FString AsaApi::IApiUtils::GetEOSIDForPlayerID ( int player_id)
inline

Definition at line 532 of file ArkApiUtils.h.

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

◆ GetEOSIDFromController()

static FORCEINLINE FString AsaApi::IApiUtils::GetEOSIDFromController ( AController * controller)
inlinestatic

Returns EOS ID from player controller.

Definition at line 142 of file ArkApiUtils.h.

+ Here is the caller graph for this function:

◆ GetGameData()

FORCEINLINE UPrimalGameData * AsaApi::IApiUtils::GetGameData ( )
inline

Returns pointer to Primal Game Data.

Definition at line 655 of file ArkApiUtils.h.

+ Here is the call graph for this function:

◆ GetGameState()

FORCEINLINE AShooterGameState * AsaApi::IApiUtils::GetGameState ( )
inline

Get Shooter Game State.

Definition at line 600 of file ArkApiUtils.h.

◆ GetInventoryItemCount()

static FORCEINLINE int AsaApi::IApiUtils::GetInventoryItemCount ( AShooterPlayerController * player_controller,
const FString & item_name )
inlinestatic

Counts a specific items quantity.

Parameters
player_controllerPlayer
item_nameThe name of the item you want to count the quantity of
Returns
On success, the function returns amount of items player has. Returns -1 if the function has failed.

Definition at line 456 of file ArkApiUtils.h.

◆ GetIPAddress()

static FORCEINLINE FString AsaApi::IApiUtils::GetIPAddress ( AShooterPlayerController * player)
inlinestatic

Returns IP address of player.

Definition at line 489 of file ArkApiUtils.h.

+ Here is the call graph for this function:

◆ GetItemBlueprint()

static FORCEINLINE FString AsaApi::IApiUtils::GetItemBlueprint ( UPrimalItem * item)
inlinestatic

Returns blueprint from UPrimalItem.

Definition at line 500 of file ArkApiUtils.h.

+ Here is the call graph for this function:

◆ GetMessagingManager()

FORCEINLINE std::shared_ptr< MessagingManager > AsaApi::IApiUtils::GetMessagingManager ( ) const
inline

Gets the current messaging manager for the plugin, without casting.

Returns
MessagingManager

Definition at line 778 of file ArkApiUtils.h.

◆ GetMessagingManagerCasted()

template<class T >
FORCEINLINE std::shared_ptr< T > AsaApi::IApiUtils::GetMessagingManagerCasted ( ) const
inline

Gets the current messaging manager for the plugin.

Template Parameters
TMessagingManager type
Returns
MessagingManager as T

Definition at line 789 of file ArkApiUtils.h.

◆ GetMessagingManagerInternal()

virtual std::shared_ptr< MessagingManager > AsaApi::IApiUtils::GetMessagingManagerInternal ( const FString & forPlugin) const
privatepure virtual

Implemented in AsaApi::ApiUtils.

◆ GetPlayerID() [1/2]

static FORCEINLINE uint64 AsaApi::IApiUtils::GetPlayerID ( AController * controller)
inlinestatic

Definition at line 526 of file ArkApiUtils.h.

+ Here is the call graph for this function:

◆ GetPlayerID() [2/2]

static FORCEINLINE uint64 AsaApi::IApiUtils::GetPlayerID ( APrimalCharacter * character)
inlinestatic

Definition at line 518 of file ArkApiUtils.h.

+ Here is the call graph for this function:

◆ GetPosition()

static FORCEINLINE FVector AsaApi::IApiUtils::GetPosition ( APlayerController * player_controller)
inlinestatic

Returns the position of a player.

Parameters
player_controllerPlayer
Returns
FVector

Definition at line 389 of file ArkApiUtils.h.

◆ GetRidingDino()

static FORCEINLINE APrimalDinoCharacter * AsaApi::IApiUtils::GetRidingDino ( AShooterPlayerController * player_controller)
inlinestatic

Returns the dino the character is riding.

Parameters
player_controllerPlayer
Returns
APrimalDinoCharacter*

Definition at line 377 of file ArkApiUtils.h.

◆ GetShooterGameMode()

virtual AShooterGameMode * AsaApi::IApiUtils::GetShooterGameMode ( ) const
pure virtual

Returns a pointer to AShooterGameMode.

Implemented in AsaApi::ApiUtils.

+ Here is the caller graph for this function:

◆ GetStatus()

virtual ServerStatus AsaApi::IApiUtils::GetStatus ( ) const
pure virtual

Returns the current server status.

Implemented in AsaApi::ApiUtils.

◆ GetSteamName()

static FORCEINLINE FString AsaApi::IApiUtils::GetSteamName ( AController * player_controller)
inlinestatic

Returns the steam name of player.

Parameters
player_controllerPlayer

Definition at line 240 of file ArkApiUtils.h.

◆ GetTribeID() [1/2]

static FORCEINLINE int AsaApi::IApiUtils::GetTribeID ( AShooterCharacter * player_character)
inlinestatic

Get Tribe ID of character.

Definition at line 640 of file ArkApiUtils.h.

+ Here is the call graph for this function:

◆ GetTribeID() [2/2]

static FORCEINLINE int AsaApi::IApiUtils::GetTribeID ( AShooterPlayerController * player_controller)
inlinestatic

Get Tribe ID of player controller.

Definition at line 625 of file ArkApiUtils.h.

+ Here is the call graph for this function:

◆ GetWorld()

virtual UWorld * AsaApi::IApiUtils::GetWorld ( ) const
pure virtual

Returns a pointer to UWorld.

Implemented in AsaApi::ApiUtils.

+ Here is the caller graph for this function:

◆ IsPlayerDead()

static FORCEINLINE bool AsaApi::IApiUtils::IsPlayerDead ( AShooterPlayerController * player)
inlinestatic

Returns true if player is dead, false otherwise.

Definition at line 508 of file ArkApiUtils.h.

+ Here is the caller graph for this function:

◆ IsRidingDino()

static FORCEINLINE bool AsaApi::IApiUtils::IsRidingDino ( AShooterPlayerController * player_controller)
inlinestatic

Returns true if character is riding a dino, false otherwise.

Parameters
player_controllerPlayer

Definition at line 366 of file ArkApiUtils.h.

+ Here is the caller graph for this function:

◆ RunHiddenCommand()

void AsaApi::IApiUtils::RunHiddenCommand ( AShooterPlayerController * _this,
FString * Command )
inline

Runs a command that is not logged anywhere.

Parameters
_thisPlayer controller
CommandCommand to run

Definition at line 766 of file ArkApiUtils.h.

+ Here is the call graph for this function:

◆ SendChatMessage()

template<typename T , typename... Args>
FORCEINLINE void AsaApi::IApiUtils::SendChatMessage ( AShooterPlayerController * player_controller,
const FString & sender_name,
const T * msg,
Args &&... args )
inline

Sends chat message to the specific player. Using fmt::format.

Template Parameters
TEither a a char or wchar_t
ArgsOptional arguments types
Parameters
player_controllerPlayer
sender_nameName of the sender
msgMessage
argsOptional arguments

Definition at line 87 of file ArkApiUtils.h.

◆ SendChatMessageToAll()

template<typename T , typename... Args>
FORCEINLINE void AsaApi::IApiUtils::SendChatMessageToAll ( const FString & sender_name,
const T * msg,
Args &&... args )
inline

Sends chat message to all players. Using fmt::format.

Template Parameters
TEither a a char or wchar_t
ArgsOptional arguments types
Parameters
sender_nameName of the sender
msgMessage
argsOptional arguments

Definition at line 134 of file ArkApiUtils.h.

◆ SendNotification()

template<typename T , typename... Args>
FORCEINLINE void AsaApi::IApiUtils::SendNotification ( AShooterPlayerController * player_controller,
FLinearColor color,
float display_scale,
float display_time,
UTexture2D * icon,
const T * msg,
Args &&... args )
inline

Sends notification (on-screen message) to the specific player. Using fmt::format.

Template Parameters
TEither a a char or wchar_t
ArgsOptional arguments types
Parameters
player_controllerPlayer
colorMessage color
display_scaleSize of text
display_timeDisplay time
iconMessage icon (optional)
msgMessage
argsOptional arguments

Definition at line 71 of file ArkApiUtils.h.

◆ SendNotificationToAll()

template<typename T , typename... Args>
FORCEINLINE void AsaApi::IApiUtils::SendNotificationToAll ( FLinearColor color,
float display_scale,
float display_time,
UTexture2D * icon,
const T * msg,
Args &&... args )
inline

Sends notification (on-screen message) to all players. Using fmt::format.

Template Parameters
TEither a a char or wchar_t
ArgsOptional arguments types
Parameters
colorMessage color
display_scaleSize of text
display_timeDisplay time
iconMessage icon (optional)
msgMessage
argsOptional arguments

Definition at line 119 of file ArkApiUtils.h.

◆ SendServerMessage()

template<typename T , typename... Args>
FORCEINLINE void AsaApi::IApiUtils::SendServerMessage ( AShooterPlayerController * player_controller,
FLinearColor msg_color,
const T * msg,
Args &&... args )
inline

Sends server message to the specific player. Using fmt::format.

Template Parameters
TEither a a char or wchar_t
ArgsOptional arguments types
Parameters
player_controllerPlayer
msg_colorMessage color
msgMessage
argsOptional arguments

Definition at line 53 of file ArkApiUtils.h.

◆ SendServerMessageToAll()

template<typename T , typename... Args>
FORCEINLINE void AsaApi::IApiUtils::SendServerMessageToAll ( FLinearColor msg_color,
const T * msg,
Args &&... args )
inline

Sends server message to all players. Using fmt::format.

Template Parameters
TEither a a char or wchar_t
ArgsOptional arguments types
Parameters
msg_colorMessage color
msgMessage
argsOptional arguments

Definition at line 102 of file ArkApiUtils.h.

◆ SetMessagingManager()

template<class T >
void AsaApi::IApiUtils::SetMessagingManager ( )
inline

Sets the messaging manager for the current plugin.

Template Parameters
TMessagingManager type

Definition at line 800 of file ArkApiUtils.h.

◆ SetMessagingManagerInternal()

virtual void AsaApi::IApiUtils::SetMessagingManagerInternal ( const FString & forPlugin,
std::shared_ptr< MessagingManager > manager )
privatepure virtual

Implemented in AsaApi::ApiUtils.

◆ SpawnDino()

FORCEINLINE APrimalDinoCharacter * AsaApi::IApiUtils::SpawnDino ( AShooterPlayerController * player,
FString blueprint,
FVector * location,
int lvl,
bool force_tame,
bool neutered ) const
inline

Spawns a dino near player or at specific coordinates.

Parameters
playerPlayer. If null, random player will be chosen. At least one player should be on the map
blueprintBlueprint path
locationSpawn position. If null, dino will be spawned near player
lvlLevel of the dino
force_tameForce tame
neuteredNeuter dino
Returns
Spawned dino or null

Definition at line 309 of file ArkApiUtils.h.

+ Here is the call graph for this function:

◆ SpawnDrop()

FORCEINLINE bool AsaApi::IApiUtils::SpawnDrop ( const wchar_t * blueprint,
FVector pos,
int amount,
float item_quality = 0.0f,
bool force_blueprint = false,
float life_span = 0.0f ) const
inline

Spawns an item drop.

Parameters
blueprintItem simplified BP Example: '/Game/PrimalEarth/CoreBlueprints/Items/Armor/Riot/PrimalItemArmor_RiotPants.PrimalItemArmor_RiotPants_C'
posSpawn position
amountQuantity
item_qualityQuality
force_blueprintIs blueprint
life_spanLife span
Returns
Returns true if drop was spawned, false otherwise

Definition at line 266 of file ArkApiUtils.h.

+ Here is the call graph for this function:

◆ TeleportToPlayer()

static FORCEINLINE std::optional< FString > AsaApi::IApiUtils::TeleportToPlayer ( AShooterPlayerController * me,
AShooterPlayerController * him,
bool check_for_dino,
float max_dist )
inlinestatic

Teleport one player to another.

Parameters
mePlayer
himOther Player
check_for_dinoIf set true prevents players teleporting with dino's or teleporting to a player on a dino
max_distIs the max distance the characters can be away from each other -1 is disabled

Definition at line 401 of file ArkApiUtils.h.

+ Here is the call graph for this function:

◆ TeleportToPos()

static FORCEINLINE bool AsaApi::IApiUtils::TeleportToPos ( AShooterPlayerController * player_controller,
const FVector & pos )
inlinestatic

Teleports player to the given position.

Parameters
player_controllerPlayer
posNew position

Definition at line 439 of file ArkApiUtils.h.

+ Here is the call graph for this function:

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