#ifndef __SQL_LITE_3_PLUGIN_COMMON_H #define __SQL_LITE_3_PLUGIN_COMMON_H #include "DS_Multilist.h" #include "RakString.h" #include "BitStream.h" /// \defgroup SQL_LITE_3_PLUGIN SQLite3Plugin /// \brief Code to transmit SQLite3 commands across the network /// \details /// \ingroup PLUGINS_GROUP /// Contains a result row, which is just an array of strings /// \ingroup SQL_LITE_3_PLUGIN struct SQLite3Row { DataStructures::List entries; }; /// Contains a result table, which is an array of column name strings, followed by an array of SQLite3Row /// \ingroup SQL_LITE_3_PLUGIN struct SQLite3Table { SQLite3Table(); ~SQLite3Table(); void Serialize(RakNet::BitStream *bitStream); void Deserialize(RakNet::BitStream *bitStream); DataStructures::List columnNames; DataStructures::List rows; }; #endif