LeviLamina
Loading...
Searching...
No Matches
LevelListener.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/comprehensive/ParticleType.h"
7#include "mc/deps/shared_types/legacy/LevelEvent.h"
8#include "mc/world/level/BlockSourceListener.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
13class Block;
14class BlockPos;
15class ChunkSource;
16class CompoundTag;
17class HashedString;
18class LevelChunk;
20class Vec3;
24namespace cg { class ImageBuffer; }
25// clang-format on
26
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 0
32 virtual ~LevelListener() /*override*/;
33
34 // vIndex: 9
35 virtual void allChanged();
36
37 // vIndex: 10
38 virtual void sendServerLegacyParticle(::ParticleType, ::Vec3 const&, ::Vec3 const&, int);
39
40 // vIndex: 11
41 virtual void
42 addParticleEffect(::HashedString const&, ::Actor const&, ::HashedString const&, ::Vec3 const&, ::MolangVariableMap const&);
43
44 // vIndex: 12
45 virtual void addTerrainParticleEffect(::BlockPos const&, ::Block const&, ::Vec3 const&, float, float, float);
46
47 // vIndex: 13
48 virtual void addTerrainSlideEffect(::BlockPos const&, ::Block const&, ::Vec3 const&, float, float, float);
49
50 // vIndex: 14
51 virtual void
52 addBreakingItemParticleEffect(::Vec3 const&, ::BreakingItemParticleData const&, ::ResolvedItemIconInfo const&);
53
54 // vIndex: 15
55 virtual void playMusic(::std::string const&, ::Vec3 const&, float, float);
56
57 // vIndex: 16
58 virtual void playStreamingMusic(::std::string const&, int, int, int);
59
60 // vIndex: 17
61 virtual void onEntityAdded(::Actor&);
62
63 // vIndex: 18
64 virtual void onEntityRemoved(::Actor&);
65
66 // vIndex: 19
67 virtual void onChunkLoaded(::ChunkSource&, ::LevelChunk&);
68
69 // vIndex: 20
70 virtual void onChunkReloaded(::ChunkSource&, ::LevelChunk&);
71
72 // vIndex: 21
73 virtual void onSubChunkLoaded(::ChunkSource&, ::LevelChunk&, short, bool);
74
75 // vIndex: 22
76 virtual void onChunkUnloaded(::LevelChunk&);
77
78 // vIndex: 23
79 virtual void onLevelDestruction(::std::string const&);
80
81 // vIndex: 25
82 virtual void levelEvent(::SharedTypes::Legacy::LevelEvent, ::Vec3 const&, int);
83
84 // vIndex: 24
85 virtual void levelEvent(::SharedTypes::Legacy::LevelEvent, ::CompoundTag const&);
86
87 // vIndex: 26
88 virtual void
90
91 // vIndex: 27
92 virtual void playerListChanged();
93
94 // vIndex: 28
95 virtual void onLevelDataCommandsChanged(bool);
96
97 // vIndex: 29
98 virtual void onLevelDataWorldTemplateOptionsUnlocked();
99 // NOLINTEND
100
101public:
102 // destructor thunk
103 // NOLINTBEGIN
104 MCFOLD void $dtor();
105 // NOLINTEND
106
107public:
108 // virtual function thunks
109 // NOLINTBEGIN
110 MCFOLD void $allChanged();
111
112 MCFOLD void $sendServerLegacyParticle(::ParticleType, ::Vec3 const&, ::Vec3 const&, int);
113
114 MCFOLD void
115 $addParticleEffect(::HashedString const&, ::Actor const&, ::HashedString const&, ::Vec3 const&, ::MolangVariableMap const&);
116
117 MCFOLD void $addTerrainParticleEffect(::BlockPos const&, ::Block const&, ::Vec3 const&, float, float, float);
118
119 MCFOLD void $addTerrainSlideEffect(::BlockPos const&, ::Block const&, ::Vec3 const&, float, float, float);
120
121 MCFOLD void
122 $addBreakingItemParticleEffect(::Vec3 const&, ::BreakingItemParticleData const&, ::ResolvedItemIconInfo const&);
123
124 MCFOLD void $playMusic(::std::string const&, ::Vec3 const&, float, float);
125
126 MCFOLD void $playStreamingMusic(::std::string const&, int, int, int);
127
128 MCFOLD void $onEntityAdded(::Actor&);
129
130 MCFOLD void $onEntityRemoved(::Actor&);
131
132 MCFOLD void $onChunkLoaded(::ChunkSource&, ::LevelChunk&);
133
134 MCFOLD void $onChunkReloaded(::ChunkSource&, ::LevelChunk&);
135
136 MCFOLD void $onSubChunkLoaded(::ChunkSource&, ::LevelChunk&, short, bool);
137
138 MCFOLD void $onChunkUnloaded(::LevelChunk&);
139
140 MCFOLD void $onLevelDestruction(::std::string const&);
141
142 MCAPI void
143 $takePicture(::cg::ImageBuffer&, ::Actor*, ::Actor*, ::ScreenshotOptions&, ::std::function<void(::cg::ImageBuffer&, ::ScreenshotOptions&)>);
144
145 MCFOLD void $playerListChanged();
146
147 MCFOLD void $onLevelDataCommandsChanged(bool);
148
149 MCFOLD void $onLevelDataWorldTemplateOptionsUnlocked();
150 // NOLINTEND
151
152public:
153 // vftables
154 // NOLINTBEGIN
155 MCAPI static void** $vftable();
156 // NOLINTEND
157};
Definition Actor.h:104
Definition BlockPos.h:18
Definition BlockSourceListener.h:18
Definition Block.h:36
Definition ChunkSource.h:34
Definition CompoundTag.h:13
Definition HashedString.h:5
Definition LevelChunk.h:73
Definition LevelListener.h:27
Definition MolangVariableMap.h:15
Definition Vec3.h:10
Definition ImageBuffer.h:12
Definition BreakingItemParticleData.h:5
Definition ResolvedItemIconInfo.h:8
Definition ScreenshotOptions.h:5