Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
net.qh File Reference
#include "registry.qh"
#include "sort.qh"
#include "yenc.qh"
Include dependency graph for net.qh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define APPROXPASTTIME_MAX   (16384 * APPROXPASTTIME_ACCURACY_REQUIREMENT)
#define APPROXPASTTIME_RANGE   (64 * APPROXPASTTIME_ACCURACY_REQUIREMENT)
#define NET_GUARD(id)
#define net_guard_marker(stream, this)
#define NET_HANDLE(id, param)
#define ReadAngleVector()
#define ReadAngleVector2D()
#define ReadFloat()
#define ReadInt48_t()
#define ReadInt72_t()
#define ReadRegistered(r)
#define ReadSByte()
#define ReadVector()
#define ReadVector2D()
#define REGISTER_NET_C2S(id)
#define REGISTER_NET_LINKED(id)
#define REGISTER_NET_TEMP(id)
#define stream_reading(stream)
#define stream_writing(stream)
#define WriteHeader(to, id)
#define WriteRegistered(r, to, it)

Typedefs

using Stream = int

Functions

 bool (entity this, entity sender, bool isNew) m_read
void Net_ClientCommand (entity sender, string command)
void Net_LinkEntity (entity e, bool docull, float dt, bool(entity this, entity to, int sendflags) sendfunc)
void Net_UnlinkEntity (entity e)
float ReadApproxPastTime ()
int Readbits (int num)
int ReadByte ()
entity ReadCSQCEntity ()
int ReadInt24_t ()
void SetCustomizer (entity e, bool(entity this, entity client) customizer, void(entity this) uncustomizer)
 STATIC_INIT (C2S_Protocol_renumber)
 STATIC_INIT (g_uncustomizables)
 STATIC_INIT (LinkedEntities_renumber)
 STATIC_INIT (TempEntities_renumber)
 STRING_ITERATOR (g_buf, string_null, 0)
void UncustomizeEntitiesRun ()
 void (entity this) uncustomizeentityforclient
void WriteByte (int to, int b)
void WriteShort (int to, int b)

Variables

string _net_prevmsgstr
noref int _ReadSByte
const float APPROXPASTTIME_ACCURACY_REQUIREMENT = 0.05
IntrusiveList g_uncustomizables
int m_id
const int MSG_ENTITY = 5
string netname
int SendFlags
float servertime
float uncustomizeentityforclient_set

Macro Definition Documentation

◆ APPROXPASTTIME_MAX

#define APPROXPASTTIME_MAX   (16384 * APPROXPASTTIME_ACCURACY_REQUIREMENT)

Definition at line 326 of file net.qh.

Referenced by ReadApproxPastTime().

◆ APPROXPASTTIME_RANGE

#define APPROXPASTTIME_RANGE   (64 * APPROXPASTTIME_ACCURACY_REQUIREMENT)

Definition at line 327 of file net.qh.

◆ NET_GUARD

#define NET_GUARD ( id)
Value:
bool Net_Handle_##id##_guard(entity this, entity sender, bool isNew) \
{ \
bool valid = false; \
net_guard_marker(to, valid); \
if (!valid) \
LOG_FATALF("Last message not fully parsed: %s", _net_prevmsgstr); \
_net_prevmsgstr = #id; \
return Net_Handle_##id(this, sender, isNew); \
}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
string _net_prevmsgstr
Definition net.qh:30

Definition at line 18 of file net.qh.

18#define NET_GUARD(id) \
19 bool Net_Handle_##id##_guard(entity this, entity sender, bool isNew) \
20 { \
21 bool valid = false; \
22 net_guard_marker(to, valid); \
23 if (!valid) \
24 LOG_FATALF("Last message not fully parsed: %s", _net_prevmsgstr); \
25 _net_prevmsgstr = #id; \
26 return Net_Handle_##id(this, sender, isNew); \
27 }

◆ net_guard_marker

