LeviLamina
Loading...
Searching...
No Matches
FogCommandComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Actor;
8class CompoundTag;
11// clang-format on
12
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<8, 24, ::std::vector<::FogCommandSettings>> mFogStack;
18 // NOLINTEND
19
20public:
21 // member functions
22 // NOLINTBEGIN
23 MCAPI void addAdditionalSaveData(::CompoundTag& tag) const;
24
25 MCAPI ::std::vector<::std::string> getFogSettingsStack() const;
26
27 MCAPI ::std::vector<::std::string> getUserProvidedIds() const;
28
29 MCAPI ::std::optional<::std::string> popFogSetting(::std::optional<::std::string> const& userProvidedId);
30
31 MCAPI ::std::optional<uchar>
32 pushFogSetting(::std::string const& fogId, ::std::optional<::std::string> const& userProvidedId);
33
34 MCAPI void readAdditionalSaveData(::Actor& owner, ::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
35
36 MCAPI bool removeFogSettings(::std::optional<::std::string> const& userProvidedId);
37
38 MCAPI bool setFogSettingsStack(
39 ::std::vector<::std::string> const& fogIds,
40 ::std::optional<::std::string> const& userProvidedId
41 );
42 // NOLINTEND
43
44public:
45 // static functions
46 // NOLINTBEGIN
47 MCAPI static bool isValidIdentifier(::std::string const& format);
48 // NOLINTEND
49};
Definition Actor.h:113
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20
Definition FogCommandComponent.h:13
Definition FogCommandSettings.h:5