Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Getting a list of the game engine functions

Featured Replies

  • Author
  • Localization

regularMember, posted Wed Oct 16, 2019 7:46 pm (51573)


I explored lua scripts in the game that uses Fox Engine and saw that engine functions are called from there. For example "Fox.GetPlatformName()" , "Fox.SetActMode( "EDIT" )" or "Fox.Log("Gr shader initialized.")".

So are there possible ways to get a list of the engine functions available? Maybe tracing of known functions will help to trace any other? I'm not a senior programmer, but maybe someone have any ideas?
  • Author
  • Localization

atom0s, posted Wed Oct 16, 2019 9:17 pm (51575)


If you have access to the Lua state, you can dump the entire global space. Everything normally exposed to Lua will be placed into _G in some manner which you can find examples of dumping to file online. In your examples there, you'd probably find the Fox related stuff in the _G.Fox table.
  • Author
  • Localization

Cybemmer, posted Thu Feb 06, 2020 9:38 am (53804)


atom0s wrote:
If you have access to the Lua state, you can dump the entire global space. Everything normally exposed to Lua will be placed into _G in some manner which you can find examples of dumping to file online. In your examples there, you'd probably find the Fox related stuff in the _G.Fox table.


Thanks for the answer, I had the same question
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.