#define net_guard_marker ( stream,
this )
Value:
MACRO_BEGIN \
if (NDEBUG) \
this = true; \
else \
{ \
int _de = ReadByte(); \
int _ad = ReadByte(); \
int _be = ReadByte(); \
int _ef = ReadByte(); \
this = (_de == 0xDE && _ad == 0xAD && _be == 0xBE && _ef == 0xEF); \
} \
int ReadByte()
#define MACRO_END
Definition macro.qh:7

Definition at line 50 of file net.qh.

50 #define net_guard_marker(stream, this) MACRO_BEGIN \
51 if (NDEBUG) \
52 this = true; \
53 else \
54 { \
55 int _de = ReadByte(); \
56 int _ad = ReadByte(); \
57 int _be = ReadByte(); \
58 int _ef = ReadByte(); \
59 this = (_de == 0xDE && _ad == 0xAD && _be == 0xBE && _ef == 0xEF); \
60 } \
61 MACRO_END

◆ NET_HANDLE

#define NET_HANDLE ( id,
param )
Value:
bool \
Net_Handle_##id(entity this, entity sender, param)

Definition at line 15 of file net.qh.

15#define NET_HANDLE(id, param) bool \
16 Net_Handle_##id(entity this, entity sender, param)

Referenced by NET_HANDLE().

◆ ReadAngleVector

#define ReadAngleVector ( )
Value:
vec3(ReadAngle(), ReadAngle(), ReadAngle())
#define vec3(_x, _y, _z)
Definition vector.qh:95

Definition at line 352 of file net.qh.

Referenced by NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), and NET_HANDLE().

◆ ReadAngleVector2D

#define ReadAngleVector2D ( )
Value:
vec2(ReadAngle(), ReadAngle())
#define vec2(...)
Definition vector.qh:90

Definition at line 353 of file net.qh.

Referenced by NET_HANDLE().

◆ ReadFloat

#define ReadFloat ( )
Value:
ReadCoord()

Definition at line 349 of file net.qh.

Referenced by NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), and string().

◆ ReadInt48_t

#define ReadInt48_t ( )
Value:
int ReadInt24_t()
Definition net.qh:338

Definition at line 344 of file net.qh.

Referenced by ReadWepSet().

◆ ReadInt72_t

#define ReadInt72_t ( )
Value:

Definition at line 345 of file net.qh.

Referenced by ReadWepSet().

◆ ReadRegistered

#define ReadRegistered ( r)
Value:
REGISTRY_GET(r, (REGISTRY_COUNT(r) >= 255 ? ReadShort() : ReadByte()))
#define REGISTRY_COUNT(id)
Definition registry.qh:18
#define REGISTRY_GET(id, i)
Definition registry.qh:43

Definition at line 291 of file net.qh.

291#define ReadRegistered(r) \
292 REGISTRY_GET(r, (REGISTRY_COUNT(r) >= 255 ? ReadShort() : ReadByte()))

Referenced by NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), and NET_HANDLE().

◆ ReadSByte

#define ReadSByte ( )
Value:
(_ReadSByte = ReadByte(), (_ReadSByte & BIT(7) ? -128 : 0) + (_ReadSByte & BITS(7)))
#define BIT(n)
Only ever assign into the first 24 bits in QC (so max is BIT(23)).
Definition bits.qh:8
#define BITS(n)
Definition bits.qh:9
noref int _ReadSByte
Definition net.qh:347

Definition at line 348 of file net.qh.

Referenced by NET_HANDLE(), and NET_HANDLE().

◆ ReadVector

◆ ReadVector2D

#define ReadVector2D ( )
Value:

Definition at line 351 of file net.qh.

◆ REGISTER_NET_C2S

