08-22-2013, 12:27 AM
I'm gonna use the exact same mechanism that cPluginManager:BindCommand() already uses. There's a global variable in each lua_State holding the pointer to the plugin (GetLuaPlugin() function in ManualBindings.cpp)
Poll: Change the API? You do not have permission to vote in this poll. |
|||
Yes, break all the plugins | 6 | 85.71% | |
No, keep it as is | 1 | 14.29% | |
Total | 7 vote(s) | 100% |
* You voted for this item. | [Show Results] |
API change in hook-adding
|
« Next Oldest | Next Newest »
|