18void GlowVision::DestroyPair(GlowPair&
pair)
34void GlowVision::CreatePair(
int slot, GlowPair&
pair)
74 relay.AcceptInput(
"FollowEntity",
"!activator",
pawn);
75 glow.AcceptInput(
"FollowEntity",
"!activator",
relay);
82 ShowToViewers(
pair.Relay);
83 ShowToViewers(
pair.Glow);
86void GlowVision::ShowToViewers(EntityRef
entity)
129 for (
auto&
pair : _pairs)
Entity Spawn(std::string_view className, KeyValues &values)
VoltMod::Pawn Pawn(int slot)
Entity Get(EntityRef ref)
A player's body: health, armor, movement, aim, weapons. The engine replaces it on every spawn; the Co...
std::string ModelName() const
void ShowOnlyToTeam(EntityRef entity, Team team)
bool IsPawnHidden(int slot) const
void ShowToEveryone(EntityRef entity)
void ShowOnlyTo(EntityRef entity, int slot)
constexpr bool IsPlaying(Team team)
static constexpr int GlowStateAlwaysOn
static constexpr int GlowTeamAny
static std::string ReadFile(const std::filesystem::path &path)
static constexpr int GlowRangeUnits
static constexpr int GlowRenderAmt
static constexpr int PropSpawnFlags
std::function< bool(int slot)> Filter