Actually I have the same quesiton, and I have made research about that problem for 2 days.
Until now, what I have learned about that problem:
- When we load the ccbi file, the ccbReader will call the loader and bind one layer in the loader. Using this layer, the reader will bind the user input action with the relative methods of this layer by calling onResolveCCBCCMenuItemSelector & onResolveCCBCCControlSelector & onAssignCCBMemberVariable.
But because I am a new guy for lua, I am not sure whether we can do the similar thing in Lua. For example, we can call one method which is in the lua script. If someone has the idea, please help!