LeviLamina
Loading...
Searching...
No Matches
ServerPlayerMovementComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/optional_ref.h"
7
8// auto generated forward declare list
9// clang-format off
12struct MovementPackets;
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 4, ::std::bitset<3>> mServerHasMovementAuthority;
20 ::ll::TypedStorage<1, 1, bool> mServerHasInventoryAuthority;
21 ::ll::TypedStorage<4, 8, ::std::optional<float>> mAcceptClientPosIfWithinDistanceSq;
22 ::ll::TypedStorage<8, 8, uint64> mPlayerTickCredits;
23 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IPlayerTickPolicy>> mPolicy;
24 ::ll::TypedStorage<8, 40, ::std::deque<::MovementPackets>> mQueuedUpdates;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
31
32public:
33 // member functions
34 // NOLINTBEGIN
36
37 MCAPI bool addInventoryTransactionPacket(::std::shared_ptr<::InventoryTransactionPacket> packet);
38
39 MCAPI ::optional_ref<::MovementPackets> getOrCreate(::std::function<bool(::MovementPackets&)> const& fn);
40
41 MCAPI uint64 getReadyToSimulateCount() const;
42
43 MCAPI ::ServerPlayerMovementComponent& operator=(::ServerPlayerMovementComponent&&);
44 // NOLINTEND
45
46public:
47 // constructor thunks
48 // NOLINTBEGIN
49 MCAPI void* $ctor(::ServerPlayerMovementComponent&&);
50 // NOLINTEND
51};
Definition InventoryTransactionPacket.h:20
Definition IPlayerTickPolicy.h:5
Definition MovementPackets.h:12
Definition ServerPlayerMovementComponent.h:15