Skip to content

InteractiveUI: sendUpdate() is inaccessible #15

@Dimmies

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
});

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