RSS

Пятница, 08.11.2024, 06:56
Главная » WoW API »

API Функции

[ Добавить запись ]

В разделе материалов: 7079
Показано материалов: 5851-5900
Страницы: « 1 2 ... 116 117 118 119 120 ... 141 142 »

Название Описание
tostring Returns a string representation of a value.
tonumber Returns the numeric value of a string.
tinsert Inserts a value into a table.
time Returns the numeric time value for a described date/time (or the current time)
tan Alternative to math.tan, using degrees instead of radians.
strupper Returns a copy of a string with all lowercase letters converted to uppercase.
strsub Returns a substring of a string.
strrev Returns the reverse of a string.
strrep Returns a string produced by a number of repetitions of another string.
strmatch Returns the matches for a for a pattern in a string.
strlower Returns a copy of a string with all uppercase letters converted to lowercase.
strlen Returns the number of characters in a string.
strfind Returns information about matches for a pattern in a string.
strchar Returns the character(s) for one or more numeric codes.
strbyte Returns the numeric code for one or more characters in a string.
sqrt Returns the square root of a number.
sort Sorts a table.
sin Alternative to math.sin, using degrees instead of radians.
setmetatable Sets the metatable for a table.
setfenv Sets the environment to be used by a function.
select Returns one or more values from a list (`...`), or the number of values in a list.
rawset Sets the value associated with a key in a table without invoking any metamethods.
rawget Returns the real value associated with a key in a table without invoking any metamethods.
rawequal Returns whether two values are equal without invoking any metamethods.
random Generates a pseudo-random number.
rad Converts an angle specified in degrees to radians.
pcall Executes a function in protected mode.
pairs Returns an iterator function for a table.
next Returns the next key/value pair in a table.
mod Returns the remainder from division of two numbers.
min Returns the least of a list of numbers.
max Returns the greatest of a list of numbers.
log10 Returns the base-10 logarithm of a number.
log Returns the natural logarithm of a number.
loadstring Loads and compiles Lua source code.
ldexp Returns the number generated by a normalized fraction and base-2 exponent.
ipairs Returns an iterator function for integer keys in a table.
gsub Returns a string in which occurrences of a pattern are replaced.
gmatch Returns an iterator function for finding pattern matches in a string.
getn This function is deprecated and should no longer be used.
getmetatable Returns an object's metatable.
getfenv Returns the environment for a function (or the global environment)
gcinfo Returns the total Lua memory usage.
frexp Returns the normalized fraction and base-2 exponent for a number.
format Returns a formatted string containing specified values.
foreachi This function is deprecated and should no longer be used.
foreach This function is deprecated and should no longer be used.
floor Returns the largest integer smaller than or equal to a number.
exp Returns the value of the exponential function for a number.
error Causes a Lua error message.