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
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 // NOLINTEND
71
72public:
73 // member functions
74 // NOLINTBEGIN
75 MCAPI ::WaypointGroup::WaypointHandle add(::std::unique_ptr<::ServerWaypoint> waypoint);
76
77 MCAPI ::std::map<::WaypointGroup::WaypointHandle, ::ServerWaypointGroup::WaypointChangeRecord> consumeChanges();
78
79 MCAPI void update(::Player const& viewingPlayer);
80 // NOLINTEND
81
82public:
83 // virtual function thunks
84 // NOLINTBEGIN
85 MCAPI bool $has(::WaypointGroup::WaypointHandle const& handle) const;
86
87 MCAPI bool $remove(::WaypointGroup::WaypointHandle const& handle);
88
89
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCNAPI static void** $vftable();
96 // NOLINTEND
97};
Definition Publisher.h:25
Definition Player.h:129
Definition ServerWaypointGroup.h:16
static MCAPI void ** $vftable()
Definition ServerWaypoint.h:17
Definition WaypointGroup.h:16
Definition WaypointGroup.h:8
Definition ServerWaypointGroup.h:31
Definition WaypointGroup.h:24