Page 1 of 1

LuaBootstrap::raise_event doesn't mention CustomEvent

Posted: Fri Aug 29, 2025 5:05 pm
by PennyJim
It says "only events generated with LuaBootstrap::generate_event_name and the following can be raised:" and then lists all the 'actual' events that can be raised

This could mislead people to think they have to use generate_event_name despite a prototype having been made for the express purpose of easier compatibility.
I think just adding "only LuaCustomEventPrototype or events generated with..." should be sufficient

I can see an argument for referencing the prototype instead of the runtime object, or word it like "only events generated by CustomEventPrototype or LuaBootstrap::generate_event_name"

Your call on what you think is better. I'm now leaning towards the latter