Skip to main content

EditServerPanel

A class in Root.Township, Alta.Meta.UI.ServerManagement.

Main menu panel for editing a joined server's name, description and join type through the web API.

Constructors​

MemberWhat it is
EditServerPanel()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

2 private and internal fields
MemberWhat it is
private Panel firstPanelThe first page of the edit flow.
private JoinedGroupManager serverThe server being edited.

Methods​

MemberWhat it is
void Setup(JoinedGroupManager server)Fills the inputs from the server's current info and opens the first page.
protected override string GetSummaryText()Returns the name, description and join type for the confirm screen.
protected override async Task Run()Sends the edit request, then shows a success or retry popup.

Used in​

Members of other types that take, return or hold a EditServerPanel: