2020-08-14 20:13:03 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2016-2020 Marco Hladik <marco@icculus.org>
|
|
|
|
*
|
|
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
|
|
* copyright notice and this permission notice appear in all copies.
|
|
|
|
*
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
|
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
|
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
|
|
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
|
|
* WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
|
|
|
|
* IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
|
|
|
|
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
*/
|
|
|
|
|
|
|
|
var int g_plugins_enabled;
|
|
|
|
var int autocvar_sv_plugins = 1;
|
|
|
|
|
|
|
|
void Plugin_Init(void);
|
|
|
|
void Plugin_Shutdown(void);
|
2020-08-15 23:04:20 +00:00
|
|
|
|
|
|
|
void Plugin_InitEnts(void);
|
2020-08-14 20:13:03 +00:00
|
|
|
int Plugin_RunClientCommand(void);
|
2020-11-06 12:04:22 +00:00
|
|
|
string Plugin_ParseClientCommand(string);
|
2020-10-30 10:28:59 +00:00
|
|
|
int Plugin_PlayerConnect(base_player);
|
|
|
|
int Plugin_PlayerDisconnect(base_player);
|
2021-02-14 20:05:10 +00:00
|
|
|
int Plugin_PlayerEntered(base_player);
|
2021-05-08 15:44:16 +00:00
|
|
|
void Plugin_PlayerObituary(entity, entity, int, bodyType_t, int);
|