Documente Academic
Documente Profesional
Documente Cultură
com/angelscript/)
uintptr
unsigned pointer
int HostGetAPIVersion()
Get API version
void HostOpenConsole()
Open debug console
string HostGetVersion()
Get PotPlayer's version
bool HostIsWin64()
Check PotPlayer is 64bit build or not
uint HostGetTickCount()
win32 API GetTickCount()
bool HostCheckMediaFile(const string &in filename, bool Video, bool Audio, bool
Playlist)
Check filename is Video or Audio or Playlist
string HostGetTempFolder()
Get temp folder
string HostUrlGetString(const string &in url, const string &in UserAgent = "",
const string &in Header = "", const string &in PostData = "", bool NoCookie =
false)
Get or Post HTTP(S) resource
uintptr HostOpenHTTP(const string &in url, const string &in UserAgent = "", const
string &in Header = "", const string &in PostData = "", bool NoCookie = false)
Open Get or Post HTTP(S) resource
string HostLoadString(const string &in key, const string &in def = "")
Load temp key, value string from temp storage
string HostIso639LangName()
Get current ISO639 Language name
string HostIso3166CtryName()
Get current ISO 3166 country name
return "";
if (ret)
{
assign match -> dic ... "first" and "second"
}
return ret;
------------------------jsoncpp
------JsonValue
bool isNull()
bool isBool()
bool isInt()
bool isUInt()
bool isInt64()
bool isUInt64()
bool isFloat()
bool isDouble()
bool isNumeric()
bool isString()
bool isArray()
bool isObject()
bool canString()
int asInt()
uint asUInt()
int64 asInt64()
uint64 asUInt64()
float asFloat()
double asDouble()
bool asBool()
string asString()
int size()
array<string> @getKeys() const
[int]
[string]
------JsonReader
bool parse(string &in json, JsonValue &out root)
------------------------tinyxml2
------XMLAttribute
bool isValid()
bool isBool()
bool isInt()
bool isUInt()
bool isInt64()
bool isDouble()
bool isFloat()
int asInt(int defaultValue = 0)
uint asUInt(uint defaultValue = 0)
int64 asInt64(int64 defaultValue = 0)
float asFloat(float defaultValue = 0)
double asDouble(double defaultValue = 0)
bool asBool(bool defaultValue = false)
string asString()
string Name()
string Value()
XMLAttribute Next()
------XMLElement
bool isValid(const string &in name = "")
bool isBool(const string &in name = "")
bool isInt(const string &in name = "")
bool isUInt(const string &in name = "")
bool isInt64(const string &in name = "")
bool isDouble(const string &in name = "")
bool isFloat(const string &in name = "")
int asInt(const string &in name = "", int defaultValue = 0)
uint asUInt(const string &in name = "", uint defaultValue = 0)
int64 asInt64(const string &in name = "", int64 defaultValue = 0)
float asFloat(const string &in name = "", float defaultValue = 0)
double asDouble(const string &in name = "", double defaultValue = 0)
bool asBool(const string &in name = "", bool defaultValue = false)
string asString(const string &in name = "")
string Name()
string Value()
string Attribute(const string &in name, const string &in value = "")
XMLAttribute FindAttribute(const string &in name)
XMLAttribute FirstAttribute()
XMLElement FirstChildElement(const string &in name = "")
XMLElement NextSiblingElement()
------XMLDocument
bool Parse(string &in xml)
XMLElement FirstChildElement(string &in name = "")
XMLElement RootElement()
------------------------TimXmlRpc
------XmlRpcValue
bool isNull()
bool isBool()
bool isInt()
bool isDouble()
bool isString()
bool isArray()
bool isObject()
bool canString()
int asInt()
double asDouble()
bool asBool()
string asString()
int size()
[int]
[string]
------XmlRpcClient
bool execute(const string &in cmd, const XmlRpcValue &in param, XmlRpcValue
&out result)