Skip to main content

GroupPage

An abstract class in Root.Township, Alta.Meta.UI.ServerManagement.

Base for a page in the server management UI that shows one joined group. Client only.

Constructors​

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

Fields​

MemberWhat it is
protected JoinedGroupManager groupThe group the page is showing.

Methods​

MemberWhat it is
void SetupForGroup(JoinedGroupManager group)Points the page at a group and makes it refresh the next time it loads.
protected virtual void OnGroupDataChange()Hook for subclasses to refresh when the group is cleared or changes.
1 private and internal method
MemberWhat it is
private void ResetPage()Clears the current group and calls OnGroupDataChange. Called by SetupForGroup before it sets the new group.