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 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
◆ ScriptGlobalStaticEntry() [1/2]
sf::ScriptGlobalStaticEntry::ScriptGlobalStaticEntry |
( |
FunctionType |
func, |
|
|
const std::string & |
name, |
|
|
const std::string & |
description, |
|
|
int |
argumentCount |
|
) |
| |
|
inline |
◆ ScriptGlobalStaticEntry() [2/2]
◆ operator=()
The documentation for this class was generated from the following file: