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