#define REGISTER_NET_C2S ( id)
Value:
NET_HANDLE(id, bool); \
REGISTER(C2S_Protocol, NET, id, m_id, new_pure(net_c2s_packet)) \
{ \
this.netname = #id; \
this.m_read = Net_Handle_##id; \
}
string netname
Definition powerups.qc:20
int m_id
Definition effect.qh:19
#define NET_HANDLE(id, param)
Definition net.qh:15
#define new_pure(class)
purely logical entities (not linked to the area grid)
Definition oo.qh:67

Definition at line 128 of file net.qh.

128 #define REGISTER_NET_C2S(id) \
129 NET_HANDLE(id, bool); \
130 REGISTER(C2S_Protocol, NET, id, m_id, new_pure(net_c2s_packet)) \
131 { \
132 this.netname = #id; \
133 this.m_read = Net_Handle_##id; \
134 }

◆ REGISTER_NET_LINKED

#define REGISTER_NET_LINKED ( id)
Value:
ACCUMULATE NET_HANDLE(id, bool isNew) \
{ \
this = __self; \
this.sourceLoc = __FILE__":"STR(__LINE__); \
if (!this) \
isNew = true; \
} \
NET_GUARD(id); \
REGISTER(LinkedEntities, NET, id, m_id, new_pure(net_linked_packet)) \
{ \
this.netname = #id; \
this.m_read = Net_Handle_##id##_guard; \
}
#define ACCUMULATE
Definition _all.inc:31
#define STR(it)
Definition macro.qh:20
string sourceLoc
Location entity was spawned from in source.
Definition oo.qh:27

Definition at line 91 of file net.qh.

91 #define REGISTER_NET_LINKED(id) \
92 ACCUMULATE NET_HANDLE(id, bool isNew) \
93 { \
94 this = __self; \
95 this.sourceLoc = __FILE__":"STR(__LINE__); \
96 if (!this) \
97 isNew = true; \
98 } \
99 NET_GUARD(id); \
100 REGISTER(LinkedEntities, NET, id, m_id, new_pure(net_linked_packet)) \
101 { \
102 this.netname = #id; \
103 this.m_read = Net_Handle_##id##_guard; \
104 }

◆ REGISTER_NET_TEMP

#define REGISTER_NET_TEMP ( id)
Value:
NET_HANDLE(id, bool); \
NET_GUARD(id); \
REGISTER(TempEntities, NET, id, m_id, new_pure(net_temp_packet)) \
{ \
this.netname = #id; \
this.m_read = Net_Handle_##id##_guard; \
}

Definition at line 31 of file net.qh.

31 #define REGISTER_NET_TEMP(id) \
32 NET_HANDLE(id, bool); \
33 NET_GUARD(id); \
34 REGISTER(TempEntities, NET, id, m_id, new_pure(net_temp_packet)) \
35 { \
36 this.netname = #id; \
37 this.m_read = Net_Handle_##id##_guard; \
38 }

◆ stream_reading

#define stream_reading ( stream)
Value:
false

Definition at line 282 of file net.qh.

◆ stream_writing

#define stream_writing ( stream)
Value:
true

Definition at line 283 of file net.qh.

◆ WriteHeader

#define WriteHeader ( to,
id )
Value:
WriteByte(to, NET_##id.m_id)
void WriteByte(float data, float dest, float desto)

Definition at line 265 of file net.qh.

265 #define WriteHeader(to, id) \
266 WriteByte(to, NET_##id.m_id)

Referenced by _entcs_send(), _wepent_send(), accuracy_send(), bd_controller_send(), bumble_raygun_send(), clientcamera_send(), ClientData_Send(), ClientInit_misc(), ClientInit_SendEntity(), conveyor_send(), corner_send(), cpicon_send(), CSQCModel_Send(), CSQCProjectile_SendEntity(), CSQCVehicleSetup(), Damage_DamageInfo_SendEntity(), debug_send(), debug_text_3d_fn(), door_send(), electro_orb_send(), EliminatedPlayers_SendEntity(), fpscounter_update(), func_ladder_send(), g_clientmodel_genericsendentity(), generator_send(), globalsound(), GrapplingHookSend(), Inventory_Send(), IT_Write(), ItemSend(), laser_SendEntity(), MapVote_SendEntity(), MapVote_SendPicture(), minigame_SendEntity(), modeleffect_SendEntity(), Mutator_SendEntity(), Nagger_SendEntity(), Net_Write_Effect(), Net_Write_Notification(), ons_Link_Send(), orb_send(), PingPLReport_Think(), plat_send(), PlayerScore_SendEntity(), playersound(), pointparticles_SendEntity(), race_ClearTime(), race_ImposePenaltyTime(), race_send_rankings_cnt(), race_send_recordtime(), race_send_speedaward(), race_send_speedaward_alltimebest(), race_SendNextCheckpoint(), race_SendRanking(), race_SendStatus(), race_SendTime(), rainsnow_SendEntity(), RandomSeed_Send(), Registry_send(), ScoreInfo_SendEntity(), Send_WeaponComplain(), SendAuxiliaryXhair(), SendCSQCVaporizerBeamParticle(), SendCSQCVortexBeamParticle(), SetSpectatee_status(), SpawnCasing(), SpawnEvent_Send(), SpawnPoint_Send(), StatusEffects_Send(), SurvivalStatuses_SendEntity(), sv_notice_to(), target_music_sendto(), target_push_send(), target_speed_send(), te_csqc_lightningarc(), TeamScore_SendEntity(), teleport_dest_send(), train_send(), trigger_impulse_send(), trigger_keylock_send(), trigger_music_SendEntity(), trigger_push_send(), trigger_push_velocity_send(), trigger_teleport_send(), trigger_viewloc_send(), turret_send(), unpause_update(), viewloc_send(), Violence_GibSplash_SendEntity(), W_Arc_Beam_Send(), W_Tuba_NoteSendEntity(), WarpZone_Camera_Send(), WarpZone_Send(), WarpZone_Teleported_Send(), WaypointSprite_SendEntity(), wframe_send(), and write_damagetext().

◆ WriteRegistered

#define WriteRegistered ( r,
to,
it )
Value:
(REGISTRY_COUNT(r) >= 255 ? WriteShort(to, it.m_id) : WriteByte(to, it.m_id))
void WriteShort(float data, float dest, float desto)

Definition at line 293 of file net.qh.

293#define WriteRegistered(r, to, it) \
294 (REGISTRY_COUNT(r) >= 255 ? WriteShort(to, it.m_id) : WriteByte(to, it.m_id))

Referenced by globalsound(), Net_Write_Effect(), orb_send(), playersound(), ScoreInfo_SendEntity(), and turret_send().

Typedef Documentation

◆ Stream

using Stream = int

Definition at line 280 of file net.qh.

Function Documentation

◆ bool()

bool ( entity this,
entity sender,
bool isNew )

References entity().

◆ Net_ClientCommand()

void Net_ClientCommand ( entity sender,
string command )

Definition at line 222 of file net.qh.

223 {
224 // command matches `c2s "(.+)"`
225 string buf = substring(command, argv_start_index(1) + 1, -2);
226 if (buf == "")
227 return;
228 STRING_ITERATOR_SET(g_buf, buf, 0);
229 for (int C2S; (C2S = ReadByte()) >= 0; )
230 {
231 entity reader = REGISTRY_GET(C2S_Protocol, C2S);
232 if (reader && reader.m_read && reader.m_read(NULL, sender, true))
233 continue;
234 LOG_SEVEREF("Net_ClientCommand() with malformed C2S=%d", C2S);
235 return;
236 }
237 --g_buf_i;
238 int expected = strlen(buf);
239 if (g_buf_i > expected) LOG_WARNF("Underflow: %d", g_buf_i - expected);
240 if (g_buf_i < expected) LOG_WARNF("Overrflow: %d", expected - g_buf_i);
241 }
#define strlen
#define argv_start_index
#define STRING_ITERATOR_SET(this, s, i)
Definition iter.qh:49
#define LOG_WARNF(...)
Definition log.qh:62
#define LOG_SEVEREF(...)
Definition log.qh:58
string substring(string s, float start, float length)
#define NULL
Definition post.qh:14

References argv_start_index, entity(), LOG_SEVEREF, LOG_WARNF, NULL, ReadByte(), REGISTRY_GET, STRING_ITERATOR_SET, strlen, and substring().

Referenced by SV_ParseClientCommand().

◆ Net_LinkEntity()

void Net_LinkEntity ( entity e,
bool docull,
float dt,
bool(entity this, entity to, int sendflags) sendfunc )

Definition at line 167 of file net.qh.

168 {
169 if (e.classname == "")
170 {
171 LOG_WARN("Net_LinkEntity called on an entity without a classname, assigning default");
172 e.classname = "net_linked";
173 }
174
175 if (e.modelindex == 0)
176 {
177 vector mi = e.mins;
178 vector ma = e.maxs;
179 _setmodel(e, "null");
180 setsize(e, mi, ma);
181 }
182
183 setSendEntity(e, sendfunc);
184 e.SendFlags = 0xFFFFFF;
185
186 if (!docull)
187 e.effects |= EF_NODEPTHTEST;
188
189 if (dt)
190 {
191 e.nextthink = time + dt;
193 }
194 }
float time
const float EF_NODEPTHTEST
void SUB_Remove(entity this)
Remove entity.
Definition defer.qh:13
#define LOG_WARN(...)
Definition log.qh:61
#define setSendEntity(e, f)
#define setthink(e, f)
vector
Definition self.qh:92

References EF_NODEPTHTEST, entity(), LOG_WARN, setSendEntity, setthink, SUB_Remove(), time, and vector.

Referenced by accuracy_init(), bd_setup_pieces(), ClientData_Attach(), ClientInit_Spawn(), conveyor_init(), CSQCProjectile(), Damage_DamageInfo(), EliminatedPlayers_Init(), entcs_attach(), FireGrapplingHook(), g_clientmodel_init(), Inventory_new(), Kill_Notification(), link_spawnpoint(), MapVote_Spawn(), minigame_addplayer(), modeleffect_spawn(), msle_spawn(), Mutator_Add(), MUTATOR_HOOKFUNCTION(), nades_spawn_orb(), Nagger_Init(), ons_camSetup(), ons_DelayedGeneratorSetup(), ons_GeneratorReset(), onslaught_controlpoint_icon_link(), PlayerScore_Attach(), PutPlayerInServer(), RandomSeed_Spawn(), ScoreInfo_Init(), Send_Notification(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), start_minigame(), StartItem(), StatusEffects_new(), SurvivalStatuses_Init(), target_push_link(), target_speed_link(), TeamScore_Spawn(), teleport_dest_link(), turret_link(), UpdateAuxiliaryXhair(), viewloc_init(), viewloc_link(), W_Arc_Beam(), W_Electro_Orb_ExplodeOverTime(), W_Tuba_NoteOn(), WaypointSprite_Spawn(), and wepent_link().

◆ Net_UnlinkEntity()

void Net_UnlinkEntity ( entity e)

Definition at line 196 of file net.qh.

197 {
199 }
var void func_null()

References entity(), func_null(), and setSendEntity.

Referenced by Mutator_Remove().

◆ ReadApproxPastTime()

float ReadApproxPastTime ( )

Definition at line 362 of file net.qh.

363 {
364 float dt = ReadByte();
365 // map from range...PPROXPASTTIME_MAX / 256
366 dt = (APPROXPASTTIME_MAX / 256) * (dt / (256 - dt));
367
368 return servertime - dt;
369 }
float servertime
Definition net.qh:330
#define APPROXPASTTIME_MAX
Definition net.qh:326

References APPROXPASTTIME_MAX, ReadByte(), and servertime.

◆ Readbits()

int Readbits ( int num)

Definition at line 355 of file net.qh.

356 {
357 if (num > 16) return ReadInt24_t();
358 if (num > 8) return ReadShort();
359 return ReadByte();
360 }

References ReadByte(), and ReadInt24_t().

Referenced by NET_HANDLE(), and NET_HANDLE().

◆ ReadByte()

◆ ReadCSQCEntity()

entity ReadCSQCEntity ( )

Definition at line 331 of file net.qh.

332 {
333 int f = ReadShort();
334 if (f == 0)
335 return NULL;
336 return findfloat(NULL, entnum, f);
337 }
float entnum
entity findfloat(entity start,.float field, float match)

References entity(), entnum, findfloat(), and NULL.

◆ ReadInt24_t()

int ReadInt24_t ( )

Definition at line 338 of file net.qh.

339 {
340 int v = ReadShort() << 8; // note: this is signed
341 v += ReadByte(); // note: this is unsigned
342 return v;
343 }

References ReadByte().

Referenced by NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), Readbits(), ReadWepent(), and ReadWepSet().

