Page cover image

Clan List

Like what your seeing?

Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our GitHub Sponsors ... become a sponsor today!

Introduction

Displays a list of the clans the user sees e.g. is a member of or otherwise has a relationship with.

namespace HeathenEngineering.SteamworksIntegration.UI
public class ClanList : MonoBehaviour

Fields and Attributes

Filter

Can only be set in the editor, Scopes the list to specific clans

[SerializeField]
private Filter filter = Filter.Any;

Valid options include

  • Any

  • Official Groups

  • Public Groups

  • Non-official Groups

  • Private Groups

  • Followed

Content

Can only be set in the editor, The root where new records will be spawned when found

[SerializeField]
private Transform content;

Record Template

Can only be set in the editor, The template to be cloned for each entry found

[SerializeField]
private GameObject recordTemplate;

Active Filter

Updates the filter value

public Filter ActiveFilter { get; set; }

Methods

Clear

Clears the list of records being managed

public void Clear()

Update Display

Updates the displayed list of records

public void UpdateDisplay()

Match Filter

Returns true if the Clan priovided matches the filter value

public bool MatchFilter(ClanData clan)

Last updated