LeviLamina
Loading...
Searching...
No Matches
StringOption.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/options/option_types/Option.h"
7
8class StringOption : public ::Option {
9public:
10 // member variables
11 // NOLINTBEGIN
12 ::ll::TypedStorage<8, 32, ::std::string> mValue;
13 ::ll::TypedStorage<8, 32, ::std::string> mDefaultValue;
14 ::ll::TypedStorage<8, 64, ::std::function<::std::string(::std::string const&)>> mCoerceValueCallback;
15 // NOLINTEND
16
17public:
18 // virtual functions
19 // NOLINTBEGIN
20 virtual void save(::std::vector<::std::pair<::std::string, ::std::string>>& propertyVector) /*override*/;
21
22 virtual void load(::std::string const& valueString) /*override*/;
23
24 virtual ~StringOption() /*override*/ = default;
25 // NOLINTEND
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCAPI_C void set(::std::string const& value, bool saveOptionChange);
31 // NOLINTEND
32
33public:
34 // virtual function thunks
35 // NOLINTBEGIN
36#ifdef LL_PLAT_C
37 MCAPI void $save(::std::vector<::std::pair<::std::string, ::std::string>>& propertyVector);
38
39 MCAPI void $load(::std::string const& valueString);
40#endif
41
42
43 // NOLINTEND
44
45public:
46 // vftables
47 // NOLINTBEGIN
48 MCNAPI static void** $vftable();
49 // NOLINTEND
50};
Definition StringOption.h:8
static MCAPI void ** $vftable()