◆ SetCustomizer()

void SetCustomizer ( entity e,
bool(entity this, entity client) customizer,
void(entity this) uncustomizer )

Definition at line 204 of file net.qh.

205 {
206 setcefc(e, customizer);
207 e.uncustomizeentityforclient = uncustomizer;
208 e.uncustomizeentityforclient_set = !!uncustomizer;
209 if(uncustomizer)
211 }
ERASEABLE entity IL_PUSH(IntrusiveList this, entity it)
Push to tail.
IntrusiveList g_uncustomizables
Definition net.qh:161
#define setcefc(e, f)

References entity(), g_uncustomizables, IL_PUSH(), and setcefc.

Referenced by LODmodel_attach().

◆ STATIC_INIT() [1/4]

STATIC_INIT ( C2S_Protocol_renumber )

Definition at line 150 of file net.qh.

151{
152 FOREACH(C2S_Protocol, true, it.m_id = i);
153}
#define FOREACH(list, cond, body)
Definition iter.qh:19

References FOREACH, and STATIC_INIT.

◆ STATIC_INIT() [2/4]

STATIC_INIT ( g_uncustomizables )

Definition at line 162 of file net.qh.

163 {
165 }
#define IL_NEW()

References g_uncustomizables, and IL_NEW.

◆ STATIC_INIT() [3/4]

