NetGameEventValue.
More...
#include <event_value.h>
|
static std::string | to_string (const NetGameEventValue &) |
| Helper function to obtain a string representation of an EventValue object.
|
|
◆ Type
Enumerator |
---|
null | |
integer | |
uinteger | |
character | |
ucharacter | |
string | |
boolean | |
number | |
complex | |
binary | |
◆ NetGameEventValue() [1/12]
clan::NetGameEventValue::NetGameEventValue |
( |
| ) |
|
◆ NetGameEventValue() [2/12]
clan::NetGameEventValue::NetGameEventValue |
( |
int | value | ) |
|
◆ NetGameEventValue() [3/12]
clan::NetGameEventValue::NetGameEventValue |
( |
unsigned int | value | ) |
|
◆ NetGameEventValue() [4/12]
clan::NetGameEventValue::NetGameEventValue |
( |
char | value | ) |
|
◆ NetGameEventValue() [5/12]
clan::NetGameEventValue::NetGameEventValue |
( |
unsigned char | value | ) |
|
◆ NetGameEventValue() [6/12]
clan::NetGameEventValue::NetGameEventValue |
( |
float | value | ) |
|
◆ NetGameEventValue() [7/12]
clan::NetGameEventValue::NetGameEventValue |
( |
const std::string & | value | ) |
|
◆ NetGameEventValue() [8/12]
clan::NetGameEventValue::NetGameEventValue |
( |
const char * | str | ) |
|
◆ NetGameEventValue() [9/12]
clan::NetGameEventValue::NetGameEventValue |
( |
const wchar_t * | str | ) |
|
◆ NetGameEventValue() [10/12]
clan::NetGameEventValue::NetGameEventValue |
( |
bool | value | ) |
|
|
explicit |
◆ NetGameEventValue() [11/12]
clan::NetGameEventValue::NetGameEventValue |
( |
const DataBuffer & | value | ) |
|
◆ NetGameEventValue() [12/12]
clan::NetGameEventValue::NetGameEventValue |
( |
Type | type | ) |
|
◆ add_member()
Add member.
- Parameters
-
value | = Net Game Event Value |
◆ get_binary()
DataBuffer clan::NetGameEventValue::get_binary |
( |
| ) |
const |
◆ get_boolean()
bool clan::NetGameEventValue::get_boolean |
( |
| ) |
const |
◆ get_character()
int clan::NetGameEventValue::get_character |
( |
| ) |
const |
To character.
- Returns
- char
◆ get_integer()
int clan::NetGameEventValue::get_integer |
( |
| ) |
const |
◆ get_member()
const NetGameEventValue & clan::NetGameEventValue::get_member |
( |
unsigned int | index | ) |
const |
◆ get_member_count()
unsigned int clan::NetGameEventValue::get_member_count |
( |
| ) |
const |
◆ get_number()
float clan::NetGameEventValue::get_number |
( |
| ) |
const |
◆ get_string()
std::string clan::NetGameEventValue::get_string |
( |
| ) |
const |
◆ get_type()
Type clan::NetGameEventValue::get_type |
( |
| ) |
const |
◆ get_ucharacter()
unsigned int clan::NetGameEventValue::get_ucharacter |
( |
| ) |
const |
◆ get_uinteger()
unsigned int clan::NetGameEventValue::get_uinteger |
( |
| ) |
const |
◆ is_binary()
bool clan::NetGameEventValue::is_binary |
( |
| ) |
const |
Is Binary.
- Returns
- true = binary
◆ is_boolean()
bool clan::NetGameEventValue::is_boolean |
( |
| ) |
const |
Is Boolean.
- Returns
- true = boolean
◆ is_character()
bool clan::NetGameEventValue::is_character |
( |
| ) |
const |
Is Character.
- Returns
- true = character
◆ is_complex()
bool clan::NetGameEventValue::is_complex |
( |
| ) |
const |
Is Complex.
- Returns
- true = complex
◆ is_integer()
bool clan::NetGameEventValue::is_integer |
( |
| ) |
const |
Is Integer.
- Returns
- true = integer
◆ is_null()
bool clan::NetGameEventValue::is_null |
( |
| ) |
const |
Is Null.
- Returns
- true = null
◆ is_number()
bool clan::NetGameEventValue::is_number |
( |
| ) |
const |
Is Number.
- Returns
- true = number
◆ is_string()
bool clan::NetGameEventValue::is_string |
( |
| ) |
const |
Is String.
- Returns
- true = string
◆ is_ucharacter()
bool clan::NetGameEventValue::is_ucharacter |
( |
| ) |
const |
Is Ucharacter.
- Returns
- true = ucharacter
◆ is_uinteger()
bool clan::NetGameEventValue::is_uinteger |
( |
| ) |
const |
Is Uinteger.
- Returns
- true = uinteger
◆ operator bool()
clan::NetGameEventValue::operator bool |
( |
| ) |
const |
|
inline |
◆ operator DataBuffer()
clan::NetGameEventValue::operator DataBuffer |
( |
| ) |
const |
|
inline |
◆ operator float()
clan::NetGameEventValue::operator float |
( |
| ) |
const |
|
inline |
◆ operator int()
clan::NetGameEventValue::operator int |
( |
| ) |
const |
|
inline |
◆ operator std::string()
clan::NetGameEventValue::operator std::string |
( |
| ) |
const |
|
inline |
◆ operator unsigned char()
clan::NetGameEventValue::operator unsigned char |
( |
| ) |
const |
|
inline |
◆ operator unsigned int()
clan::NetGameEventValue::operator unsigned int |
( |
| ) |
const |
|
inline |
◆ set_member()
void clan::NetGameEventValue::set_member |
( |
unsigned int | index, |
|
|
const NetGameEventValue & | value ) |
Set member.
- Parameters
-
index | = value |
value | = Net Game Event Value |
◆ to_string()
Helper function to obtain a string representation of an EventValue object.
◆ value_bool
bool clan::NetGameEventValue::value_bool |
◆ value_char
char clan::NetGameEventValue::value_char |
◆ value_float
float clan::NetGameEventValue::value_float |
◆ value_int
int clan::NetGameEventValue::value_int |
◆ value_uchar
unsigned char clan::NetGameEventValue::value_uchar |
◆ value_uint
unsigned int clan::NetGameEventValue::value_uint |
The documentation for this class was generated from the following file: