§ DeleteEntryByID()
bool CStringTableDB::DeleteEntryByID |
( |
const __int64 & |
ID | ) |
|
Delete string table entry.
- Returns
- true if the record is deleted in database.
§ GetDBEntity()
get the database interface.
§ GetInstance()
§ GetStringbyID()
bool CStringTableDB::GetStringbyID |
( |
string & |
sString, |
|
|
const __int64 & |
ID |
|
) |
| |
Get string from ID.
- Parameters
-
sString | target ID string table entry |
- Returns
- true if the record is found in database.
§ InsertString()
Insert the new string table entry to StringTable_DB.
- Parameters
-
entry | ID of entry will be ignored and filled with actual ID if inserted successfully |
- Returns
- true if the record is inserted in database
§ SetDBEntity()
set the database interface.
§ UpdateStringTable()
Update the data fields of StringTable_DB.
- Parameters
-
entry | ID field of the entry must be valid. |
- Returns
- true if the record is updated in database.
The documentation for this class was generated from the following files:
- Client/trunk/ParaEngineClient/Engine/StringTable.h
- Client/trunk/ParaEngineClient/Engine/StringTable.cpp