Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
Tools.cpp File Reference
#include <Tools.h>
#include "../IBaseApi.h"
#include "../PluginManager/PluginManager.h"
+ Include dependency graph for Tools.cpp:

Go to the source code of this file.

Namespaces

namespace  ArkApi
 
namespace  ArkApi::Tools
 

Functions

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