Commit Graph

19 Commits

Author SHA1 Message Date
Rochet2
b1f85bfc21 Eluna
Improved pushing so that a single userdata is used per object pushed.
Made everything use the singleton less, allowing more free code and easier to implement multithreading later.
Made macros for hookmgr and fixed the issue with hooks called inside hooks.
2014-06-29 21:28:49 +02:00
Rochet2
e131f36d39 Eluna add new system for userdata management. single userdata with GC.
Note that this will still need the core side destructors to have the ref remove function used in order to have invalid pointer errors.
2014-06-29 21:28:48 +02:00
Rochet2
93b5da51d6 Eluna fix mangos build 2014-06-29 21:28:47 +02:00
Rochet2
94063c1b7d Eluna Removed mutex lock and forced only one map update thread to be used. Made returning more arguments than pushed to return the return amount of nils instead. Removed a few hooks 2014-06-29 21:28:47 +02:00
Rochet2
f166732b49 Eluna fix TC define changes 2014-06-29 21:28:46 +02:00
Rochet2
6751208eb2 Eluna create workaround for SetReactState 2014-06-29 21:28:45 +02:00
Rochet2
7bd0288658 Eluna implement more hooks, remove unnecessary hooks and code. Can now use Reset to reset timed events and on spawn should be used for events that happen on spawn instead of reset. 2014-06-29 21:28:43 +02:00
Rochet2
afb3aa8ca0 Eluna fix mangos hooks 2014-06-29 21:28:42 +02:00
Rochet2
4537a7f8f0 Eluna 2014-06-29 21:28:38 +02:00
Rochet2
6bec5eeb44 Eluna fix addon msg hook for mangos and for TC's latest changes. Also improve it a little 2014-06-29 21:28:38 +02:00
Rochet2
16b6514589 Eluna fix mangos wotlk build 2014-06-29 21:28:35 +02:00
Foereaper
a9542a28cb Eluna add OnAddonMessage event
Added OnAddonMessage event for Client <-> Server Addon communication
2014-06-29 21:28:33 +02:00
Rochet2
d495d295d8 Eluna edit override back to OVERRIDE 2014-06-29 21:28:32 +02:00
Rochet2
191f9ab768 Eluna reimplement lock and improve hook handling 2014-06-29 21:28:32 +02:00
Rochet2
4dd716015b Eluna update 2014-06-29 21:28:30 +02:00
Rochet2
7f42e08d13 Update HookMgr.cpp 2014-06-29 21:28:30 +02:00
Rochet2
0e79b2a499 Update HookMgr.cpp 2014-06-29 21:28:29 +02:00
Rochet2
51b6b839a8 Update HookMgr.cpp 2014-06-29 21:28:29 +02:00
Foereaper
a04de5b194 Truncating history 2014-06-29 21:27:59 +02:00