Xonotic
net_linked.qh
Go to the documentation of this file.
1 #pragma once
2 
3 REGISTER_NET_TEMP(TE_CSQC_PICTURE)
4 REGISTER_NET_TEMP(TE_CSQC_RACE)
5 REGISTER_NET_TEMP(TE_CSQC_TEAMNAGGER)
6 REGISTER_NET_TEMP(TE_CSQC_PINGPLREPORT)
7 REGISTER_NET_TEMP(TE_CSQC_WEAPONCOMPLAIN)
8 REGISTER_NET_TEMP(TE_CSQC_VEHICLESETUP)
9 
10 const int RACE_NET_CHECKPOINT_HIT_QUALIFYING = 0; // byte checkpoint, short time, short recordtime, string recordholder
12 const int RACE_NET_CHECKPOINT_NEXT_QUALIFYING = 2; // byte nextcheckpoint, short recordtime, string recordholder
13 const int RACE_NET_CHECKPOINT_HIT_RACE = 3; // byte checkpoint, short delta, byte lapsdelta, string opponent
14 const int RACE_NET_CHECKPOINT_HIT_RACE_BY_OPPONENT = 4; // byte checkpoint, short delta, byte lapsdelta, string opponent
15 const int RACE_NET_CHECKPOINT_NEXT_SPEC_QUALIFYING = 5; // byte nextcheckpoint, float laptime, short recordtime, string recordholder
16 const int RACE_NET_PENALTY_RACE = 6; // byte penaltytime, string reason
17 const int RACE_NET_PENALTY_QUALIFYING = 7; // byte penaltytime, string reason
18 const int RACE_NET_SERVER_RECORD = 8; // server record, sent to client
19 const int RACE_NET_SPEED_AWARD = 9; // speed award, sent to client
20 const int RACE_NET_SPEED_AWARD_BEST = 10; // all time best speed award, sent to client
21 const int RACE_NET_SERVER_RANKINGS = 11;
22 const int RACE_NET_SERVER_STATUS = 12;
23 const int RACE_NET_CHECKPOINT_HIT_SELF_QUALIFYING = 13; // byte checkpoint, short time, short recordtime
24 const int RACE_NET_CHECKPOINT_NEXT_SELF_QUALIFYING = 14; // byte nextcheckpoint, short recordtime
25 const int RACE_NET_RANKINGS_CNT = 15;
26 
27 REGISTER_NET_LINKED(_ENT_CLIENT_INIT)
28 #ifdef CSQC
29 NET_HANDLE(_ENT_CLIENT_INIT, bool isnew) { make_pure(this); return true; }
30 #endif
31 
32 REGISTER_NET_TEMP(ENT_CLIENT_INIT)
33 
34 REGISTER_NET_LINKED(ENT_CLIENT_SCORES_INFO)
35 REGISTER_NET_LINKED(ENT_CLIENT_SCORES)
36 REGISTER_NET_LINKED(ENT_CLIENT_TEAMSCORES)
37 REGISTER_NET_LINKED(ENT_CLIENT_NAGGER) // flags [votecalledvote]
38 REGISTER_NET_LINKED(ENT_CLIENT_RADARLINK) // flags [startorigin] [endorigin] [startcolor+16*endcolor]
39 REGISTER_NET_LINKED(ENT_CLIENT_PROJECTILE)
40 REGISTER_NET_LINKED(ENT_CLIENT_MAPVOTE)
41 REGISTER_NET_LINKED(ENT_CLIENT_CLIENTDATA)
42 REGISTER_NET_LINKED(ENT_CLIENT_RANDOMSEED)
43 REGISTER_NET_LINKED(ENT_CLIENT_ACCURACY)
44 REGISTER_NET_LINKED(ENT_CLIENT_ELIMINATEDPLAYERS)
45 
46 REGISTER_NET_LINKED(ENT_CLIENT_WARPZONE)
47 REGISTER_NET_LINKED(ENT_CLIENT_WARPZONE_CAMERA)
48 REGISTER_NET_LINKED(ENT_CLIENT_WARPZONE_TELEPORTED)
49 
50 REGISTER_NET_LINKED(ENT_CLIENT_ARC_BEAM)
51 REGISTER_NET_LINKED(ENT_CLIENT_HOOK)
52 REGISTER_NET_LINKED(ENT_CLIENT_TUBANOTE)
53 
54 REGISTER_NET_LINKED(ENT_CLIENT_SPAWNPOINT)
55 REGISTER_NET_LINKED(ENT_CLIENT_SPAWNEVENT)
56 REGISTER_NET_LINKED(ENT_CLIENT_WALL)
57 
58 #include <lib/csqcmodel/net.qh>
59 
60 REGISTER_NET_C2S(fpsreport)
const int RACE_NET_CHECKPOINT_HIT_QUALIFYING
Definition: net_linked.qh:10
#define REGISTER_NET_LINKED(id)
Definition: net.qh:67
#define REGISTER_NET_C2S(id)
Definition: net.qh:94
const int RACE_NET_CHECKPOINT_NEXT_QUALIFYING
Definition: net_linked.qh:12
const int RACE_NET_CHECKPOINT_NEXT_SPEC_QUALIFYING
Definition: net_linked.qh:15
#define NET_HANDLE(id, param)
Definition: net.qh:12
const int RACE_NET_SPEED_AWARD
Definition: net_linked.qh:19
const int RACE_NET_SERVER_RECORD
Definition: net_linked.qh:18
const int RACE_NET_CHECKPOINT_HIT_RACE_BY_OPPONENT
Definition: net_linked.qh:14
const int RACE_NET_CHECKPOINT_HIT_SELF_QUALIFYING
Definition: net_linked.qh:23
const int RACE_NET_CHECKPOINT_HIT_RACE
Definition: net_linked.qh:13
const int RACE_NET_CHECKPOINT_NEXT_SELF_QUALIFYING
Definition: net_linked.qh:24
const int RACE_NET_RANKINGS_CNT
Definition: net_linked.qh:25
const int RACE_NET_SERVER_RANKINGS
Definition: net_linked.qh:21
const int RACE_NET_PENALTY_QUALIFYING
Definition: net_linked.qh:17
const int RACE_NET_SPEED_AWARD_BEST
Definition: net_linked.qh:20
const int RACE_NET_SERVER_STATUS
Definition: net_linked.qh:22
#define make_pure(e)
Definition: oo.qh:12
const int RACE_NET_PENALTY_RACE
Definition: net_linked.qh:16
#define REGISTER_NET_TEMP(id)
Definition: net.qh:33
const int RACE_NET_CHECKPOINT_CLEAR
Definition: net_linked.qh:11