VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
Visibility.cpp File Reference
#include <VoltMod/Entities/EntitySystem.hpp>
#include <VoltMod/Hooks/GlowVision.hpp>
#include <VoltMod/Hooks/Visibility.hpp>
#include <VoltMod/Schema/Api.hpp>
#include <algorithm>
#include <cstdint>
#include <engine2/isource2server.h>
#include <entity2/entityinstance.h>
#include <entityhandle.h>
#include <networksystem/networkvar.h>
#include <utility>

Go to the source code of this file.

Classes

struct  VoltMod::HiddenPlayer
 A player turned into a nameless spectator nobody else sees, who sees every player through walls. More...

Namespaces

namespace  VoltMod

Typedefs

using VoltMod::HandleVector = CNetworkUtlVectorBase<CEntityHandle>

Functions

static void VoltMod::AddIndex (HiddenPlayer &player, int index)
static void VoltMod::AddHandleVector (EntitySystem &entities, HiddenPlayer &player, const void *vector)
static CEntityInstance * VoltMod::ObserverTarget (EntitySystem &entities, int recipientSlot)
static void VoltMod::CollectHiddenPlayer (EntitySystem &entities, int slot, bool pawnHidden, bool controllerHidden, HiddenPlayer &out)

Variables

static constexpr int VoltMod::MaxIndicesPerPlayer = 24