38 return "\"" +
object->getTag() +
"\"";
77 for (
size_t i = 0; i < array.size(); i++) {
111 for (
size_t i = 0; i < ctx.
getParams().size(); i++) {
std::vector< boost::shared_ptr< Variable > > Array
void formatVariable(Common::UString &str, const Variable &var)
Print a description of this variable into that string.
Common::UString formatTag(const Object *object)
Construct a string with the tag of this object.
A class holding an UTF-8 string.
Common::UString formatType(Type type)
Construct a string describing this variable type.
UString composeString(T value)
Convert any POD integer, float/double or bool type into a string.
Context of an NWScript function.
Utility templates and functions for working with strings and streams.
void getVector(float &x, float &y, float &z) const
Common::UString formatReturn(const FunctionContext &ctx)
Construct a string describing the return value of this function.
Object * getObject() const
A reference/pointer to another variable.
"effect", "event", "location", "talent"...
const Array & getArray() const
Common::UString & getString()
Common::UString formatParams(const FunctionContext &ctx)
Construct a string describing parameters of this function.
Variable * getReference() const