STATIC_INIT ( LinkedEntities_renumber )

Definition at line 120 of file net.qh.

121{
122 FOREACH(LinkedEntities, true, it.m_id = 1 + i);
123}

References FOREACH, and STATIC_INIT.

◆ STATIC_INIT() [4/4]

STATIC_INIT ( TempEntities_renumber )

Definition at line 83 of file net.qh.

84{
85 FOREACH(TempEntities, true, it.m_id = 80 + i);
86}

References FOREACH, and STATIC_INIT.

◆ STRING_ITERATOR()

STRING_ITERATOR ( g_buf ,
string_null ,
0  )

References string_null.

◆ UncustomizeEntitiesRun()

void UncustomizeEntitiesRun ( )

Definition at line 213 of file net.qh.

214 {
215 IL_EACH(g_uncustomizables, it.uncustomizeentityforclient_set, it.uncustomizeentityforclient(it));
216 }
#define IL_EACH(this, cond, body)

References g_uncustomizables, and IL_EACH.

Referenced by StartFrame().

◆ void()

void ( entity this)

References entity().

◆ WriteByte()

void WriteByte ( int to,
int b )

Definition at line 298 of file net.qh.

299 {
300 assert(to == MSG_C2S);
301 string s = string_null;
302 yenc_single(b, s);
303 string tmp = strcat(g_buf, s);
304 strcpy(g_buf, tmp);
305 }
#define assert(expr,...)
Definition log.qh:8
string string_null
Definition nil.qh:9
strcat(_("^F4Countdown stopped!"), "\n^BG", _("Teams are too unbalanced."))
#define strcpy(this, s)
Definition string.qh:52
#define yenc_single(c, ret)
Definition yenc.qh:5

