Skip to content

Add method OnAlert for extra Alert types #149

@ShadowLordAlpha

Description

@ShadowLordAlpha

Is your feature request related to a particular part of the API (function, class, functor)? If so, specify it.
Yes, The Client does not issue events for all Alerts, only Nydus and Nuke while the protocol returns far more and the default case is just empty.

Is your feature request related to a problem? Please describe.
I have to check for specific data every step instead of only when specific Alerts are issued

Describe the solution you'd like
Add a new method in ClientEvents called OnAlert(Alert) that gets triggered for all alert events, not just for Nuke or Nydus

Describe alternatives you've considered
This information does not appear to be available to the Agents otherwise

Additional context
This is already part of ocraft (java version of the API) and possibly others

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions