sf::ScriptGlobalEntry derived class to link static functions or methods.
More...
#include <ScriptGlobalEntry.h>
|
| static bool | call (const std::string &name, const Value::vector_type &arguments, Value &result) |
| | Finds the function with name 'name' and returns true when the function was found passing the correct amount of parameters. When found the function is also executed.
|
| static ScriptGlobalEntry * | getEntry (const std::string &name) |
| | Gets the entry pointer by name.
|
| static string_list | getEntryStringList (bool descriptive) |
| | Gets a string list containing all available global script functions.
|
| static constexpr size_t | unlimitedArgs = std::numeric_limits<int>::max() |
| | Unsigned size value indicating not found or no index.
|
| std::string | _name |
| | Holds the name of the entry.
|
| std::string | _description |
| | Holds description of the entry.
|
| int | _argumentCount {0} |
| | Holds the number of parameters to pass to the entry.
|
sf::ScriptGlobalEntry derived class to link static functions or methods.
◆ FunctionType
◆ StaticScriptGlobalEntry() [1/2]
| sf::StaticScriptGlobalEntry::StaticScriptGlobalEntry |
( |
FunctionType | func, |
|
|
const std::string & | name, |
|
|
const std::string & | description, |
|
|
int | arg_count ) |
◆ StaticScriptGlobalEntry() [2/2]
| sf::StaticScriptGlobalEntry::StaticScriptGlobalEntry |
( |
const StaticScriptGlobalEntry & | | ) |
|
|
delete |
◆ operator=()
The documentation for this class was generated from the following file: