VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
Entity.cpp File Reference
#include <VoltMod/Engine/GameData/Bindings.hpp>
#include <VoltMod/Entities/EntitySystem.hpp>
#include <VoltMod/Schema/Api.hpp>
#include <algorithm>
#include <bit>
#include <entity2/entityclass.h>
#include <entity2/entityidentity.h>
#include <entity2/entityinstance.h>
#include <entity2/entitysystem.h>
#include <schemasystem/schematypes.h>
#include <shareddefs.h>
#include <string>
#include <string_view>
#include <utility>
#include <variant.h>

Go to the source code of this file.

Classes

struct  VoltMod::EmitSoundParams
 
struct  VoltMod::StartSoundEventInfo
 

Namespaces

namespace  VoltMod
 

Typedefs

using VoltMod::EmitSoundFilterFn = StartSoundEventInfo(*)(IRecipientFilter &filter, CEntityIndex sourceIndex, const EmitSoundParams &params)
 

Functions

static void VoltMod::FireInput (const Bindings &bindings, CEntityInstance *entity, std::string_view input, variant_t &value, CEntityInstance *activator)
 
static Schema::CGameSceneNode VoltMod::SceneNode (const Entity &entity)
 
static bool VoltMod::IsModelEntity (CEntityInstance *entity)
 

Variables

static constexpr float VoltMod::MinScale = 0.05f
 
static constexpr float VoltMod::MaxScale = 3.0f