VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
Trace.cpp File Reference
#include <VoltMod/Engine/GameData/Bindings.hpp>
#include <VoltMod/Entities/Trace.hpp>
#include <bspflags.h>
#include <const.h>
#include <entity2/entityidentity.h>
#include <entity2/entityinstance.h>
#include <gametrace.h>
#include <ray.h>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  VoltMod
 

Functions

static uint64_t VoltMod::MaskOf (TraceLayers layers)
 
static CTraceFilter VoltMod::MakeFilter (const TraceOptions &options)
 
static EntityRef VoltMod::RefOf (const CEntityInstance *entity)
 
static TraceHit VoltMod::ToHit (const CGameTrace &trace)
 
static EngineNavPhysics * VoltMod::NavPhysics (void *&table)
 

Variables

static constexpr uint64_t VoltMod::SightMask = CONTENTS_SOLID | CONTENTS_BLOCK_LOS
 
static constexpr uint64_t VoltMod::SurfacesMask = CONTENTS_SOLID | CONTENTS_WINDOW | CONTENTS_PASS_BULLETS | CONTENTS_SKY