LeviLamina
Loading...
Searching...
No Matches
OptionChange.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace Social::Events {
6
7class OptionChange {
8public:
9 // member variables
10 // NOLINTBEGIN
14 // NOLINTEND
15
16public:
17 // prevent constructor by default
18 OptionChange& operator=(OptionChange const&);
19 OptionChange(OptionChange const&);
20 OptionChange();
21
22public:
23 // member functions
24 // NOLINTBEGIN
25#ifdef LL_PLAT_C
26 MCNAPI OptionChange(
27 ::std::variant<bool, int, float, ::std::string> initialValue,
28 ::std::variant<bool, int, float, ::std::string> currentValue
29 );
30
31 MCNAPI void changeOption(::std::variant<bool, int, float, ::std::string> currentValue);
32
33 MCNAPI bool checkIfOptionChanged() const;
34
35 MCNAPI int getNumberOfChanges() const;
36
37 MCNAPI ~OptionChange();
38#endif
39 // NOLINTEND
40
41public:
42 // constructor thunks
43 // NOLINTBEGIN
44#ifdef LL_PLAT_C
45 MCNAPI void* $ctor(
46 ::std::variant<bool, int, float, ::std::string> initialValue,
47 ::std::variant<bool, int, float, ::std::string> currentValue
48 );
49#endif
50 // NOLINTEND
51
52public:
53 // destructor thunk
54 // NOLINTBEGIN
55#ifdef LL_PLAT_C
56 MCNAPI void $dtor();
57#endif
58 // NOLINTEND
59};
60
61} // namespace Social::Events
Definition Alias.h:14