3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/controls/UIComponent.h"
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;
38 virtual ~TextToSpeechComponent() ;
40 virtual ::std::unique_ptr<::UIComponent> clone(::UIControl& cloneOwner)
const ;
42 virtual void reset() ;
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&
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&
60 MCAPI ::std::optional<int> _findIndexWithinGrid(::UIControl& control);
62 MCAPI
int _getControlIndex(::std::shared_ptr<::UIControl> ancestor);
64 MCAPI ::std::pair<int, int> _getControlIndexAndSectionCount(::std::shared_ptr<::UIControl> ancestor);
66 MCAPI
int _getMaximumContainerSize(::std::shared_ptr<::UIControl> ancestor);
68 MCAPI
int getControlIndex();
70 MCFOLD
bool getInheritTTSSiblings()
const;
72 MCAPI
int getSectionCount();
74 MCAPI
bool getSkipChildren()
const;
76 MCFOLD
bool getTTSMessageInterruptible()
const;
78 MCFOLD ::std::string getTTSMessageInterruptibleId()
const;
80 MCAPI
void populateMessageQueue(
81 ::std::multimap<int, ::std::string>& messageQueue,
83 ::std::string& sectionHeader,
84 ::std::function<::std::string(::std::string
const&, ::std::optional<::std::vector<::std::string>>)>
const&
98 MCAPI ::std::unique_ptr<::UIComponent> $clone(::UIControl& cloneOwner)
const;
100 MCFOLD
void $reset();
Definition TextToSpeechComponent.h:5
static MCAPI void ** $vftable()
Definition UIComponent.h:5