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> mSkipEnumeration;
33 ::ll::TypedStorage<1, 1, bool> mPlayOnUnchangedFocusControl;
34 // NOLINTEND
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual ~TextToSpeechComponent() /*override*/ = default;
40
41 virtual ::std::unique_ptr<::UIComponent> clone(::UIControl& cloneOwner) const /*override*/;
42
43 virtual void reset() /*override*/;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI ::std::string const _convertString(
50 ::std::string const& value,
51 ::std::function<::std::string(::std::string const&, ::std::optional<::std::vector<::std::string>>)> const&
52 localizationCallback
53 ) const;
54
55 MCAPI int _getControlIndex(::std::shared_ptr<::UIControl> ancestor);
56
57 MCAPI int _getMaximumContainerSize(::std::shared_ptr<::UIControl> ancestor);
58
59 MCAPI int getControlIndex();
60
61 MCAPI int getSectionCount();
62
63 MCFOLD ::std::string getTTSMessageInterruptibleId() const;
64
65 MCAPI void populateMessageQueue(
66 ::std::multimap<int, ::std::string>& messageQueue,
67 bool excludeHeader,
68 ::std::string& sectionHeader,
69 ::std::function<::std::string(::std::string const&, ::std::optional<::std::vector<::std::string>>)> const&
70 localizationCallback
71 );
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77 MCAPI ::std::unique_ptr<::UIComponent> $clone(::UIControl& cloneOwner) const;
78
79 MCFOLD void $reset();
80 // NOLINTEND
81};
Definition TextToSpeechComponent.h:5
Definition UIComponent.h:5
Definition UIControl.h:5