Skip to main content

IncomingGroupRequestPage

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

Client group page listing requests to join the group, each with accept and reject buttons.

Constructors​

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

Fields​

3 private and internal fields
MemberWhat it is
private TextRenderer emptyListTextText shown when there are no requests.
private ListElementWith2Buttons listElementTwo-button row prefab cloned for each request.
private UIList uiListThe list that holds the request rows.

Methods​

MemberWhat it is
override async void RefreshData()Rebuilds the request list behind a loading screen.
protected override void OnGroupDataChange()Clears and destroys the request list when the shown group changes.
1 private and internal method
MemberWhat it is
private async Task SetupRequestsList()Fetches join requests from the API and adds a row per request; the first button accepts, the second rejects.

Used in​

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