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 void setInfo(::std::string name, ::GoalId const& goalId);
45
46 virtual ::GoalId getGoalId() const;
47 // NOLINTEND
48
49public:
50 // destructor thunk
51 // NOLINTBEGIN
52 MCAPI void $dtor();
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCFOLD bool $canContinueToUse();
59
60 MCFOLD bool $canBeInterrupted();
61
62 MCFOLD void $start();
63
64 MCFOLD void $stop();
65
66 MCFOLD void $tick();
67
68 MCFOLD bool $isTargetGoal() const;
69
70 MCFOLD void $onPlayerDimensionChanged(::Player* player, ::DimensionType fromDimension, ::DimensionType toDimension);
71
72 MCAPI void $setInfo(::std::string name, ::GoalId const& goalId);
73
74 MCAPI ::GoalId $getGoalId() const;
75
76
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCNAPI static void** $vftable();
83 // NOLINTEND
84};
Definition BaseGoal.h:12
static MCAPI void ** $vftable()
Definition Player.h:129
Definition DimensionType.h:5
Definition GoalId.h:5