LeviLamina
Loading...
Searching...
No Matches
IDimension.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/platform/brstd/function_ref.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class BiomeRegistry;
13class BlockPos;
14class BlockSource;
15class Dimension;
17class Packet;
18class Player;
19class Vec3;
20struct ActorUniqueID;
22// clang-format on
23
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 // vIndex: 0
29 virtual ~IDimension();
30
31 // vIndex: 1
32 virtual bool isNaturalDimension() const = 0;
33
34 // vIndex: 2
35 virtual ::DimensionType getDimensionId() const = 0;
36
37 // vIndex: 3
38 virtual void sendPacketForPosition(::BlockPos const&, ::Packet const&, ::Player const*) = 0;
39
40 // vIndex: 4
41 virtual void sendPacketForEntity(::Actor const&, ::Packet const&, ::Player const*) = 0;
42
43 // vIndex: 5
44 virtual void flushLevelChunkGarbageCollector() = 0;
45
46 // vIndex: 6
47 virtual void
48 initializeWithLevelStorageManagerConnector(::ILevelStorageManagerConnector& levelStorageManagerConnector) = 0;
49
50 // vIndex: 8
51 virtual ::BiomeRegistry& getBiomeRegistry() = 0;
52
53 // vIndex: 7
54 virtual ::BiomeRegistry const& getBiomeRegistry() const = 0;
55
56 // vIndex: 9
57 virtual ::Vec3 translatePosAcrossDimension(::Vec3 const&, ::DimensionType) const = 0;
58
59 // vIndex: 10
60 virtual void forEachPlayer(::brstd::function_ref<bool(::Player&)>) const = 0;
61
62 // vIndex: 11
63 virtual ::Actor* fetchEntity(::ActorUniqueID, bool) const = 0;
64
65 // vIndex: 12
66 virtual ::BlockSource& getBlockSourceFromMainChunkSource() const = 0;
67
68 // vIndex: 13
69 virtual void buildPlayersForPositionPacket(
70 ::BlockPos const&,
71 ::Player const*,
72 ::std::vector<::NetworkIdentifierWithSubId>&
73 ) const = 0;
74 // NOLINTEND
75
76public:
77 // destructor thunk
78 // NOLINTBEGIN
79 MCNAPI void $dtor();
80 // NOLINTEND
81
82public:
83 // virtual function thunks
84 // NOLINTBEGIN
85
86 // NOLINTEND
87
88public:
89 // vftables
90 // NOLINTBEGIN
91 MCNAPI static void** $vftable();
92 // NOLINTEND
93};
Definition Actor.h:103
Definition AutomaticID.h:6
Definition BiomeRegistry.h:31
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Dimension.h:83
Definition IDimension.h:24
MCAPI void $dtor()
static MCAPI void ** $vftable()
Definition ILevelStorageManagerConnector.h:13
Definition Packet.h:26
Definition Player.h:119
Definition Vec3.h:10
Definition function_ref.h:60
Definition ActorUniqueID.h:5
Definition NetworkIdentifierWithSubId.h:10