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