diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-02-13 17:34:00 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-02-13 17:34:00 -0500 |
commit | d583fb8badd8060c0f74bcb6e99bb6e7d08a67d0 (patch) | |
tree | 270b33a014a7b138f4ab35b2176038309ed4f0f7 /BuildParams | |
parent | ffabe80fd98ad5a13b8833153606f47941fc6e42 (diff) |
Add leaphelp() Lua builtin function for help on LEAP operations.
leaphelp() (no argument) shows a list of all LEAP APIs.
leaphelp(API) shows further help for a specific API.
Both forms query LuaListener's LeapListener and report its responses. In
future we might reimplement leaphelp() as a Lua function.
Add LuaState::getListener() method, which checks whether there's a LuaListener
associated with this LuaState and returns a pointer if so.
Add LuaState::obtainListener() method, which finds or creates a LuaListener
for this LuaState and returns its pointer.
Both the above use logic migrated from the Lua listen_events() entry point,
which now calls obtainListener() instead.
Diffstat (limited to 'BuildParams')
0 files changed, 0 insertions, 0 deletions