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

#include <Flow.hpp>

Public Attributes

std::string Title
 
std::vector< Labeled< std::string > > Options
 
std::function< void(TState &, const std::string &label, const std::string &value)> Set
 
std::string CustomLabel
 
std::string CustomPrompt
 
std::string CustomValue
 
AppliesFn Applies
 

Detailed Description

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

Labeled options with optional free-text input.

Definition at line 44 of file Flow.hpp.

Member Data Documentation

◆ Applies

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

Definition at line 52 of file Flow.hpp.

◆ CustomLabel

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

Definition at line 49 of file Flow.hpp.

◆ CustomPrompt

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

Definition at line 50 of file Flow.hpp.

◆ CustomValue

template<class TState >
std::string VoltMod::Flow< TState >::OptionsStep::CustomValue

Definition at line 51 of file Flow.hpp.

◆ Options

template<class TState >
std::vector<Labeled<std::string> > VoltMod::Flow< TState >::OptionsStep::Options

Definition at line 47 of file Flow.hpp.

◆ Set

template<class TState >
std::function<void(TState&, const std::string& label, const std::string& value)> VoltMod::Flow< TState >::OptionsStep::Set

Definition at line 48 of file Flow.hpp.

◆ Title

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

Definition at line 46 of file Flow.hpp.


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