A class in Root.Township, Alta.Meta.UI.ServerManagement.
Main menu panel component that lists the groups (servers) you have joined, fetched from the web API. Client only.
Constructors
| Member | What it is |
|---|
JoinedGroupsList() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
4 private and internal fields
Methods
| Member | What it is |
|---|
override async void RefreshData() | Reloads the joined groups list, showing the window's loading indicator while it runs. |
3 private and internal methods
| Member | What it is |
|---|
private void InviteFriendToGroup(ListElement element) | Handler for an element's invite button: opens the invite-a-friend panel for that group. |
private async Task SetupJoinedGroupsList() | Fetches your joined groups from ApiAccess.ApiClient, creates one element per group and resets the list with them. |
private void SwapToSelectedGroupPanel(ListElement element) | Handler for selecting an element: sets the selected group panel to that group. |