|
VoltMod
C++23 framework for CS2 server plugins
|
#include <VoltMod/Players/Player.hpp>#include <array>#include <chrono>#include <concepts>#include <cstddef>#include <cstdint>#include <optional>#include <string>#include <tuple>#include <utility>#include <variant>#include <vector>Go to the source code of this file.
Classes | |
| struct | VoltMod::Args::Target |
| struct | VoltMod::Args::Targets |
| struct | VoltMod::Args::Duration |
| struct | VoltMod::Args::SteamId |
| struct | VoltMod::Args::PlayerOrSteamId |
| struct | VoltMod::Args::Int |
| struct | VoltMod::Args::U64 |
| struct | VoltMod::Args::Word |
| struct | VoltMod::Args::Rest |
| struct | VoltMod::Args::Opt< T > |
| struct | VoltMod::ArgDesc |
| struct | VoltMod::BoundArgFor< std::tuple< A... > > |
| struct | VoltMod::ArgTrait< T > |
| struct | VoltMod::ArgTrait< Args::Opt< T > > |
| struct | VoltMod::ArgUnpack< T > |
| struct | VoltMod::ArgUnpack< Args::Opt< T > > |
Namespaces | |
| namespace | VoltMod |
| namespace | VoltMod::Args |
| The argument types a command handler's parameter list is written in. | |
Concepts | |
| concept | VoltMod::NamesArgKind |
| concept | VoltMod::CommandArg |
| concept | VoltMod::CommandSignature |
Typedefs | |
| using | VoltMod::Args::All = std::tuple< Target, Targets, Duration, SteamId, PlayerOrSteamId, Int, U64, Word, Rest > |
| using | VoltMod::BoundArg = typename BoundArgFor< Args::All >::Type |
Enumerations | |
| enum class | VoltMod::ArgKind : uint8_t { VoltMod::Target , VoltMod::Targets , VoltMod::Duration , VoltMod::SteamId , VoltMod::PlayerOrSteamId , VoltMod::Int , VoltMod::U64 , VoltMod::Word , VoltMod::Rest } |
| Which binder runs for one declared argument. More... | |
Functions | |
| template<std::size_t... I> | |
| consteval bool | VoltMod::ArgKindsMatchOrder (std::index_sequence< I... >) |
| template<class... A> | |
| consteval bool | VoltMod::OptionalsTrail () |
| template<class... A> | |
| consteval bool | VoltMod::RestIsLast () |
| template<class... A> | |
| std::vector< ArgDesc > | VoltMod::DescribeArgs () |
Variables | |
| template<class T > | |
| constexpr bool | VoltMod::IsOptionalArg = false |