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.
- Listed in Menus, UI and platforms
- Inherits or implements
ServerDetailsPanel
Constructors
| Member | What it is |
|---|---|
EditServerPanel() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private Panel firstPanel | The first page of the edit flow. |
private JoinedGroupManager server | The server being edited. |
Methods
| Member | What 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: