TL;DR: is there some sort of reference material or documentation available on X4/X:R's core Lua library?
I've recently begun tinkering with X4 modding - at present using Sir Nuke's Named Pipes Lua library to interface with an external application - but I'm finding myself a bit lost for lack of reference material and documentation regarding the game's Lua library. Admittedly I'm new to Lua and X4 modding on the whole, but I have worked in software development for nearly two decades and feel I've been adapting to Lua fairly quickly. But I could really use some help in finding reference material or documentation!
IIRC there used to be more useful information on the old Confluence wiki (?), but since the transition to the new platform, the pickings feel sparse, and often reference links to the old wiki which no longer function. In tens of hours scouring catalogue files, wikis, forums, reddit, open source repositories, and mod implementations, I've been unable to find answers to some basic questions I've encountered - like what do global functions like
Code: Select all
DebugError()
Code: Select all
RegisterEvent()
Code: Select all
AddUITriggeredEvent()
Code: Select all
AddUITriggeredEvent()
Code: Select all
RegisterEvent()
As far as I can tell, the declarations for the core X4 Lua library are not contained in the game's catalogue archives, are not described on the wiki, are not listed in function and FFI dumps in miscellaneous GitHub Gists, and are not referenced in any resource pointed to by pinned forum posts or wiki articles. I think I can probably sort out the gist by pouring more hours into reading published mods' code and trial and error, but surely, hopefully, there is some more robust resource that I've been overlooking?
Thank you for your time and consideration. Cheers