LeviLamina
Loading...
Searching...
No Matches
InputModeFloatOption.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/input/InputMode.h"
7#include "mc/options/option_types/Option.h"
8#include "mc/options/option_types/OptionID.h"
9#include "mc/options/option_types/OptionOwnerType.h"
10#include "mc/options/option_types/OptionResetFlags.h"
11
12class InputModeFloatOption : public ::Option {
13public:
14 // member variables
15 // NOLINTBEGIN
16 ::ll::TypedStorage<4, 4, float const> VALUE_MIN;
17 ::ll::TypedStorage<4, 4, float const> VALUE_MAX;
18 ::ll::TypedStorage<8, 64, ::std::unordered_map<::InputMode, float>> mValues;
19 ::ll::TypedStorage<8, 64, ::std::unordered_map<::InputMode, float>> mDefaultValues;
20 ::ll::TypedStorage<4, 4, float const> DELTA;
21 // NOLINTEND
22
23#ifdef LL_PLAT_S
24#else // LL_PLAT_C
25public:
26 // prevent constructor by default
27 InputModeFloatOption();
28
29#endif
30public:
31 // virtual functions
32 // NOLINTBEGIN
33#ifdef LL_PLAT_S
34 virtual void save(::std::vector<::std::pair<::std::string, ::std::string>>&) /*override*/;
35#else // LL_PLAT_C
36 virtual void save(::std::vector<::std::pair<::std::string, ::std::string>>& propertyVector) /*override*/;
37#endif
38
39 virtual void load(::std::string const&) /*override*/;
40
41 virtual void load(::std::map<::std::string, ::std::string>& propertyMap) /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47#ifdef LL_PLAT_C
48 MCAPI InputModeFloatOption(
49 ::OptionID id,
50 ::OptionOwnerType ownerType,
51 ::OptionResetFlags resetFlags,
52 ::std::string const& captionId,
53 ::std::string const& saveTag,
54 float value,
55 float valueMin,
56 float rangeMax
57 );
58
59 MCAPI void
60 _saveForInputMode(::std::vector<::std::pair<::std::string, ::std::string>>& propertyVector, ::InputMode mode);
61
62 MCAPI void set(::InputMode inputmode, float value, bool saveOptionChange);
63#endif
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69#ifdef LL_PLAT_C
70 MCAPI void* $ctor(
71 ::OptionID id,
72 ::OptionOwnerType ownerType,
73 ::OptionResetFlags resetFlags,
74 ::std::string const& captionId,
75 ::std::string const& saveTag,
76 float value,
77 float valueMin,
78 float rangeMax
79 );
80#endif
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86#ifdef LL_PLAT_C
87 MCAPI void $save(::std::vector<::std::pair<::std::string, ::std::string>>& propertyVector);
88
89 MCFOLD void $load(::std::string const&);
90
91 MCAPI void $load(::std::map<::std::string, ::std::string>& propertyMap);
92#endif
93
94
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCNAPI static void** $vftable();
101 // NOLINTEND
102};
static MCAPI void ** $vftable()