LeviLamina
Loading...
Searching...
No Matches
Goal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/AutomaticID.h"
7
8// auto generated forward declare list
9// clang-format off
10class Dimension;
11class Player;
12// clang-format on
13
14class Goal {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 32, ::std::string> mDebugName;
19 ::ll::TypedStorage<4, 4, int> mRequiredControlFlags;
20 ::ll::TypedStorage<2, 2, ushort> mTypeId;
21 // NOLINTEND
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual ~Goal();
27
28 virtual bool canUse() = 0;
29
30 virtual bool canContinueToUse();
31
32 virtual bool canBeInterrupted();
33
34 virtual void start();
35
36 virtual void stop();
37
38 virtual void tick();
39
40 virtual void appendDebugInfo(::std::string&) const = 0;
41
42 virtual bool isTargetGoal() const;
43
44 virtual void onPlayerDimensionChanged(::Player* player, ::DimensionType fromDimension, ::DimensionType toDimension);
45 // NOLINTEND
46
47public:
48 // destructor thunk
49 // NOLINTBEGIN
50 MCFOLD 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
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCAPI static void** $vftable();
77 // NOLINTEND
78};
Definition Dimension.h:85
Definition Goal.h:14
Definition Player.h:125