Luanti 5.19.0-dev
Loading...
Searching...
No Matches
QuicktuneValue Struct Reference

#include <quicktune.h>

Classes

union  [union].__unnamed0__

Public Member Functions

 QuicktuneValue ()=default
std::string getString ()
void relativeAdd (float amount)

Public Attributes

QuicktuneValueType type = QVT_NONE
union  
bool modified = false

Constructor & Destructor Documentation

◆ QuicktuneValue()

QuicktuneValue::QuicktuneValue ( )
default

References getString(), and relativeAdd().

Referenced by getQuicktuneValue().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ getString()

std::string QuicktuneValue::getString ( )

References ftos(), itos(), QVT_FLOAT, QVT_INT, QVT_NONE, and type.

Referenced by QuicktuneValue(), QuicktuneShortcutter::dec(), QuicktuneShortcutter::inc(), and print_modified_quicktune_values().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ relativeAdd()

void QuicktuneValue::relativeAdd ( float amount)

References QVT_FLOAT, QVT_INT, QVT_NONE, and type.

Referenced by QuicktuneValue(), QuicktuneShortcutter::dec(), and QuicktuneShortcutter::inc().

Here is the caller graph for this function:

Member Data Documentation

◆ @120176303162153350227256370145116354365120125316

◆ modified

bool QuicktuneValue::modified = false

◆ type

QuicktuneValueType QuicktuneValue::type = QVT_NONE

Referenced by getString(), and relativeAdd().


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