LeviLamina
Loading...
Searching...
No Matches
ServerWaypointGroup.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/pub_sub/Publisher.h"
7#include "mc/world/WaypointGroup.h"
8
9// auto generated forward declare list
10// clang-format off
11class Player;
12class ServerWaypoint;
13namespace Bedrock::PubSub::ThreadModel { struct MultiThreaded; }
14// clang-format on
15
16class ServerWaypointGroup : public ::WaypointGroup {
17public:
18 // ServerWaypointGroup inner types declare
19 // clang-format off
21 // clang-format on
22
23 // ServerWaypointGroup inner types define
24 enum class Action : uchar {
25 None = 0,
26 Add = 1,
27 Remove = 2,
28 Update = 3,
29 };
30
32 public:
33 // member variables
34 // NOLINTBEGIN
35 ::ll::TypedStorage<1, 1, ::ServerWaypointGroup::Action> mAction;
36 ::ll::TypedStorage<4, 4, uint> mUpdateFlags;
37 // NOLINTEND
38 };
39
40public:
41 // member variables
42 // NOLINTBEGIN
43 ::ll::TypedStorage<
44 8,
45 64,
46 ::std::unordered_map<
48 ::std::unique_ptr<::ServerWaypoint>,
50 ::std::equal_to<::WaypointGroup::WaypointHandle>>>
51 mWaypoints;
52 ::ll::TypedStorage<8, 16, ::std::map<::WaypointGroup::WaypointHandle, ::ServerWaypointGroup::WaypointChangeRecord>>
53 mChangeRecords;
54 ::ll::TypedStorage<
55 8,
56 128,
58 void(::std::vector<::WaypointGroup::WaypointHandle> const&),
60 0>>
61 mOnInvalidActorRemovedEvent;
62 // NOLINTEND
63
64public:
65 // virtual functions
66 // NOLINTBEGIN
67 virtual bool has(::WaypointGroup::WaypointHandle const& handle) const /*override*/;
68
69 virtual bool remove(::WaypointGroup::WaypointHandle const& handle) /*override*/;
70
71 virtual ~ServerWaypointGroup() /*override*/ = default;
72 // NOLINTEND
73
74public:
75 // member functions
76 // NOLINTBEGIN
77 MCAPI ServerWaypointGroup();
78
79 MCAPI ::WaypointGroup::WaypointHandle add(::std::unique_ptr<::ServerWaypoint> waypoint);
80
81 MCAPI ::std::map<::WaypointGroup::WaypointHandle, ::ServerWaypointGroup::WaypointChangeRecord> consumeChanges();
82
83 MCAPI void update(::Player const& viewingPlayer);
84 // NOLINTEND
85
86public:
87 // constructor thunks
88 // NOLINTBEGIN
89 MCAPI void* $ctor();
90 // NOLINTEND
91
92public:
93 // virtual function thunks
94 // NOLINTBEGIN
95 MCAPI bool $has(::WaypointGroup::WaypointHandle const& handle) const;
96
97 MCAPI bool $remove(::WaypointGroup::WaypointHandle const& handle);
98
99
100 // NOLINTEND
101
102public:
103 // vftables
104 // NOLINTBEGIN
105 MCNAPI static void** $vftable();
106 // NOLINTEND
107};
Definition Publisher.h:8
Definition Player.h:129
static MCAPI void ** $vftable()
Definition ServerWaypoint.h:16
Definition WaypointGroup.h:16
Definition WaypointGroup.h:8
Definition MultiThreaded.h:12
Definition ServerWaypointGroup.h:31
Definition WaypointGroup.h:24