Nuclide
Software Development Kit for id Tech
plugins.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2016-2020 Marco Cawthorne <marco@icculus.org>
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
21typedef struct
22{
23 string m_strPath;
25} plugin_t;
26
27
28var bool g_plugins_enabled = false;
29var bool autocvar_sv_plugins = false;
30
31void Plugin_Init(void);
32void Plugin_Shutdown(void);
33
34void Plugin_InitEnts(void);
36string Plugin_ParseClientCommand(string);
40void Plugin_PlayerObituary(entity, entity, int, bodyType_t, int);
This entity class represents every player client.
Definition: NSClientPlayer.h:28
bodyType_t
Hitmesh types that models can support.
Definition: hitmesh.h:21
var bool g_plugins_enabled
Definition: plugins.h:28
void Plugin_PlayerObituary(entity, entity, int, bodyType_t, int)
Definition: plugins.qc:319
string Plugin_ParseClientCommand(string)
Definition: plugins.qc:183
var bool autocvar_sv_plugins
Definition: plugins.h:29
int Plugin_PlayerDisconnect(NSClientPlayer)
Definition: plugins.qc:249
void Plugin_InitEnts(void)
Definition: plugins.qc:123
int Plugin_RunClientCommand(void)
Definition: plugins.qc:147
int Plugin_PlayerEntered(NSClientPlayer)
Definition: plugins.qc:284
void Plugin_Init(void)
Definition: plugins.qc:21
int Plugin_PlayerConnect(NSClientPlayer)
Definition: plugins.qc:214
void Plugin_Shutdown(void)
Definition: plugins.qc:96
Definition: plugins.h:22
float m_flProgsID
Definition: plugins.h:24
string m_strPath
Definition: plugins.h:23