AddOns
Latest 200
AddOn Manager
Browse
Upload AddOn
Search AddOns
Projects
Author Portals
Git Repositories
SVN Repositories
Options
Email Feeds
Preference
Download History
News
Forums
New posts
Today's Posts
Search Forum
Categories
General
AddOns
Developer
Site Forums
Mark Forums Read
Subscribed Threads
Open Buddy List
Members List
Wiki
Help
Login
Sign up
ESOUI
»
Developer Discussions
»
Lua/XML Help
»
Hooking private function
Go to Page...
Reply
View First Unread
Thread Tools
Display Modes
03/04/20, 05:38 PM
#
1
dps_master
Join Date: Mar 2020
Posts: 2
Hooking private function
Hi. I want to fire my event before or after
private
function (like
OnSlotDown
). Is it possible?
I tried
ZO_PreHook
and
SecurePostHook
and got errors about accessing private function from insecure code.
dps_master
View Public Profile
Send a private message to dps_master
Find More Posts by dps_master
03/04/20, 09:06 PM
#
2
Dolgubon
Join Date: Jan 2016
Posts: 420
It is not possible. It is possible to hook a function that calls it later down the line. (last I checked, anyway)
Dolgubon
View Public Profile
Send a private message to Dolgubon
Find More Posts by Dolgubon
03/04/20, 11:22 PM
#
3
dps_master
Join Date: Mar 2020
Posts: 2
Oh that is sad.
to hook a function that calls it later down the line
That is a good idea but I can't use it because private functions I need are called directly from key bindings. Thank you.
dps_master
View Public Profile
Send a private message to dps_master
Find More Posts by dps_master
03/05/20, 04:44 AM
#
4
Baertram
Super Moderator
Join Date: Mar 2014
Posts: 5,187
If they are all private and your code makes it insecure ZOs does not want you do get in there in any way and you seemt o need to accept it is not possible (this way).
Baertram
View Public Profile
Send a private message to Baertram
Find More Posts by Baertram
Reply
ESOUI
»
Developer Discussions
»
Lua/XML Help
» Hooking private function
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
vB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off