Poll: Change the API?
You do not have permission to vote in this poll.
Yes, break all the plugins
85.71%
6 85.71%
No, keep it as is
14.29%
1 14.29%
Total 7 vote(s) 100%
* You voted for this item. [Show Results]

API change in hook-adding
#4
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)
Reply
Thanks given by:


Messages In This Thread
API change in hook-adding - by xoft - 08-21-2013, 11:00 PM
RE: API change in hook-adding - by NiLSPACE - 08-21-2013, 11:29 PM
RE: API change in hook-adding - by FakeTruth - 08-21-2013, 11:52 PM
RE: API change in hook-adding - by xoft - 08-22-2013, 12:27 AM
RE: API change in hook-adding - by FakeTruth - 08-22-2013, 12:30 AM
RE: API change in hook-adding - by xoft - 08-22-2013, 12:31 AM
RE: API change in hook-adding - by bearbin - 08-22-2013, 12:34 AM
RE: API change in hook-adding - by xoft - 08-22-2013, 12:37 AM
RE: API change in hook-adding - by xoft - 08-22-2013, 05:36 AM
RE: API change in hook-adding - by NiLSPACE - 08-22-2013, 05:51 AM
RE: API change in hook-adding - by bearbin - 08-22-2013, 05:54 AM
RE: API change in hook-adding - by xoft - 08-22-2013, 05:54 AM
RE: API change in hook-adding - by NiLSPACE - 08-22-2013, 08:09 PM
RE: API change in hook-adding - by xoft - 08-22-2013, 09:42 PM
RE: API change in hook-adding - by NiLSPACE - 08-22-2013, 11:27 PM
RE: API change in hook-adding - by bearbin - 08-22-2013, 11:33 PM
RE: API change in hook-adding - by NiLSPACE - 08-22-2013, 11:41 PM
RE: API change in hook-adding - by xoft - 08-22-2013, 11:43 PM
RE: API change in hook-adding - by xoft - 08-23-2013, 04:27 AM
RE: API change in hook-adding - by tonibm19 - 10-20-2013, 11:26 PM
RE: API change in hook-adding - by tigerw - 10-21-2013, 03:37 AM
RE: API change in hook-adding - by bearbin - 10-21-2013, 05:30 AM
RE: API change in hook-adding - by xoft - 10-21-2013, 07:19 AM



Users browsing this thread: 11 Guest(s)