Skip to main content

OutgoingGroupInvitesPage

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

Client group page listing invites the group has sent, each with a button to revoke it.

Constructors​

MemberWhat it is
OutgoingGroupInvitesPage()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 invites.
private ListElementWithButton listElementRow prefab cloned for each invite.
private UIList uiListThe list that holds the invite rows.

Methods​

MemberWhat it is
override async void RefreshData()Rebuilds the invite list behind a loading screen.
protected override void OnGroupDataChange()Clears and destroys the invite list when the shown group changes.
2 private and internal methods
MemberWhat it is
private async void RevokeInvite(OutgoingGroupInvite invite)Revokes the invite through the API and marks the page to reload.
private async Task SetupInvitesList()Fetches outgoing invites and adds a row per invite; its button asks to confirm a revoke.

Used in​

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