Skip to content

InteractiveUI: sendUpdate() is inaccessible #15

Description

@Dimmies

When using InteractiveUI.onButtonClick, calling sendUpdate isn't accessible due to it being protected. Would also be useful to have it be accessible from the InteractiveUI reference itself. Can an exposed method be created?

Example:

ui.onButtonClick("MyButton", (player, data) -> {
    Utils.Log("Clicked  Button");
    // TODO: Update label
    // Issue: Can't update because sendUpdate is protected
});

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions