global

# Functions

[{"index":"any assert(any v, string message = \"assertion failed!\") (Static)","0":"Calls error if the value of v is false or nil. If the value of v is true, returns all its parameters. In the case of an error, the message is the error entity; when absent, it defaults to \"assertion failed!\"."}]

[{"index":"void error(string message, integer level = 1) (Static)","0":"Exits the function and returns an error message."}]

[{"index":"any collectgarbage(string opt = \"collect\", any arg = nil) (Static)","0":"This is a generic interface to the garbage collector. It performs different functions according to opt:"}]

[{"index":"any getmetatable(any object) (Static)","0":"If object does not have a metatable, returns nil. If the object's metatable has a __metatable field, returns the associated value. Otherwise, returns the metatable of the given object."}]

[{"index":"func, any, integer ipairs(any t) (Static)","0":"Returns an iterator function, t, and 0. You can repeat numeric indexes and elements when used in an iteration statement."}]

[{"index":"any, any next(table table, any index = nil) (Static)","0":"Returns the following keys and elements of the table. Returns the following keys and elements based on the index if an index is specified. The order in which the indices are enumerated is not specified, even for numeric indices."}]

[{"index":"func, any, any pairs(any t) (Static)","0":"Returns an iterator function, t, and nil. You can repeat t's keys and elements when used in an iteration statement."}]

[{"index":"boolean, any... pcall(func f, any... args) (Static)","0":"Calls function f in protected mode with the given arguments. Even if an error occurs inside f, it is not transferred to the outside. Instead, pcall catches the error and returns a state code. Its first result is true if the call succeeds without errors. The second result is the results of the function. If an error occurs, pcall returns false plus the error message."}]

[{"index":"void print(any... args) (Static)","0":"Receives any number of arguments and outputs their values using the tostring function to convert each argument to a string."}]

[{"index":"boolean rawequal(any v1, any v2) (Static)","0":"Checks whether v1 is equal to v2, without calling the __eq metamethod."}]

[{"index":"any rawget(table table, any index) (Static)","0":"Gets the real value of t[index] without calling the __index metamethod."}]

[{"index":"integer rawlen(any v) (Static)","0":"Returns the length of the object v without calling the __len metamethod."}]

[{"index":"table rawset(table table, any index, any value) (Static)","0":"Sets the real value of t[index] to value, without calling the __newindex metamethod, and returns the table."}]

[{"index":"any... select(any index, any... args) (Static)","0":"If index is a number, returns all arguments after the index number. A negative number indexes from the end. Otherwise, index must be the string \"#\", and returns the total number of extra arguments it received."}]

[{"index":"table setmetatable(table table, table metatable) (Static)","0":"Sets the metatable for t and returns t."}]

[{"index":"number tonumber(any e, integer base = 10) (Static)","0":"Converts e to number and return. Returns nil if conversion is not possible. Base can be specified as base."}]

[{"index":"string tostring(any v) (Static)","0":"Converts v to a string. If the metatable of v has a __tostring field, calls with v as a parameter and returns the result."}]

[{"index":"string type(any v) (Static)","0":"Returns v's type as a string format."}]

[{"index":"boolean, any... xpcall(func f, func msgh, any... args) (Static)","0":"This function is similar to pcall, except that it can set a new message handler msgh."}]

[{"index":"table enum(table table) (Static)","0":"Exchanges the defined table's key and value."}]

[{"index":"void wait(number seconds) (Static)","0":"The current script executions are suspended during the seconds."}]

[{"index":"boolean isvalid(any object) (Static)","0":"Checks if the entity's internal state is valid. You can check nil and the deletion of Entity and Component."}]

[{"index":"void log(any... args) (Static)","0":"Uses the tostring function to convert each argument into string and output the value to the information log."}]

[{"index":"void log_warning(any... args) (Static)","0":"Uses the tostring function to convert each argument into string and output the value to the warning log."}]

[{"index":"void log_error(any... args) (Static)","0":"Uses the tostring function to convert each argument into string and output the value to the warning log."}]