VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::Flow< TState >::DurationStep Struct Reference

#include <Flow.hpp>

Public Attributes

std::string Title
std::vector< Labeled< int > > Presets
std::function< void(TState &, int seconds)> Set
std::string CustomLabel
std::string CustomPrompt
AppliesFn Applies

Detailed Description

template<class TState>
struct VoltMod::Flow< TState >::DurationStep

Duration presets with optional chat input.

Definition at line 32 of file Flow.hpp.

Member Data Documentation

◆ Applies

template<class TState>
AppliesFn VoltMod::Flow< TState >::DurationStep::Applies

Definition at line 40 of file Flow.hpp.

Referenced by VoltMod::Flow< TState >::AddDurationStep().

◆ CustomLabel

template<class TState>
std::string VoltMod::Flow< TState >::DurationStep::CustomLabel

Empty = no free-text row.

Definition at line 38 of file Flow.hpp.

Referenced by VoltMod::Flow< TState >::AddDurationStep().

◆ CustomPrompt

template<class TState>
std::string VoltMod::Flow< TState >::DurationStep::CustomPrompt

Definition at line 39 of file Flow.hpp.

Referenced by VoltMod::Flow< TState >::AddDurationStep().

◆ Presets

template<class TState>
std::vector<Labeled<int> > VoltMod::Flow< TState >::DurationStep::Presets

Definition at line 35 of file Flow.hpp.

Referenced by VoltMod::Flow< TState >::AddDurationStep().

◆ Set

template<class TState>
std::function<void(TState&, int seconds)> VoltMod::Flow< TState >::DurationStep::Set

Definition at line 36 of file Flow.hpp.

Referenced by VoltMod::Flow< TState >::AddDurationStep().

◆ Title

template<class TState>
std::string VoltMod::Flow< TState >::DurationStep::Title

Definition at line 34 of file Flow.hpp.

Referenced by VoltMod::Flow< TState >::AddDurationStep().


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