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 virtual void save(::std::vector<::std::pair<::std::string, ::std::string>>& propertyVector) /*override*/;
30
31 virtual void load(::std::string const& valueString) /*override*/;
32 // NOLINTEND
33
34public:
35 // member functions
36 // NOLINTBEGIN
37#ifdef LL_PLAT_C
38 MCAPI StringListOption(
39 ::OptionID id,
40 ::OptionOwnerType ownerType,
41 ::OptionResetFlags resetFlags,
42 ::std::string const& captionId,
43 ::std::string const& saveTag,
44 ::std::vector<::std::string> const& value
45 );
46
47 MCAPI void set(::std::vector<::std::string> const& value, bool saveOptionChange);
48#endif
49 // NOLINTEND
50
51public:
52 // constructor thunks
53 // NOLINTBEGIN
54#ifdef LL_PLAT_C
55 MCAPI void* $ctor(
56 ::OptionID id,
57 ::OptionOwnerType ownerType,
58 ::OptionResetFlags resetFlags,
59 ::std::string const& captionId,
60 ::std::string const& saveTag,
61 ::std::vector<::std::string> const& value
62 );
63#endif
64 // NOLINTEND
65
66public:
67 // virtual function thunks
68 // NOLINTBEGIN
69#ifdef LL_PLAT_C
70 MCAPI void $save(::std::vector<::std::pair<::std::string, ::std::string>>& propertyVector);
71
72 MCAPI void $load(::std::string const& valueString);
73#endif
74
75
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
static MCAPI void ** $vftable()