LeviLamina
Loading...
Searching...
No Matches
SoundEventRequest.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7#include "mc/deps/core/utility/AutomaticID.h"
8#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
9#include "mc/deps/shared_types/legacy/actor/ActorLocation.h"
10
11// auto generated forward declare list
12// clang-format off
13class Dimension;
17struct ActorUniqueID;
18// clang-format on
19
21public:
22 // SoundEventRequest inner types declare
23 // clang-format off
24 struct ActorLocationData;
25 struct PlainData;
26 struct SoundData;
28 // clang-format on
29
30 // SoundEventRequest inner types define
31 struct PlainData {
32 public:
33 // member variables
34 // NOLINTBEGIN
41 // NOLINTEND
42
43 public:
44 // prevent constructor by default
45 PlainData& operator=(PlainData const&);
46 PlainData(PlainData const&);
47 PlainData();
48 };
49
50 struct SoundData {
51 public:
52 // member variables
53 // NOLINTBEGIN
56 // NOLINTEND
57
58 public:
59 // prevent constructor by default
60 SoundData& operator=(SoundData const&);
61 SoundData(SoundData const&);
62 SoundData();
63 };
64
66 public:
67 // member variables
68 // NOLINTBEGIN
75 // NOLINTEND
76
77 public:
78 // prevent constructor by default
82 };
83
85 public:
86 // member variables
87 // NOLINTBEGIN
90 // NOLINTEND
91
92 public:
93 // prevent constructor by default
94 ActorLocationData& operator=(ActorLocationData const&);
97 };
98
99 using SoundDataVariant = ::std::variant<
103
104 using PositionVariant = ::std::variant<::Vec3, ::SoundEventRequest::ActorLocationData>;
105
106public:
107 // member variables
108 // NOLINTBEGIN
109 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mEvent;
110 ::ll::TypedStorage<
111 8,
112 208,
113 ::std::variant<
117 mData;
118 ::ll::TypedStorage<4, 16, ::std::variant<::Vec3, ::SoundEventRequest::ActorLocationData>> mPosition;
119 // NOLINTEND
120
121public:
122 // prevent constructor by default
123 SoundEventRequest& operator=(SoundEventRequest const&);
126
127public:
128 // member functions
129 // NOLINTBEGIN
131 // NOLINTEND
132
133public:
134 // static functions
135 // NOLINTBEGIN
136 MCNAPI static ::std::optional<::SoundEventRequest> tryPlayPredictiveSynchronizedSound(
137 ::ActorDataFlagComponent const& actorFlags,
138 ::ActorDefinitionIdentifier const& identifier,
139 ::ActorUniqueID actorId,
140 ::DimensionType dimension,
141 ::SharedTypes::Legacy::LevelSoundEvent type,
142 ::Vec3 const& pos,
143 int data,
144 bool isGlobal
145 );
146
147 MCNAPI static ::std::optional<::SoundEventRequest> tryPlaySound(
148 ::ActorDataFlagComponent const& actorFlags,
149 ::ActorDefinitionIdentifier const& identifier,
150 ::ActorUniqueID actorId,
151 ::DimensionType dimension,
152 ::SharedTypes::Legacy::LevelSoundEvent type,
153 ::StrictEntityContext const& entity,
154 ::SharedTypes::Legacy::ActorLocation location,
155 int data
156 );
157 // NOLINTEND
158
159public:
160 // constructor thunks
161 // NOLINTBEGIN
162 MCNAPI void* $ctor(::SoundEventRequest&&);
163 // NOLINTEND
164};
Definition AutomaticID.h:6
Definition Dimension.h:83
Definition StrictEntityContext.h:8
Definition Vec3.h:10
Definition ActorDataFlagComponent.h:9
Definition ActorDefinitionIdentifier.h:15
Definition ActorUniqueID.h:5
Definition SoundEventRequest.h:84
Definition SoundEventRequest.h:31
Definition SoundEventRequest.h:50
Definition SoundEventRequest.h:65
Definition SoundEventRequest.h:20
MCAPI void * $ctor(::SoundEventRequest &&)
static MCAPI ::std::optional<::SoundEventRequest > tryPlaySound(::ActorDataFlagComponent const &actorFlags, ::ActorDefinitionIdentifier const &identifier, ::ActorUniqueID actorId, ::DimensionType dimension, ::SharedTypes::Legacy::LevelSoundEvent type, ::StrictEntityContext const &entity, ::SharedTypes::Legacy::ActorLocation location, int data)
static MCAPI ::std::optional<::SoundEventRequest > tryPlayPredictiveSynchronizedSound(::ActorDataFlagComponent const &actorFlags, ::ActorDefinitionIdentifier const &identifier, ::ActorUniqueID actorId, ::DimensionType dimension, ::SharedTypes::Legacy::LevelSoundEvent type, ::Vec3 const &pos, int data, bool isGlobal)
MCAPI SoundEventRequest(::SoundEventRequest &&)
Definition Alias.h:14