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

Go to the source code of this file.

Functions

 NET_HANDLE (registry, bool isnew)
void Registry_send (string id, string hash)

Function Documentation

◆ NET_HANDLE()

NET_HANDLE ( registry ,
bool isnew )

Definition at line 10 of file registry_net.qh.

11{
12 string k = ReadString();
13 string v = ReadString();
14 Registry_check(k, v);
15 return true;
16}
#define ReadString
ERASEABLE ACCUMULATE void Registry_check(string r, string sv)
Definition registry.qh:165

References ReadString, and Registry_check().

◆ Registry_send()

void Registry_send ( string id,
string hash )

Definition at line 20 of file registry_net.qh.

21{
22 int channel = MSG_ONE;
23 WriteHeader(channel, registry);
24 WriteString(channel, id);
25 WriteString(channel, hash);
26}
#define WriteHeader(to, id)
Definition net.qh:221
float MSG_ONE
Definition menudefs.qc:56
void WriteString(string data, float dest, float desto)

References MSG_ONE, WriteHeader, and WriteString().