void get2DAEntryFloatByString(Aurora::NWScript::FunctionContext &ctx)
Class to hold the two-dimensional array of a 2DA file.
const Common::UString & getString(size_t column) const
Return the contents of a cell as a string.
void get2DAEntryIntByString(Aurora::NWScript::FunctionContext &ctx)
A class holding an UTF-8 string.
Context of an NWScript function.
Jade Empire engine functions.
const Aurora::TwoDAFile & findTable(int32 nr)
size_t getRowCount() const
Return the number of rows in the array.
size_t getColumnCount() const
Return the number of columns in the array.
void get2DAEntryStringByString(Aurora::NWScript::FunctionContext &ctx)
Utility templates and functions.
Handling BioWare's 2DAs (two-dimensional array).
void get2DAEntryString(Aurora::NWScript::FunctionContext &ctx)
void get2DANumColumn(Aurora::NWScript::FunctionContext &ctx)
#define TwoDAReg
Shortcut for accessing the 2da registry.
int32 getInt(size_t column) const
Return the contents of a cell as an int.
void get2DAEntryFloat(Aurora::NWScript::FunctionContext &ctx)
const TwoDARow & getRow(size_t row) const
Get a row.
void get2DAEntryInt(Aurora::NWScript::FunctionContext &ctx)
void get2DANumRows(Aurora::NWScript::FunctionContext &ctx)
float getFloat(size_t column) const
Return the contents of a cell as a float.