LeviLamina
Loading...
Searching...
No Matches
IPlayerDimensionTransferProxy.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/AutomaticID.h"
7#include "mc/entity/components/PlayerPositionModeComponent.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class BlockPos;
13class Dimension;
15class Player;
16class SubChunkPos;
17class Vec3;
18// clang-format on
19
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 // vIndex: 0
25 virtual ~IPlayerDimensionTransferProxy() = default;
26
27 // vIndex: 1
28 virtual void playerDimensionChangedEvent(::Player&, ::DimensionType, ::DimensionType) = 0;
29
30 // vIndex: 2
31 virtual ::Actor* getAgent(::Player&) = 0;
32
33 // vIndex: 3
34 virtual void resetAgent(::Player&) = 0;
35
36 // vIndex: 4
37 virtual void stopUsingItem(::Player&) = 0;
38
39 // vIndex: 5
40 virtual bool hasRespawnPosition(::Player const&) const = 0;
41
42 // vIndex: 6
43 virtual ::BlockPos const& getSpawnPosition(::Player const&) const = 0;
44
45 // vIndex: 7
46 virtual bool isRespawningFromTheEnd(::Player const&) const = 0;
47
48 // vIndex: 8
49 virtual void fireWillChangeDimension(::Player&) = 0;
50
51 // vIndex: 9
52 virtual void moveTo(::Player&, ::Vec3 const&) = 0;
53
54 // vIndex: 10
55 virtual void setPreviousPosition(::Player&) = 0;
56
57 // vIndex: 11
58 virtual void resetInterpolation(::Player&) = 0;
59
60 // vIndex: 12
61 virtual void prepareRegion(::Player&, ::Dimension const&) = 0;
62
63 // vIndex: 13
64 virtual ::MovePlayerPacket
65 createMovePlayerPacket(::Player const&, ::PlayerPositionModeComponent::PositionMode) const = 0;
66
67 // vIndex: 14
68 virtual void setAgent(::Player&, ::Actor&) = 0;
69
70 // vIndex: 15
71 virtual ::Vec3 calculateAgentSpawnPosition(::Player const&) const = 0;
72
73 // vIndex: 16
74 virtual bool isRespawnReady(::Player const&) const = 0;
75
76 // vIndex: 17
77 virtual ::std::pair<bool, ::std::optional<::SubChunkPos>>
78 hasSubChunksAt(::Player const&, ::BlockPos const&, ::BlockPos const&) const = 0;
79
80 // vIndex: 18
81 virtual void transferTickingArea(::Actor&, ::Dimension&) = 0;
82 // NOLINTEND
83
84public:
85 // destructor thunk
86 // NOLINTBEGIN
87
88 // NOLINTEND
89
90public:
91 // virtual function thunks
92 // NOLINTBEGIN
93
94 // NOLINTEND
95};
Definition Actor.h:104
Definition AutomaticID.h:6
Definition BlockPos.h:18
Definition Dimension.h:83
Definition IPlayerDimensionTransferProxy.h:20
Definition MovePlayerPacket.h:22
Definition Player.h:119
Definition SubChunkPos.h:5
Definition Vec3.h:10