VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::PropSpec Struct Reference

#include <EntitySystem.hpp>

Public Attributes

std::string_view Model
 
Vector Origin {0.0f, 0.0f, 0.0f}
 
QAngle Angles {0.0f, 0.0f, 0.0f}
 
bool Solid = true
 
std::string_view Skin
 
float Scale = 1.0f
 
bool CastsShadow = true
 
EntityRef Owner
 

Detailed Description

What EntitySystem::SpawnProp places.

Definition at line 20 of file EntitySystem.hpp.

Member Data Documentation

◆ Angles

QAngle VoltMod::PropSpec::Angles {0.0f, 0.0f, 0.0f}

Definition at line 24 of file EntitySystem.hpp.

◆ CastsShadow

bool VoltMod::PropSpec::CastsShadow = true

Definition at line 30 of file EntitySystem.hpp.

◆ Model

std::string_view VoltMod::PropSpec::Model

Definition at line 22 of file EntitySystem.hpp.

◆ Origin

Vector VoltMod::PropSpec::Origin {0.0f, 0.0f, 0.0f}

Definition at line 23 of file EntitySystem.hpp.

◆ Owner

EntityRef VoltMod::PropSpec::Owner

Set before it spawns, so a trace with TraceOptions::IgnoreOwnedBy passes through it.

Definition at line 32 of file EntitySystem.hpp.

◆ Scale

float VoltMod::PropSpec::Scale = 1.0f

Definition at line 29 of file EntitySystem.hpp.

◆ Skin

std::string_view VoltMod::PropSpec::Skin

Material group; empty keeps the model's default.

Definition at line 28 of file EntitySystem.hpp.

◆ Solid

bool VoltMod::PropSpec::Solid = true

False blocks nothing, bullets and traces included.

Definition at line 26 of file EntitySystem.hpp.


The documentation for this struct was generated from the following file: