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

Functions

ARK_API std::string GetCurrentDir ()
 
ARK_API std::string Utf8Encode (const std::wstring &wstr)
 Converts a wide Unicode string to an UTF8 string.
 
ARK_API std::wstring Utf8Decode (const std::string &str)
 Converts an UTF8 string to a wide Unicode String.
 
ARK_API bool IsPluginLoaded (const std::string &plugin_name)
 Returns true if plugin was loaded, false otherwise.
 
ARK_API float GetApiVersion ()
 Returns Current Running Api Version.
 

Function Documentation

◆ GetApiVersion()

float AsaApi::Tools::GetApiVersion ( )

Returns Current Running Api Version.

Definition at line 64 of file Tools.cpp.

◆ GetCurrentDir()

std::string AsaApi::Tools::GetCurrentDir ( )

Definition at line 8 of file Tools.cpp.

+ Here is the caller graph for this function:

◆ IsPluginLoaded()

bool AsaApi::Tools::IsPluginLoaded ( const std::string & plugin_name)

Returns true if plugin was loaded, false otherwise.

Definition at line 59 of file Tools.cpp.

◆ Utf8Decode()

std::wstring AsaApi::Tools::Utf8Decode ( const std::string & str)

Converts an UTF8 string to a wide Unicode String.

Definition at line 38 of file Tools.cpp.

◆ Utf8Encode()

std::string AsaApi::Tools::Utf8Encode ( const std::wstring & wstr)

Converts a wide Unicode string to an UTF8 string.

Definition at line 18 of file Tools.cpp.