LeviLamina
Loading...
Searching...
No Matches
ServerEntityWaypoint.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/ecs/WeakEntityRef.h"
7#include "mc/legacy/ActorUniqueID.h"
8#include "mc/world/EntityWaypointVisibilityRules.h"
9#include "mc/world/ServerWaypoint.h"
10#include "mc/world/level/WorldPosition.h"
11
12// auto generated forward declare list
13// clang-format off
14class Player;
15// clang-format on
16
17class ServerEntityWaypoint : public ::ServerWaypoint {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::ActorUniqueID const> mActorID;
22 ::ll::TypedStorage<8, 24, ::WeakEntityRef const> mEntityRef;
23 ::ll::TypedStorage<4, 20, ::std::optional<::WorldPosition>> mClientWorldPosition;
24 ::ll::TypedStorage<1, 1, ::EntityWaypointVisibilityRules> mEntityVisibilityRules;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual ::std::optional<::ActorUniqueID> tryGetActorID() const /*override*/;
31
32 virtual bool calculateIsVisible(::Player const& viewingPlayer) const /*override*/;
33
34 virtual void update(::Player const& viewingPlayer) /*override*/;
35
36 virtual bool isValid() const /*override*/;
37
38 virtual ~ServerEntityWaypoint() /*override*/ = default;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI void _updatePosition(::Player const& viewingPlayer);
45 // NOLINTEND
46
47public:
48 // virtual function thunks
49 // NOLINTBEGIN
50 MCAPI ::std::optional<::ActorUniqueID> $tryGetActorID() const;
51
52 MCAPI bool $calculateIsVisible(::Player const& viewingPlayer) const;
53
54 MCAPI void $update(::Player const& viewingPlayer);
55
56 MCAPI bool $isValid() const;
57
58
59 // NOLINTEND
60
61public:
62 // vftables
63 // NOLINTBEGIN
64 MCNAPI static void** $vftable();
65 // NOLINTEND
66};
Definition Player.h:129
Definition ServerEntityWaypoint.h:17
static MCAPI void ** $vftable()