Well, I'm working on a clientside event saver (Me? Something useful?) and I've been thinking on this a lot...
I've done a few bits and pieces on it, and unless I can find some way to serialize the event on the client side, I don't think I'll be able to make any way to load them back into the dialog.
The basic synopsis is that I'm getting the values of all the parts of the event dialog; that is, WrenchEvents_Box.getObject(eventid).getObject(0-x);
In the order of Enabled, Delay, Input, Target, NT (if applicable), Output, and output parameters.
I need a way to convert those parameters into the format that clientcmdaddevent takes, on the client side. I know that the brick calls SerializeEvent(index) to send the event, but I won't be able to do that online.
Does anyone know of a way to find the event indexes from the names? I know all input and output events are stored in a list, but I'm unable to find that list - I found its count/s but cannot find the actual list.
I believe this list IS sent to clients, as I get errors occasionally of events already being registered when I open the event dialog.
If anyone knows where the event lists are, etc. then that would be very appreciated. I already have most other things done.