New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hs.GetActionsByInterface(plugin.Id) returns empty list #145
Comments
For GetActionsByInterface(), you're right you need to pass the plugin name, this is the same problem as #141 I will have a look at GetAllEvents() and GetEventByRef() |
GetAllEvents and GetEventByRef do not work because the EventData struct is not marked as Serializable. This will be fixed in next plugin SDK. (PSDK-122) |
I realised that - hard way - wasting a day of my life! I think this should be changed to plugin ID? And the function argument and comments says pluginID:
|
Also
Mess |
there is definitely a problem. see me other post |
The following methods have been fixed in Plugin SDK version 1.2.2
For the other problems related to the mix up between plugin ID and plugin name, please use issues #141 and #148 |
hs.GetActionsByInterface(plugin.Id) returns empty list
hs.GetAllEvents() does something weird - doesn't return, but try/catch don't catch any exception
hs.GetEventByRef() too
This comment probably means it wasn't tested at all?
[EDIT]
I also tried the old HS3 way:
The first call returns empty list, the second one works. So I changed to
And it works
The text was updated successfully, but these errors were encountered: