Skip to content

Added DestroyOnly requests in AddUI JSON.#97

Open
dassjosh wants to merge 1 commit into
Facepunch:masterfrom
dassjosh:destroy-only
Open

Added DestroyOnly requests in AddUI JSON.#97
dassjosh wants to merge 1 commit into
Facepunch:masterfrom
dassjosh:destroy-only

Conversation

@dassjosh

@dassjosh dassjosh commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Added the ability to specify in the AddUI JSON if we should only destroy the UI element and skip further processing.
This will allow developers the following options when sending AddUi JSON:

  1. Specify multiple destroy UI requests without having to send multiple RPC's
  2. Ability to include Destroy UI requests while also creating/updating UI.

Example Destroy only JSON:

[
    {
        "destroyUi": "Ui1",
        "destroyOnly": true
    },
    {
        "destroyUi": "Ui2",
        "destroyOnly": true
    }
]

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant