Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
CssBackgroundTextureProperty.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/oreui/BaseCssProperty.h"
7#include "mc/deps/shared_types/beta/data_drivenui/styling/BorderImageRepeatType.h"
8#include "mc/deps/shared_types/util/FileReference.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace OreUI::Styling { struct CssParsingOptions; }
13// clang-format on
14
15namespace OreUI::Styling {
16
17struct CssBackgroundTextureProperty : public ::OreUI::Styling::BaseCssProperty {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 40, ::std::optional<::SharedTypes::FileReference<21>>> mFilePath;
22 ::ll::TypedStorage<4, 8, ::std::array<int, 2>> mBaseSize;
23 ::ll::TypedStorage<4, 16, ::std::array<int, 4>> mNinesliceSize;
24 ::ll::TypedStorage<4, 8, ::std::optional<::SharedTypes::Beta::DataDrivenUI::Styling::BorderImageRepeatType>>
25 mBorderImageRepeatTopBottom;
26 ::ll::TypedStorage<4, 8, ::std::optional<::SharedTypes::Beta::DataDrivenUI::Styling::BorderImageRepeatType>>
27 mBorderImageRepeatRightLeft;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 CssBackgroundTextureProperty();
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual ::std::string convertToCss(
38 ::OreUI::Styling::CssParsingOptions const& options,
39 ::std::unordered_set<::std::string>& addedProperties
40 ) /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
47 ::std::string const& propertyName,
48 ::std::optional<::SharedTypes::FileReference<21>>& filePath
49 );
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCNAPI void* $ctor(::std::string const& propertyName, ::std::optional<::SharedTypes::FileReference<21>>& filePath);
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCNAPI ::std::string $convertToCss(
63 ::std::unordered_set<::std::string>& addedProperties
64 );
65 // NOLINTEND
66};
67
68} // namespace OreUI::Styling
Definition CssBackgroundTextureProperty.h:7
MCAPI void * $ctor(::std::string const &propertyName, ::std::optional<::SharedTypes::FileReference< 21 > > &filePath)
MCAPI CssBackgroundTextureProperty(::std::string const &propertyName, ::std::optional<::SharedTypes::FileReference< 21 > > &filePath)
MCAPI::std::string $convertToCss(::OreUI::Styling::CssParsingOptions const &options, ::std::unordered_set<::std::string > &addedProperties)
Definition CssParsingOptions.h:7
Definition FileReference.h:8