VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
Vote.cpp File Reference
#include "Engine/Net/NetMessage.hpp"
#include <VoltMod/Core/Slots/Slot.hpp>
#include <VoltMod/Core/Time/Scheduler.hpp>
#include <VoltMod/Engine/Interfaces.hpp>
#include <VoltMod/Entities/EntitySystem.hpp>
#include <VoltMod/Events/EventTypes.hpp>
#include <VoltMod/Events/GameEvents.hpp>
#include <VoltMod/Hooks/Vote.hpp>
#include <cstrike15_usermessages.pb.h>
#include <engine2/igameeventsystem.h>
#include <networksystem/inetworkmessages.h>
#include <string_view>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  VoltMod

Variables

static constexpr std::string_view VoltMod::ControllerClass = "vote_controller"
static constexpr int VoltMod::YesNoIssueIndex = 2
static constexpr int VoltMod::NoIssue = -1
static constexpr int VoltMod::AllTeams = -1
static constexpr int VoltMod::YesOption = 0
static constexpr int VoltMod::NoOption = 1
static constexpr std::string_view VoltMod::VoteStartMessage = "CCSUsrMsg_VoteStart"
static constexpr std::string_view VoltMod::VotePassMessage = "CCSUsrMsg_VotePass"
static constexpr std::string_view VoltMod::VoteFailedMessage = "CCSUsrMsg_VoteFailed"