Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
registry_net.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "
net.qh
"
4
5
#ifdef GAMEQC
6
REGISTER_NET_TEMP
(registry)
7
#endif
8
9
#ifdef CSQC
10
NET_HANDLE
(registry,
bool
isnew)
11
{
12
string
k =
ReadString
();
13
string
v =
ReadString
();
14
Registry_check
(k, v);
15
return
true
;
16
}
17
#endif
18
19
#ifdef SVQC
20
void
Registry_send
(
string
id
,
string
hash)
21
{
22
int
channel =
MSG_ONE
;
23
WriteHeader
(channel, registry);
24
WriteString
(channel,
id
);
25
WriteString
(channel, hash);
26
}
27
#endif
ReadString
#define ReadString
Definition
cl_minigames.qc:158
net.qh
NET_HANDLE
#define NET_HANDLE(id, param)
Definition
net.qh:15
WriteHeader
#define WriteHeader(to, id)
Definition
net.qh:221
REGISTER_NET_TEMP
#define REGISTER_NET_TEMP(id)
Definition
net.qh:28
MSG_ONE
float MSG_ONE
Definition
menudefs.qc:56
WriteString
void WriteString(string data, float dest, float desto)
Registry_check
ERASEABLE ACCUMULATE void Registry_check(string r, string sv)
Definition
registry.qh:165
Registry_send
void Registry_send(string id, string hash)
Definition
registry_net.qh:20
lib
registry_net.qh
Generated on
for Xonotic QuakeC by
1.14.0