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;
8// clang-format on
9
10class BaseGoal {
11public:
12 // member variables
13 // NOLINTBEGIN
14 ::ll::TypedStorage<8, 32, ::std::string> mDebugName;
15 ::ll::TypedStorage<4, 4, int> mRequiredControlFlags;
16 ::ll::TypedStorage<2, 2, ushort> mTypeId;
17 // NOLINTEND
18
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 virtual ~BaseGoal();
23
24 virtual bool canUse() = 0;
25
26 virtual bool canContinueToUse();
27
28 virtual bool canBeInterrupted();
29
30 virtual void start();
31
32 virtual void stop();
33
34 virtual void tick();
35
36 virtual void appendDebugInfo(::std::string& str) const = 0;
37
38 virtual bool isTargetGoal() const;
39
40 virtual void onPlayerDimensionChanged(::Player* player, ::DimensionType fromDimension, ::DimensionType toDimension);
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI BaseGoal();
47
48 MCFOLD int getRequiredControlFlags() const;
49
50 MCAPI ushort getTypeId() const;
51
52 MCFOLD void setRequiredControlFlags(int requiredControlFlags);
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCAPI void* $ctor();
59 // NOLINTEND
60
61public:
62 // destructor thunk
63 // NOLINTBEGIN
64 MCAPI void $dtor();
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCFOLD bool $canContinueToUse();
71
72 MCFOLD bool $canBeInterrupted();
73
74 MCFOLD void $start();
75
76 MCFOLD void $stop();
77
78 MCFOLD void $tick();
79
80 MCFOLD bool $isTargetGoal() const;
81
82 MCFOLD void $onPlayerDimensionChanged(::Player* player, ::DimensionType fromDimension, ::DimensionType toDimension);
83
84
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
static MCAPI void ** $vftable()
Definition Player.h:136