LeviLamina
Loading...
Searching...
No Matches
StringListOption.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#include "mc/options/option_types/OptionID.h"
8#include "mc/options/option_types/OptionOwnerType.h"
9#include "mc/options/option_types/OptionResetFlags.h"
10
11class StringListOption : public ::Option {
12public:
13 // member variables
14 // NOLINTBEGIN
15 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mValue;
16 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mDefaultValue;
17 // NOLINTEND
18
19#ifdef LL_PLAT_S
20#else // LL_PLAT_C
21public:
22 // prevent constructor by default
23 StringListOption();
24
25#endif
26public:
27 // virtual functions
28 // NOLINTBEGIN
29#ifdef LL_PLAT_S
30 virtual void save(::std::vector<::std::pair<::std::string, ::std::string>>&) /*override*/;
31#else // LL_PLAT_C
32 virtual void save(::std::vector<::std::pair<::std::string, ::std::string>>& propertyVector) /*override*/;
33#endif
34
35#ifdef LL_PLAT_S
36 virtual void load(::std::string const&) /*override*/;
37#else // LL_PLAT_C
38 virtual void load(::std::string const& valueString) /*override*/;
39#endif
40
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46#ifdef LL_PLAT_C
47 MCAPI StringListOption(
48 ::OptionID id,
49 ::OptionOwnerType ownerType,
50 ::OptionResetFlags resetFlags,
51 ::std::string const& captionId,
52 ::std::string const& saveTag,
53 ::std::vector<::std::string> const& value
54 );
55
56 MCAPI void set(::std::vector<::std::string> const& value, bool saveOptionChange);
57#endif
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63#ifdef LL_PLAT_C
64 MCAPI void* $ctor(
65 ::OptionID id,
66 ::OptionOwnerType ownerType,
67 ::OptionResetFlags resetFlags,
68 ::std::string const& captionId,
69 ::std::string const& saveTag,
70 ::std::vector<::std::string> const& value
71 );
72#endif
73 // NOLINTEND
74
75public:
76 // virtual function thunks
77 // NOLINTBEGIN
78#ifdef LL_PLAT_C
79 MCAPI void $save(::std::vector<::std::pair<::std::string, ::std::string>>& propertyVector);
80
81 MCAPI void $load(::std::string const& valueString);
82#endif
83
84
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
static MCAPI void ** $vftable()