![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Classes | |
| class | SCR_HintManagerComponentClass |
Typedefs | |
| typedef func | SCR_HintManagerComponent_OnHint |
Variables | |
| ref array< ref SCR_HintConditionList > | m_aConditionLists |
| typedef func SCR_HintManagerComponent_OnHint |
Definition at line 2 of file SCR_HintManagerComponent.c.
| SCR_HintManagerComponentClass SCR_BaseGameModeComponentClass Attribute | ( | "4" | ) |
Definition at line 2 of file SCR_HintManagerComponent.c.
| bool CanShow | ( | ) |
Check if hints are enabled in gameplay settings.
Definition at line 272 of file SCR_HintManagerComponent.c.
| bool ClearHint | ( | ) |
Definition at line 162 of file SCR_HintManagerComponent.c.
|
protected |
Definition at line 491 of file SCR_HintManagerComponent.c.
|
protected |
| [in] | owner |
Definition at line 53 of file SCR_HintManagerComponent.c.
| SCR_HintUIInfo GetCurrentHint | ( | ) |
Get thecurrently shown hint.
Definition at line 253 of file SCR_HintManagerComponent.c.
| float GetDurationOverride | ( | ) |
Get override of hint duration.
Definition at line 310 of file SCR_HintManagerComponent.c.
| SCR_HintUIInfo GetLatestHint | ( | ) |
Get the most recent hint.
Definition at line 245 of file SCR_HintManagerComponent.c.
| ScriptInvokerBase< SCR_HintManagerComponent_OnHint > GetOnHintHide | ( | ) |
Get the event called when a hint is hidden.
Definition at line 326 of file SCR_HintManagerComponent.c.
| ScriptInvokerBase< SCR_HintManagerComponent_OnHint > GetOnHintShow | ( | ) |
Get the event called when a hint is shown.
Definition at line 318 of file SCR_HintManagerComponent.c.
| bool Hide | ( | SCR_HintUIInfo | info = null | ) |
Hide currently shown hint.
| [in] | info | When defined, clear only this hint. If other hint is shown, do nothing. |
Definition at line 200 of file SCR_HintManagerComponent.c.
|
protected |
| [in] | owner |
Definition at line 42 of file SCR_HintManagerComponent.c.
| bool IsShown | ( | ) |
Check if a hint is shown at this moment.
Definition at line 264 of file SCR_HintManagerComponent.c.
|
protected |
Definition at line 455 of file SCR_HintManagerComponent.c.
|
protected |
Definition at line 538 of file SCR_HintManagerComponent.c.
| void OpenContext | ( | ) |
Open context to currently shown hint.
Definition at line 232 of file SCR_HintManagerComponent.c.
| bool Refresh | ( | ) |
Silently refresh currently shown hint.
Definition at line 188 of file SCR_HintManagerComponent.c.
Repeat previously shown hint.
| [in] | isSilent |
Definition at line 177 of file SCR_HintManagerComponent.c.
| void SCR_HintManagerComponent_OnHint | ( | SCR_HintUIInfo | info, |
| bool | isSilent ) |
| void SetDurationOverride | ( | float | duration | ) |
Override hint duration.
| [in] | duration. | When 0, override is reset. |
Definition at line 303 of file SCR_HintManagerComponent.c.
|
protected |
Definition at line 477 of file SCR_HintManagerComponent.c.
| bool ShowCustom | ( | string | description, |
| string | name = string.Empty, | ||
| float | duration = 0, | ||
| bool | isSilent = false, | ||
| EHint | type = EHint.UNDEFINED, | ||
| EFieldManualEntryId | fieldManualEntry = EFieldManualEntryId.NONE, | ||
| bool | isTimerVisible = false ) |
Show hint made of custom texts.
Use only for quick debugging. For legit use, please configure the hint as SCR_UIInfo attribute on your entity/component/config! That will allow you to set all hint properties, as well as to localize it using LocParserPlugin.
| [in] | description | Hint text |
| [in] | name | Hint title |
| [in] | duration | For how long should the hint be shown (in seconds) |
| [in] | isSilent | True to show the hint without any sound effect |
| [in] | type | Hint type. When defined, the hint will be shown only once and never again. |
Definition at line 153 of file SCR_HintManagerComponent.c.
| void Toggle | ( | ) |
Toggle hint. Hide it if it's shown, and open it again if it's hidden.
Definition at line 219 of file SCR_HintManagerComponent.c.
Check if hint type was shown previously (even in previous game sessions; the information is stored persistently).
| [in] | hint | Hint type |
| [in] | limit | How many times can the hint be shown |
Definition at line 282 of file SCR_HintManagerComponent.c.
| bool WasShown | ( | SCR_HintUIInfo | info | ) |
Check if hint info was shown previously (even in previous game sessions; the information is stored persistently).
Definition at line 295 of file SCR_HintManagerComponent.c.
|
protected |
Definition at line 37 of file SCR_HintManagerComponent.c.