LeviLamina
Loading...
Searching...
No Matches
MingleGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ActorDefinitionIdentifier.h"
7#include "mc/world/actor/ai/goal/MoveToPOIGoal.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class MingleComponent;
13struct ActorUniqueID;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 4, int> mCooldownTicks;
21 ::ll::TypedStorage<4, 4, int> mCooldownTicksMax;
22 ::ll::TypedStorage<4, 4, int> mMingleTicks;
23 ::ll::TypedStorage<4, 4, int> mMingleTicksMax;
24 ::ll::TypedStorage<4, 4, int> mAvailableTicks;
25 ::ll::TypedStorage<4, 4, int> mAvailableTicksMax;
26 ::ll::TypedStorage<4, 4, int> mSpeakInterval;
27 ::ll::TypedStorage<8, 176, ::ActorDefinitionIdentifier> mDesiredPartnerType;
28 ::ll::TypedStorage<4, 4, float> mMingleDistanceSquared;
29 // NOLINTEND
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 1
35 virtual bool canUse() /*override*/;
36
37 // vIndex: 2
38 virtual bool canContinueToUse() /*override*/;
39
40 // vIndex: 4
41 virtual void start() /*override*/;
42
43 // vIndex: 5
44 virtual void stop() /*override*/;
45
46 // vIndex: 6
47 virtual void tick() /*override*/;
48
49 // vIndex: 7
50 virtual void appendDebugInfo(::std::string& str) const /*override*/;
51
52 // vIndex: 0
53 virtual ~MingleGoal() /*override*/ = default;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCNAPI void _findNewPartner(::ActorUniqueID previousPartnerId);
60
61 MCNAPI ::MingleComponent& _getMingleComponent() const;
62
63 MCNAPI bool _isWithinInteractRange(::Actor& partner) const;
64
65 MCNAPI void _tickPartneredActive(::MingleComponent& mingleComponent);
66 // NOLINTEND
67
68public:
69 // static functions
70 // NOLINTBEGIN
71 MCNAPI static ::MingleComponent* _tryGetMingleComponent(::Actor& actor);
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77 MCNAPI bool $canUse();
78
79 MCNAPI bool $canContinueToUse();
80
81 MCNAPI void $start();
82
83 MCNAPI void $stop();
84
85 MCNAPI void $tick();
86
87 MCNAPI void $appendDebugInfo(::std::string& str) const;
88 // NOLINTEND
89
90public:
91 // vftables
92 // NOLINTBEGIN
93 MCNAPI static void** $vftable();
94 // NOLINTEND
95};
Definition Actor.h:103
Definition MingleComponent.h:8
Definition MingleGoal.h:16
MCAPI void $start()
MCAPI bool $canContinueToUse()
MCAPI void _tickPartneredActive(::MingleComponent &mingleComponent)
static MCAPI ::MingleComponent * _tryGetMingleComponent(::Actor &actor)
MCAPI bool _isWithinInteractRange(::Actor &partner) const
MCAPI void $stop()
MCAPI bool $canUse()
MCAPI void _findNewPartner(::ActorUniqueID previousPartnerId)
MCAPI void $appendDebugInfo(::std::string &str) const
static MCAPI void ** $vftable()
MCAPI void $tick()
MCAPI::MingleComponent & _getMingleComponent() const
Definition MoveToPOIGoal.h:20
Definition ActorUniqueID.h:5