LeviLamina
Loading...
Searching...
No Matches
TextToSpeechComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/controls/UIComponent.h"
7
8// auto generated forward declare list
9// clang-format off
10class UIControl;
11// clang-format on
12
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<4, 4, int> mTTSComponentNamePriority;
18 ::ll::TypedStorage<4, 4, int> mTTSComponentValuePriority;
19 ::ll::TypedStorage<4, 4, int> mTTSIndexValuePriority;
20 ::ll::TypedStorage<8, 32, ::std::string> mOverrideComponentValue;
21 ::ll::TypedStorage<8, 32, ::std::string> mComponentHeader;
22 ::ll::TypedStorage<8, 32, ::std::string> mSectionHeaderOverride;
23 ::ll::TypedStorage<8, 32, ::std::string> mTTSControlType;
24 ::ll::TypedStorage<1, 1, bool> mInheritTTSSiblings;
25 ::ll::TypedStorage<1, 1, bool> mMessageInterruptible;
26 ::ll::TypedStorage<8, 32, ::std::string> mMessageInterruptibleId;
27 ::ll::TypedStorage<4, 4, int> mTTSIndexOrder;
28 ::ll::TypedStorage<1, 1, bool> mIgnoreSubsections;
29 ::ll::TypedStorage<1, 1, bool> mIgnoreForTTSIndexCount;
30 ::ll::TypedStorage<1, 1, bool> mSkipNarration;
31 ::ll::TypedStorage<1, 1, bool> mSkipChildren;
32 ::ll::TypedStorage<1, 1, bool> mPlayOnUnchangedFocusControl;
33 // NOLINTEND
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ~TextToSpeechComponent() /*override*/;
39
40 virtual ::std::unique_ptr<::UIComponent> clone(::UIControl& cloneOwner) const /*override*/;
41
42 virtual void reset() /*override*/;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI void _addComponentStringToTTS(
49 ::std::multimap<int, ::std::string>& messageQueue,
50 ::std::function<::std::string(::std::string const&, ::std::optional<::std::vector<::std::string>>)> const&
51 localizationCallback
52 ) const;
53
54 MCAPI ::std::string const _convertString(
55 ::std::string const& value,
56 ::std::function<::std::string(::std::string const&, ::std::optional<::std::vector<::std::string>>)> const&
57 localizationCallback
58 ) const;
59
60 MCAPI ::std::optional<int> _findIndexWithinGrid(::UIControl& control);
61
62 MCAPI int _getControlIndex(::std::shared_ptr<::UIControl> ancestor);
63
64 MCAPI ::std::pair<int, int> _getControlIndexAndSectionCount(::std::shared_ptr<::UIControl> ancestor);
65
66 MCAPI int _getMaximumContainerSize(::std::shared_ptr<::UIControl> ancestor);
67
68 MCAPI int getControlIndex();
69
70 MCFOLD bool getInheritTTSSiblings() const;
71
72 MCAPI int getSectionCount();
73
74 MCAPI bool getSkipChildren() const;
75
76 MCFOLD bool getTTSMessageInterruptible() const;
77
78 MCFOLD ::std::string getTTSMessageInterruptibleId() const;
79
80 MCAPI void populateMessageQueue(
81 ::std::multimap<int, ::std::string>& messageQueue,
82 bool excludeHeader,
83 ::std::string& sectionHeader,
84 ::std::function<::std::string(::std::string const&, ::std::optional<::std::vector<::std::string>>)> const&
85 localizationCallback
86 );
87 // NOLINTEND
88
89public:
90 // destructor thunk
91 // NOLINTBEGIN
92 MCAPI void $dtor();
93 // NOLINTEND
94
95public:
96 // virtual function thunks
97 // NOLINTBEGIN
98 MCAPI ::std::unique_ptr<::UIComponent> $clone(::UIControl& cloneOwner) const;
99
100 MCFOLD void $reset();
101 // NOLINTEND
102
103public:
104 // vftables
105 // NOLINTBEGIN
106 MCNAPI static void** $vftable();
107 // NOLINTEND
108};
Definition TextToSpeechComponent.h:5
static MCAPI void ** $vftable()
Definition UIComponent.h:5
Definition UIControl.h:5