Skip to content

Export CurrentGameUI()->m_pMessagesWnd to Lua#233

Merged
themrdemonized merged 1 commit intothemrdemonized:all-in-one-vs2022-wpofrom
nltp-ashes:all-in-one-vs2022-wpo
May 24, 2025
Merged

Export CurrentGameUI()->m_pMessagesWnd to Lua#233
themrdemonized merged 1 commit intothemrdemonized:all-in-one-vs2022-wpofrom
nltp-ashes:all-in-one-vs2022-wpo

Conversation

@nltp-ashes
Copy link
Contributor

This PR exports CurrentGameUI()->m_pMessagesWnd to Lua under the name ActorMenu.get_messages_menu().

It should be noted that right now, this is exported as a CUIWindow, instead of it's real type CUIMessagesWindow. This means that anyone trying to export additional functions from it will not work.

I do not have the skills to export it as CUIMessagesWindow, so I am leaving it as CUIWindow, as it is sufficient for my needs.

@themrdemonized themrdemonized merged commit a3ea124 into themrdemonized:all-in-one-vs2022-wpo May 24, 2025
9 of 10 checks passed
@themrdemonized
Copy link
Owner

Fixed: Exported as CUIMessagesWindow* now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants