#include "tConfiguration.h"
#include "nNetwork.h"
Go to the source code of this file.
Classes | |
class | nIConfItemWatcher |
interface for objects watching over the change of network configuration items More... | |
class | nConfItemBase |
base clas for network configuration items More... | |
class | nConfItem< T > |
class | nSettingItem< T > |
class | nConfItemLine |
class | nConfItemVersionWatcher |
configuration item watcher that shuts out clients that don't support a certain interface More... | |
class | nSettingItemWatched< T > |
convenience helper class: setting item and version watcher combined More... | |
Enumerations | |
enum | nConfigItemBehavior { Behavior_Nothing = 0, Behavior_Revert = 1, Behavior_Block = 2, Behavior_Default = 3 } |
how we react on a client with a version incompatible with a setting More... | |
Functions | |
template<class T> | |
bool | sn_compare (T &a, T &b) |
bool | sn_compare (float &a, float &b) |
tCONFIG_ENUM (nConfigItemBehavior) |
enum nConfigItemBehavior |
how we react on a client with a version incompatible with a setting
Behavior_Nothing | do nothing, let client on |
Behavior_Revert | revert setting to default value |
Behavior_Block | don't let the client play at all |
Behavior_Default | do whatever someone else says |
Definition at line 218 of file nConfig.h.
00219 { 00220 Behavior_Nothing = 0, 00221 Behavior_Revert = 1, 00222 Behavior_Block = 2, 00223 Behavior_Default = 3 00224 };
bool sn_compare | ( | float & | a, | |
float & | b | |||
) | [inline] |
bool sn_compare | ( | T & | a, | |
T & | b | |||
) | [inline] |
Definition at line 34 of file nConfig.h.
Referenced by nConfItem< tString >::NetReadVal().
tCONFIG_ENUM | ( | nConfigItemBehavior | ) |