LeviLamina
Loading...
Searching...
No Matches
ActorInteraction.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5class ActorInteraction {
6public:
7 // ActorInteraction inner types define
8 using OnInteraction = ::std::function<void()>;
9
10public:
11 // member variables
12 // NOLINTBEGIN
13 ::ll::TypedStorage<8, 32, ::std::string> mInteractText;
14 ::ll::TypedStorage<8, 64, ::std::function<void()>> mInteraction;
15 ::ll::TypedStorage<1, 1, bool> mNoCapture;
16 // NOLINTEND
17
18public:
19 // prevent constructor by default
20 ActorInteraction();
21
22public:
23 // member functions
24 // NOLINTBEGIN
25 MCAPI explicit ActorInteraction(bool noCapture);
26
27 MCFOLD void capture(::std::function<void()> interactFunc);
28
29 MCFOLD void setInteractText(::std::string const& text);
30
31 MCAPI ~ActorInteraction();
32 // NOLINTEND
33
34public:
35 // constructor thunks
36 // NOLINTBEGIN
37 MCAPI void* $ctor(bool noCapture);
38 // NOLINTEND
39
40public:
41 // destructor thunk
42 // NOLINTBEGIN
43 MCFOLD void $dtor();
44 // NOLINTEND
45};