Nuclide
Software Development Kit for id Technology (BETA)
Loading...
Searching...
No Matches
Auth.h
1/*
2 * Copyright (c) 2025 Vera Visions LLC.
3 *
4 * Permission to use, copy, modify, and distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
13 * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
14 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15*/
16
55class
57{
58public:
59 void ncAuthManager(void);
60
61 nonvirtual bool Connect(ncClient targetClient);
62 nonvirtual void Disconnect(ncClient targetClient);
63 nonvirtual bool AllowRespawn(ncClient targetClient);
64
65private:
66 nonvirtual void PassClient(ncClient targetClient);
67 nonvirtual void FailClient(ncClient targetClient);
68 nonvirtual void VerifyFingerprint(float requestID, string dataString);
69};
70
71var bool autocvar_auth_enabled = false;
72var bool autocvar_auth_connectUnauthorizedClients = true;
73var string autocvar_auth_limitToInstance = "";
nonvirtual bool Connect(ncClient targetClient)
Definition Auth.qc:32
void ncAuthManager(void)
Definition Auth.qc:27
nonvirtual void Disconnect(ncClient targetClient)
Definition Auth.qc:98
nonvirtual bool AllowRespawn(ncClient targetClient)
Definition Auth.qc:73
This entity class is the lowest client/player class.
Definition Client.h:34