LeviLamina
Loading...
Searching...
No Matches
FontHandle.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8
9// auto generated forward declare list
10// clang-format off
11class Font;
12class FontRepository;
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::FontRepository>> mFontRepository;
20 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::Font>> mDefaultFont;
21 ::ll::TypedStorage<8, 8, uint64> mFontId;
22 ::ll::TypedStorage<1, 1, bool> mIsDummyHandle;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 FontHandle(FontHandle const&);
28 FontHandle();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~FontHandle() /*override*/;
34 // NOLINTEND
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI FontHandle(::FontHandle defaultFont, ::std::string const& newFontAlias);
40
41 MCAPI FontHandle(
42 ::std::shared_ptr<::Font> defaultFont,
43 uint64 const fontId,
44 ::Bedrock::NotNullNonOwnerPtr<::FontRepository> fontRepository
45 );
46
47 MCAPI ::Font& getFont() const;
48
49 MCAPI ::FontHandle& operator=(::FontHandle const&);
50 // NOLINTEND
51
52public:
53 // static variables
54 // NOLINTBEGIN
55 MCAPI static ::FontHandle& INVALID_FONT_HANDLE();
56
57 MCAPI static ::FontHandle& TEST_FONT_HANDLE();
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor(::FontHandle defaultFont, ::std::string const& newFontAlias);
64
65 MCAPI void* $ctor(
66 ::std::shared_ptr<::Font> defaultFont,
67 uint64 const fontId,
68 ::Bedrock::NotNullNonOwnerPtr<::FontRepository> fontRepository
69 );
70 // NOLINTEND
71
72public:
73 // destructor thunk
74 // NOLINTBEGIN
75 MCAPI void $dtor();
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
Definition EnableNonOwnerReferences.h:7
Definition FontHandle.h:5
static MCAPI void ** $vftable()
Definition FontRepository.h:5
Definition Font.h:5