Thread
:
SourceHook - Possible to hook the same member object multiple times?
View Single Post
API
Veteran Member
Join Date: May 2006
12-13-2011 , 15:37 Re: SourceHook - Possible to hook the same member object multiple times?
#
2
I feel like there would be a new hook every time. One of the nice things about SourceHook is the ability to chain virtual table hooks. I feel like much of that is lost if there is a limitation on hooks per member per plugin.
EDIT: That being said, I'm sure it would be as simple as maintaining a boolean to prevent duplicate hooks on specific members.
__________________
Generate your redundant SM code
[forum thread]
http://github.com/AnthonyIacono
|
http://research.imkcreative.com
|
http://war3source.com/
Last edited by API; 12-13-2011 at
15:38
.
API
View Public Profile
Send a private message to API
Find More Posts by API