#include <LightweightDatabaseClient.h>
Inheritance diagram for LightweightDatabaseClient:
Public Member Functions | |
LightweightDatabaseClient () | |
Constructor. | |
~LightweightDatabaseClient () | |
Destructor. | |
void | QueryTable (const char *tableName, const char *queryPassword, const char **columnSubset, unsigned char numColumnSubset, DatabaseFilter *filter, unsigned char numFilters, unsigned *rowIds, unsigned char numRowIDs, PlayerID playerId, bool broadcast) |
void | UpdateRow (const char *tableName, const char *updatePassword, RowUpdateMode updateMode, bool hasRowId, unsigned rowId, DatabaseCellUpdate *cellUpdates, unsigned char numCellUpdates, PlayerID playerId, bool broadcast) |
void | RemoveRow (const char *tableName, const char *removePassword, unsigned rowId, PlayerID playerId, bool broadcast) |
void | OnAttach (RakPeerInterface *peer) |
virtual PluginReceiveResult | OnReceive (RakPeerInterface *peer, Packet *packet) |
Protected Attributes | |
RakPeerInterface * | rakPeer |
|
Called when the interface is attached
Reimplemented from PluginInterface. |
|
OnReceive is called for every packet.
Reimplemented from PluginInterface. |
|
Sends a query to a remote table. The remote system should return ID_DATABASE_QUERY_REPLY, ID_DATABASE_UNKNOWN_TABLE, or ID_DATABASE_INCORRECT_PASSWORD
|
|
Removes a remote row, assuming the server allows row removal. No response is returned by the server.
|
|
Sets one or more values in a new or existing row, assuming the server allows row creation and updates. No response is returned by the server.
|