mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 06:45:37 +03:00
114 lines
1.9 KiB
C
114 lines
1.9 KiB
C
|
#ifndef HAM_CONST_H
|
||
|
#define HAM_CONST_H
|
||
|
|
||
|
|
||
|
enum
|
||
|
{
|
||
|
HAM_UNSET = 0,
|
||
|
HAM_IGNORED,
|
||
|
HAM_HANDLED,
|
||
|
HAM_OVERRIDE,
|
||
|
HAM_SUPERCEDE
|
||
|
};
|
||
|
|
||
|
enum
|
||
|
{
|
||
|
Ham_Spawn = 0,
|
||
|
Ham_Precache,
|
||
|
Ham_Keyvalue,
|
||
|
Ham_ObjectCaps,
|
||
|
Ham_Activate,
|
||
|
Ham_SetObjectCollisionBox,
|
||
|
Ham_Classify,
|
||
|
Ham_DeathNotice,
|
||
|
Ham_TraceAttack,
|
||
|
Ham_TakeDamage,
|
||
|
Ham_TakeHealth,
|
||
|
Ham_Killed,
|
||
|
Ham_BloodColor,
|
||
|
Ham_TraceBleed,
|
||
|
Ham_IsTriggered,
|
||
|
Ham_GetToggleState,
|
||
|
Ham_AddPoints,
|
||
|
Ham_AddPointsToTeam,
|
||
|
Ham_AddPlayerItem,
|
||
|
Ham_RemovePlayerItem,
|
||
|
Ham_GiveAmmo,
|
||
|
Ham_GetDelay,
|
||
|
Ham_IsMoving,
|
||
|
Ham_OverrideReset,
|
||
|
Ham_DamageDecal,
|
||
|
Ham_SetToggleState,
|
||
|
Ham_StartSneaking,
|
||
|
Ham_StopSneaking,
|
||
|
Ham_OnControls,
|
||
|
Ham_IsSneaking,
|
||
|
Ham_IsAlive,
|
||
|
Ham_IsBSPModel,
|
||
|
Ham_ReflectGauss,
|
||
|
Ham_HasTarget,
|
||
|
Ham_IsInWorld,
|
||
|
Ham_IsPlayer,
|
||
|
Ham_IsNetClient,
|
||
|
Ham_TeamId,
|
||
|
Ham_GetNextTarget,
|
||
|
Ham_Think,
|
||
|
Ham_Touch,
|
||
|
Ham_Use,
|
||
|
Ham_Blocked,
|
||
|
Ham_Respawn,
|
||
|
Ham_UpdateOwner,
|
||
|
Ham_FBecomeProne,
|
||
|
Ham_Center,
|
||
|
Ham_EyePosition,
|
||
|
Ham_EarPosition,
|
||
|
Ham_BodyTarget,
|
||
|
Ham_Illumination,
|
||
|
Ham_FVisible,
|
||
|
Ham_FVecVisible,
|
||
|
|
||
|
Ham_TS_BreakableRespawn,
|
||
|
Ham_TS_CanUsedThroughWalls,
|
||
|
Ham_TS_RespawnWait,
|
||
|
|
||
|
Ham_CS_Restart,
|
||
|
|
||
|
Ham_DOD_RoundRespawn,
|
||
|
Ham_DOD_RoundRespawnEnt,
|
||
|
Ham_DOD_RoundStore,
|
||
|
Ham_DOD_AreaSetIndex,
|
||
|
Ham_DOD_AreaSendStatus,
|
||
|
Ham_DOD_GetState,
|
||
|
Ham_DOD_GetStateEnt,
|
||
|
|
||
|
Ham_TFC_DbGetItemName,
|
||
|
Ham_TFC_EngineerUse,
|
||
|
Ham_TFC_Finished,
|
||
|
Ham_TFC_EmpExplode,
|
||
|
Ham_TFC_CalcEmpDmgRad,
|
||
|
Ham_TFC_TakeEmpBlast,
|
||
|
Ham_TFC_EmpRemove,
|
||
|
Ham_TFC_TakeConcussionBlast,
|
||
|
Ham_TFC_Concuss,
|
||
|
|
||
|
Ham_NS_GetPointValue,
|
||
|
Ham_NS_AwardKill,
|
||
|
Ham_NS_ResetEntity,
|
||
|
Ham_NS_UpdateOnRemove,
|
||
|
|
||
|
|
||
|
HAM_LAST_ENTRY_DONT_USE_ME_LOL
|
||
|
};
|
||
|
|
||
|
enum
|
||
|
{
|
||
|
HAM_OK = 0,
|
||
|
|
||
|
HAM_INVALID_FUNC, // The function is not valid
|
||
|
HAM_FUNC_NOT_CONFIGURED, // This function is not configured in hamdata.ini
|
||
|
|
||
|
HAM_ERR_END
|
||
|
};
|
||
|
|
||
|
#endif
|