Class BiowareDB
Bioware database (in FoxPro format, ie dbf, cdx and ftp files)
Constructors
Name | Description |
this
(dbfData, cdxData, fptData, buildIndex)
|
Constructor with raw data
|
this
(dbfPath, cdxPath, fptPath, buildIndex)
|
Constructor with file paths
|
this
(dbFilesPath, buildIndex)
|
Constructor with file path without its extension. It will try to open the dbf and ftp files.
|
Properties
Name | Type | Description |
length [get]
|
ulong | Number of variables (both active an deleted) stored in the database
|
Methods
Name | Description |
deleteVariable
(index)
|
Remove a variable
|
deleteVariable
(pcid, varName)
|
Remove a variable
|
getVariable
(index)
|
Get variable information using its index
|
getVariable
(pcid, varName)
|
Search and return variable information
|
getVariable
(account, character, varName)
|
Search and return variable information
|
getVariableIndex
(pcid, varName)
|
Search and return the index of a variable
|
getVariableIndex
(account, character, varName)
|
Search and return the index of a variable
|
getVariableValue
(index)
|
Get the variable value at index
|
getVariableValue
(pcid, varName)
|
Search and return the value of a variable
|
getVariableValue
(account, character, varName)
|
Search and return the value of a variable
|
getVariableValueJSON
(index)
|
|
getVariableValueString
(index)
|
|
opApply
(dlg)
|
Iterate over all variables (both active and deleted)
|
serialize
()
|
Returns a tuple with dbf and fpt raw data (accessible with .dbf and .fpt)
|
setVariableValue
(index, value, updateTimestamp)
|
Set the value of an existing variable using its index.
|
setVariableValue
(pcid, varName, value, updateTimestamp)
|
Set / create a variable with its value
|
Inner structs
Name | Description |
Variable
|
Representation of a stored variable
|
Enums
Name | Description |
VarType
|
Type of a stored variable
|