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;
21// clang-format on
22
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 // vIndex: 0
28 virtual ~IDimension();
29
30 // vIndex: 1
31 virtual bool isNaturalDimension() const = 0;
32
33 // vIndex: 2
34 virtual ::DimensionType getDimensionId() const = 0;
35
36 // vIndex: 3
37 virtual void sendPacketForPosition(::BlockPos const&, ::Packet const&, ::Player const*) = 0;
38
39 // vIndex: 4
40 virtual void sendPacketForEntity(::Actor const&, ::Packet const&, ::Player const*) = 0;
41
42 // vIndex: 5
43 virtual void flushLevelChunkGarbageCollector() = 0;
44
45 // vIndex: 6
46 virtual void
47 initializeWithLevelStorageManagerConnector(::ILevelStorageManagerConnector& levelStorageManagerConnector) = 0;
48
49 // vIndex: 8
50 virtual ::BiomeRegistry& getBiomeRegistry() = 0;
51
52 // vIndex: 7
53 virtual ::BiomeRegistry const& getBiomeRegistry() const = 0;
54
55 // vIndex: 9
56 virtual ::Vec3 translatePosAcrossDimension(::Vec3 const&, ::DimensionType) const = 0;
57
58 // vIndex: 10
59 virtual void forEachPlayer(::brstd::function_ref<bool(::Player&)>) const = 0;
60
61 // vIndex: 11
62 virtual ::Actor* fetchEntity(::ActorUniqueID, bool) const = 0;
63
64 // vIndex: 12
65 virtual ::BlockSource& getBlockSourceFromMainChunkSource() const = 0;
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCFOLD void $dtor();
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCAPI static void** $vftable();
84 // NOLINTEND
85};
Definition Actor.h:104
Definition AutomaticID.h:6
Definition BiomeRegistry.h:30
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Dimension.h:83
Definition IDimension.h:23
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