SLikeNet
0.1.3
|
A simple class to encode and decode known strings based on a lookup table. Similar to the StringCompressor class. More...
Go to the source code of this file.
Classes | |
struct | StrAndBool |
The string plus a bool telling us if this string was copied or not. More... | |
class | SLNet::StringTable |
Writes a string index, instead of the whole string. More... | |
Namespaces | |
namespace | SLNet |
Simple class to send changes between directories. In essence, a simple autopatcher that can be used for transmitting levels, skins, etc. | |
Typedefs | |
typedef unsigned char | StringTableType |
StringTableType should be the smallest type possible, or else it defeats the purpose of the StringTable class, which is to save bandwidth. | |
Functions | |
int RAK_DLL_EXPORT | SLNet::StrAndBoolComp (char *const &key, const StrAndBool &data) |
A simple class to encode and decode known strings based on a lookup table. Similar to the StringCompressor class.
Definition in file StringTable.h.
struct StrAndBool |
The string plus a bool telling us if this string was copied or not.
Definition at line 39 of file StringTable.h.
Class Members | ||
---|---|---|
bool | b | |
char * | str |
typedef unsigned char StringTableType |
StringTableType should be the smallest type possible, or else it defeats the purpose of the StringTable class, which is to save bandwidth.
Definition at line 33 of file StringTable.h.