27 #ifndef __PY_DATABASE_H__INCL__
28 #define __PY_DATABASE_H__INCL__
DBRowDescriptor * _GetRowDesc() const
static PyTuple * _CreateArgs()
PyPackedRow * GetRow(PyRep *index) const
Python object "dbutil.CFilterRowset".
PyPackedRow * GetRow(PyRep *key, uint32 index) const
void AddColumn(const char *name, DBTYPE type)
PyTuple * _GetColumn(size_t index) const
CRowSet(DBRowDescriptor **rowDesc)
CIndexedRowSet(DBRowDescriptor **rowDesc)
CRowSet * NewRowset(PyRep *key)
CFilterRowSet(DBRowDescriptor **rowDesc)
PyTuple * _GetColumnList() const
PyString * GetColumnName(uint32 index) const
static PyTuple * _CreateArgs()
PyRep * GetItem(size_t index) const
Returns Python object.
bool VerifyValue(uint32 index, PyRep *value)
Verifies value for certain column.
DBTYPE GetColumnType(uint32 index) const
Python object "blue.DBRowDescriptor".
uint32 ColumnCount() const
PyRep * GetItem(PyRep *key) const
Obtains a database entry based on given key object.
Python object "dbutil.CRowset".
PyPackedRow * NewRow(PyRep *key)
DBRowDescriptor * _GetRowDesc() const
PyPackedRow * AsPackedRow()
PyPackedRow * GetRow(uint32 index) const
static PyTuple * _CreateArgs()
virtual ~CIndexedRowSet()
static PyTuple * _CreateArgs()
size_t GetKeyCount() const
CRowSet * GetRowset(PyRep *key) const
Wrapper class for PyObjectEx of type 1.
virtual ~DBRowDescriptor()
DBRowDescriptor * _GetRowDesc() const
static PyDict * _CreateKeywords(DBRowDescriptor *rowDesc)
Python object "dbutil.CIndexedRowset".
static PyDict * _CreateKeywords(DBRowDescriptor *rowDesc)
typeID Spawn an NPC with the specified type text Search for items matching the specified query() type() key(value)-Send an OnRemoteMessage" ) COMMAND( setbpattr
uint32 FindColumn(const char *name) const
size_t GetRowCount() const
size_t GetRowCount() const
Wrapper class for PyObjectEx of type 2.
static PyDict * _CreateKeywords(DBRowDescriptor *rowDesc)