Signature
enum EngineFunc
{
/*
* Description: -
* Params: (const recipients, const entity, const channel, const sample[], const volume, Float:attenuation, const fFlags, const pitch)
*/
RH_SV_StartSound = BEGIN_FUNC_REGION(engine),
/*
* Description: -
* Params: (const client, bool:crash, const fmt[])
*/
RH_SV_DropClient,
/*
* Description: -
* Params: (const runPhysics)
*/
RH_SV_ActivateServer,
/*
* Description: -
* Params: (pcvar, const value[])
*/
RH_Cvar_DirectSet,
/*
* Description: Receiver is player index or 0 when update will be sended to all.
* Params: (const client, buffer, const receiver)
*/
RH_SV_WriteFullClientUpdate,
/*
* Description: -
* Params: (const classname[])
*/
RH_GetEntityInit,
/*
* Description: Called after processing a client connection request.
* Params: (const client)
*/
RH_ClientConnected,
/*
* Description: Called when processing a 'connect' client connectionless packet.
* Params: ()
*/
RH_SV_ConnectClient,
/*
* Description: Called when client it's in the scoreboard
* Params: (const client)
*/
RH_SV_EmitPings,
/*
* Description: Called when an entity is created.
* Return type: Edict * (Entity index)
* Params: ()
*/
RH_ED_Alloc,
/*
* Description: Called when an entity is removed (freed from server).
* Params: (const entity)
*/
RH_ED_Free,
/*
* Description: Called when a message is being sent to the server's console.
* Params: (const string[])
*/
RH_Con_Printf,
/*
* Description: Called when a player's userinfo is being checked.
* Params: (adr, buffer, bool:reconnect, reconnectSlot, name[])
*
* @note Param adr is unused, guaranteed to return nothing also, don't send anything through it.
* @note In order for param name work, hook needs to be registered as Post.
*/
RH_SV_CheckUserInfo,
/*
* Description: Called when a generic resource is being added to generic precache list.
* Return type: int
* Params: (const string[])
*/
RH_PF_precache_generic_I,
/*
* Description: Called when a model is being added to model precache list.
* Return type: int
* Params: (const string[])
*/
RH_PF_precache_model_I,
/*
* Description: Called when a sound is being added to sound precache list.
* Return type: int
* Params: (const string[])
*/
RH_PF_precache_sound_I,
/*
* Description: Called when an event is being added to event precache list.
* Return type: int
* Params: (const string[])
*/
RH_EV_Precache,
/*
* Description: Called when a resource is being added to resource list.
* Params: (ResourceType_t:type, const filename[], size, flags, index)
*/
RH_SV_AddResource,
/*
* Description: Called when message is being printed to client console.
* Params: (const string[])
*/
RH_SV_ClientPrintf,
/*
* Description: Called before adding an entity to the physents of a player.
* Return type: bool
* Params: (const entity, const client)
*/
RH_SV_AllowPhysent,
/*
* Description: Called when a command is being sent to server.
* Params: (const cmd[], source, id)
*/
RH_ExecuteServerStringCmd,
/*
* Description: Called when server sends resources list and location.
* Params: (const client)
*/
RH_SV_SendResources
};
Description
enum EngineFunc