References assert, strcat(), strcpy, string_null, and yenc_single.

Referenced by WriteShort().

◆ WriteShort()

void WriteShort ( int to,
int b )

Definition at line 306 of file net.qh.

307 {
308 WriteByte(to, (b >> 8) & 0xFF);
309 WriteByte(to, b & 0xFF);
310 }
void WriteByte(int to, int b)
Definition net.qh:298

References WriteByte().

Variable Documentation

◆ _net_prevmsgstr

string _net_prevmsgstr

Definition at line 30 of file net.qh.

◆ _ReadSByte

noref int _ReadSByte

Definition at line 347 of file net.qh.

◆ APPROXPASTTIME_ACCURACY_REQUIREMENT

const float APPROXPASTTIME_ACCURACY_REQUIREMENT = 0.05

Definition at line 325 of file net.qh.

◆ g_uncustomizables

IntrusiveList g_uncustomizables

Definition at line 161 of file net.qh.

Referenced by SetCustomizer(), STATIC_INIT(), and UncustomizeEntitiesRun().

◆ m_id

int m_id

Definition at line 13 of file net.qh.

◆ MSG_ENTITY

const int MSG_ENTITY = 5

Definition at line 156 of file net.qh.

Referenced by _entcs_send(), _wepent_send(), accuracy_send(), bd_controller_send(), bd_server_event(), bumble_raygun_send(), clientcamera_send(), ClientData_Send(), ClientInit_SendEntity(), conveyor_send(), corner_send(), cpicon_send(), CSQCModel_Send(), CSQCProjectile_SendEntity(), Damage_DamageInfo_SendEntity(), door_send(), electro_orb_send(), EliminatedPlayers_SendEntity(), entcs_send(), func_ladder_send(), g_clientmodel_genericsendentity(), GameTypeVote_SendOption(), generator_send(), GrapplingHookSend(), Inventory_Send(), Inventory_Write(), ItemSend(), laser_SendEntity(), MapVote_SendEntity(), MapVote_SendOption(), MapVote_WriteMask(), minigame_SendEntity(), modeleffect_SendEntity(), Mutator_SendEntity(), Nagger_SendEntity(), Net_Write_Notification(), ons_Link_Send(), orb_send(), plat_send(), PlayerScore_SendEntity(), pointparticles_SendEntity(), pong_server_event(), pp_server_event(), rainsnow_SendEntity(), RandomSeed_Send(), ScoreInfo_SendEntity(), SendAuxiliaryXhair(), SpawnEvent_Send(), SpawnPoint_Send(), StatusEffects_Send(), StatusEffects_Write(), SurvivalStatuses_SendEntity(), target_push_send(), target_speed_send(), TeamScore_SendEntity(), teleport_dest_send(), train_send(), trigger_common_write(), trigger_impulse_send(), trigger_keylock_send(), trigger_music_SendEntity(), trigger_push_send(), trigger_push_velocity_send(), trigger_teleport_send(), trigger_viewloc_send(), ttt_server_event(), turret_send(), viewloc_send(), W_Arc_Beam_Send(), W_Tuba_NoteSendEntity(), WarpZone_Camera_Send(), WarpZone_Send(), WarpZone_Teleported_Send(), WaypointSprite_SendEntity(), wepent_send(), and write_damagetext().

◆ netname

string netname

Definition at line 9 of file net.qh.

◆ SendFlags

◆ servertime

◆ uncustomizeentityforclient_set

float uncustomizeentityforclient_set

Definition at line 202 of file net.qh.

Referenced by CopyBody().