LeviLamina
Loading...
Searching...
No Matches
BaseGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Player;
8struct DimensionType;
9struct GoalId;
10// clang-format on
11
12class BaseGoal {
13public:
14 // member variables
15 // NOLINTBEGIN
16 ::ll::TypedStorage<8, 32, ::std::string> mName;
17 ::ll::TypedStorage<4, 4, int> mRequiredControlFlags;
18 ::ll::TypedStorage<2, 2, ushort> mTypeId;
19 // NOLINTEND
20
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 virtual ~BaseGoal();
25
26 virtual bool canUse() = 0;
27
28 virtual bool canContinueToUse();
29
30 virtual bool canBeInterrupted();
31
32 virtual void start();
33
34 virtual void stop();
35
36 virtual void tick();
37
38 virtual void appendDebugInfo(::std::string& str) const = 0;
39
40 virtual bool isTargetGoal() const;
41
42 virtual void onPlayerDimensionChanged(::Player* player, ::DimensionType fromDimension, ::DimensionType toDimension);
43
44 virtual ::GoalId getGoalId() const;
45 // NOLINTEND
46
47public:
48 // destructor thunk
49 // NOLINTBEGIN
50 MCAPI void $dtor();
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCFOLD bool $canContinueToUse();
57
58 MCFOLD bool $canBeInterrupted();
59
60 MCFOLD void $start();
61
62 MCFOLD void $stop();
63
64 MCFOLD void $tick();
65
66 MCFOLD bool $isTargetGoal() const;
67
68 MCFOLD void $onPlayerDimensionChanged(::Player* player, ::DimensionType fromDimension, ::DimensionType toDimension);
69
70 MCAPI ::GoalId $getGoalId() const;
71
72
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCNAPI static void** $vftable();
79 // NOLINTEND
80};
Definition BaseGoal.h:12
static MCAPI void ** $vftable()
Definition Player.h:129
Definition DimensionType.h:5
Definition GoalId.h:5