Xonotic
|
Go to the source code of this file.
Macros | |
#define | NET_GUARD(id) |
#define | NET_HANDLE(id, param) bool Net_Handle_##id(entity this, entity sender, param) |
#define | Read_byte() ReadByte() |
#define | Read_float() ReadFloat() |
#define | Read_int() ReadInt24_t() |
#define | Read_string() ReadString() |
#define | ReadRegistered(r) REGISTRY_GET(r, Read_byte()) |
#define | REGISTER_NET_C2S(id) |
#define | REGISTER_NET_LINKED(id) |
#define | REGISTER_NET_S2C(id) REGISTER_NET_TEMP(id) |
#define | REGISTER_NET_TEMP(id) |
#define | serialize(T, stream, ...) |
#define | serialize_marker(stream, this) |
#define | serialize_vector(stream, this) |
#define | Write_byte(to, f) WriteByte(to, f) |
#define | Write_float(to, f) WriteFloat(to, f) |
#define | Write_int(to, f) WriteInt24_t(to, f) |
#define | Write_string(to, f) WriteString(to, f) |
#define | WriteRegistered(r, to, it) Write_byte(to, it.m_id) |
Typedefs | |
using | Stream = int |
Functions | |
bool (entity this, entity sender, bool isNew) m_read | |
STATIC_INIT (TempEntities_renumber) | |
STATIC_INIT (LinkedEntities_renumber) | |
STATIC_INIT (C2S_Protocol_renumber) | |
Variables | |
int | m_id |
string | netname |
#define NET_GUARD | ( | id | ) |
Definition at line 12 of file net.qh.
Referenced by bd_find_dozer(), conveyor_think(), door_reset(), func_ladder_think(), GENERIC_COMMAND(), Local_Notification_WOVA(), Teleport_Touch(), train_next(), trigger_impulse_touch_radial(), trigger_keylock_touch(), trigger_push_findtarget(), and W_Model().
#define Read_string | ( | ) | ReadString() |
#define ReadRegistered | ( | r | ) | REGISTRY_GET(r, Read_byte()) |
Definition at line 293 of file net.qh.
Referenced by NET_HANDLE(), and W_Model().
#define REGISTER_NET_C2S | ( | id | ) |
#define REGISTER_NET_LINKED | ( | id | ) |
Definition at line 67 of file net.qh.
Referenced by LinkDoors(), Local_Notification_WOVA(), train_next(), trigger_impulse_touch_radial(), and trigger_keylock_touch().
#define REGISTER_NET_S2C | ( | id | ) | REGISTER_NET_TEMP(id) |
#define REGISTER_NET_TEMP | ( | id | ) |
Definition at line 33 of file net.qh.
Referenced by GENERIC_COMMAND(), and W_Model().
#define serialize | ( | T, | |
stream, | |||
... | |||
) |
Definition at line 238 of file net.qh.
Referenced by EliminatedPlayers_SendEntity(), and NET_HANDLE().
#define serialize_marker | ( | stream, | |
this | |||
) |
#define serialize_vector | ( | stream, | |
this | |||
) |
#define Write_string | ( | to, | |
f | |||
) | WriteString(to, f) |
#define WriteRegistered | ( | r, | |
to, | |||
it | |||
) | Write_byte(to, it.m_id) |
Definition at line 294 of file net.qh.
Referenced by ScoreInfo_SendEntity(), and W_Model().
STATIC_INIT | ( | TempEntities_renumber | ) |
Definition at line 48 of file net.qh.
References FOREACH.
Referenced by STATIC_INIT().
STATIC_INIT | ( | LinkedEntities_renumber | ) |
STATIC_INIT | ( | C2S_Protocol_renumber | ) |
Definition at line 108 of file net.qh.
References argv_start_index, EF_NODEPTHTEST, entity(), FOREACH, func_null(), IL_EACH, IL_NEW, IL_PUSH(), localcmd, LOG_SEVEREF, LOG_WARN, LOG_WARNF, NULL, REGISTRY_GET, sendflags, setSendEntity, setthink, STATIC_INIT(), strfree, STRING_ITERATOR(), STRING_ITERATOR_SET, string_null, strlen(), substring(), time, to, and vector().