32 #include "../api_network.h"
33 #include "../../Core/System/databuffer.h"
118 Type get_type()
const;
123 bool is_null()
const;
128 bool is_uinteger()
const;
133 bool is_integer()
const;
138 bool is_ucharacter()
const;
143 bool is_character()
const;
148 bool is_number()
const;
153 bool is_string()
const;
158 bool is_boolean()
const;
163 bool is_binary()
const;
168 bool is_complex()
const;
170 unsigned int get_member_count()
const;
187 unsigned int to_uinteger()
const;
192 int to_integer()
const;
197 unsigned int to_ucharacter()
const;
202 int to_character()
const;
207 float to_number()
const;
212 std::string to_string()
const;
217 bool to_boolean()
const;
224 inline operator unsigned int()
const {
return to_uinteger(); }
225 inline operator int()
const {
return to_integer(); }
226 inline operator unsigned char()
const {
return to_ucharacter(); }
227 inline operator float()
const {
return to_number(); }
228 inline operator std::string()
const {
return to_string(); }
229 inline operator bool()
const {
return to_boolean(); }
235 void throw_if_not_complex()
const;
247 std::string value_string;
249 std::vector<NetGameEventValue> value_complex;
Definition: event_value.h:53
Definition: event_value.h:48
char value_char
Definition: event_value.h:242
Definition: event_value.h:47
Definition: event_value.h:46
Type
Definition: event_value.h:44
Definition: event_value.h:49
Definition: event_value.h:51
bool value_bool
Definition: event_value.h:245
float value_float
Definition: event_value.h:244
unsigned char value_uchar
Definition: event_value.h:243
NetGameEventValue.
Definition: event_value.h:41
Definition: event_value.h:52
unsigned int value_uint
Definition: event_value.h:241
int value_int
Definition: event_value.h:240
General purpose data buffer.
Definition: databuffer.h:43
Definition: event_value.h:50
Definition: event_value.h:54