LeviLamina
Loading...
Searching...
No Matches
EnumOption.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/options/option_types/IntOption.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
11// auto generated forward declare list
12// clang-format off
13class GameVersion;
14// clang-format on
15
16class EnumOption : public ::IntOption {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::std::unordered_map<int, ::std::string> const&> ValueNameMap;
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 EnumOption& operator=(EnumOption const&);
26 EnumOption(EnumOption const&);
27 EnumOption();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ~EnumOption() /*override*/ = default;
33 // NOLINTEND
34
35public:
36 // member functions
37 // NOLINTBEGIN
38#ifdef LL_PLAT_C
39 MCAPI EnumOption(
40 ::OptionID id,
41 ::OptionOwnerType ownerType,
42 ::OptionResetFlags resetFlags,
43 ::std::string const& captionId,
44 ::std::string const& saveTag,
45 int value,
46 ::std::vector<int> const& values,
47 ::std::unordered_map<int, ::std::string> const& valueNameMap,
48 ::GameVersion version
49 );
50#endif
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56#ifdef LL_PLAT_C
57 MCAPI void* $ctor(
58 ::OptionID id,
59 ::OptionOwnerType ownerType,
60 ::OptionResetFlags resetFlags,
61 ::std::string const& captionId,
62 ::std::string const& saveTag,
63 int value,
64 ::std::vector<int> const& values,
65 ::std::unordered_map<int, ::std::string> const& valueNameMap,
66 ::GameVersion version
67 );
68#endif
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCNAPI static void** $vftable();
75 // NOLINTEND
76};
static MCAPI void ** $vftable()
Definition GameVersion.h:10