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 fontId,
44 ::Bedrock::NotNullNonOwnerPtr<::FontRepository> fontRepository
45 );
46
47 MCAPI ::Font& getFont() const;
48
49 MCAPI bool isLoaded() const;
50
51 MCAPI bool isValid() const;
52
53 MCAPI ::FontHandle& operator=(::FontHandle const&);
54 // NOLINTEND
55
56public:
57 // static variables
58 // NOLINTBEGIN
59 MCAPI static ::FontHandle& INVALID_FONT_HANDLE();
60
61 MCAPI static ::FontHandle& TEST_FONT_HANDLE();
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor(::FontHandle defaultFont, ::std::string const& newFontAlias);
68
69 MCAPI void* $ctor(
70 ::std::shared_ptr<::Font> defaultFont,
71 uint64 fontId,
72 ::Bedrock::NotNullNonOwnerPtr<::FontRepository> fontRepository
73 );
74 // NOLINTEND
75
76public:
77 // destructor thunk
78 // NOLINTBEGIN
79 MCAPI void $dtor();
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCNAPI static void** $vftable();
86 // NOLINTEND
87};
Definition EnableNonOwnerReferences.h:7
Definition FontHandle.h:5
static MCAPI void ** $vftable()
Definition FontRepository.h:5
Definition Font.h:5