Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions HUD/GetMenuLayoutChangedEventDetails.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
ns: HUD
aliases: ["0x7E17BE53E1AAABAF", "_GET_PAUSE_MENU_SELECTION_DATA"]
---
## GET_MENU_LAYOUT_CHANGED_EVENT_DETAILS

```c
// 0x7E17BE53E1AAABAF 0x6025AA2F
void GET_MENU_LAYOUT_CHANGED_EVENT_DETAILS(int* previousScreen, int* currentScreen, int* uniqueId);
```

Returns details of a layout changed event.
Be sure this is called only when [`HAS_MENU_LAYOUT_CHANGED_EVENT_OCCURRED`](#_0x2E22FEFA0100275E) returns true in a frame.
Can only be called by one script at a time.
Layout changed events become active whenever the menu is navigated up or down.

## Parameters
* **previousScreen**: Screen id of the last selected item minus 1000. See [`PAUSE_MENUCEPTION_GO_DEEPER`](#_0x77F16B447824DA6C) for a list of screens.
* **currentScreen**: Current menu it's screen id.
* **uniqueId**: Unique ID of the menu item.

34 changes: 0 additions & 34 deletions HUD/GetPauseMenuSelectionData.md

This file was deleted.

16 changes: 16 additions & 0 deletions HUD/HasMenuLayoutChangedEventOccurred.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
ns: HUD
aliases: ["0x2E22FEFA0100275E"]
---
## HAS_MENU_LAYOUT_CHANGED_EVENT_OCCURRED

```c
// 0x2E22FEFA0100275E 0x96863460
BOOL HAS_MENU_LAYOUT_CHANGED_EVENT_OCCURRED();
```

Make sure to use [`GET_MENU_LAYOUT_CHANGED_EVENT_DETAILS`](#_0x7E17BE53E1AAABAF) when this function returns true in a frame.

## Return value
Returns true every frame when a layout change event is active. Do note you can only check this with one script at a time.
Layout change events become active whenever the player navigates the menu up or down.
12 changes: 0 additions & 12 deletions HUD/N_0x2e22fefa0100275e.md

This file was deleted.

Loading