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
38
39 MCNAPI bool addInventoryTransactionPacket(::std::shared_ptr<::InventoryTransactionPacket> packet);
40
41 MCNAPI ::MovementPackets& front();
42
43 MCNAPI ::optional_ref<::MovementPackets> getOrCreate(::std::function<bool(::MovementPackets&)> const& fn);
44
45 MCNAPI uint64 getReadyToSimulateCount() const;
46
47 MCNAPI ::ServerPlayerMovementComponent& operator=(::ServerPlayerMovementComponent&&);
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCNAPI void* $ctor();
54
56 // NOLINTEND
57};
Definition InventoryTransactionPacket.h:20
Definition IPlayerTickPolicy.h:5
Definition MovementPackets.h:14
Definition ServerPlayerMovementComponent.h:15
MCAPI ::optional_ref<::MovementPackets > getOrCreate(::std::function< bool(::MovementPackets &)> const &fn)
MCAPI bool addInventoryTransactionPacket(::std::shared_ptr<::InventoryTransactionPacket > packet)
MCAPI::MovementPackets & front()
MCAPI uint64 getReadyToSimulateCount() const
MCAPI::ServerPlayerMovementComponent & operator=(::ServerPlayerMovementComponent &&)
MCAPI ServerPlayerMovementComponent(::ServerPlayerMovementComponent &&)
MCAPI void * $ctor(::ServerPlayerMovementComponent &&)