Beamable SDK
Classes | Public Member Functions | Public Attributes | List of all members
Beamable.EasyFeatures.BasicLeaderboard.BasicLeaderboardView Class Reference

This is an example IBeamableView. It is based off the LeaderboardsPresenter. More...

Inheritance diagram for Beamable.EasyFeatures.BasicLeaderboard.BasicLeaderboardView:
Inheritance graph
[legend]
Collaboration diagram for Beamable.EasyFeatures.BasicLeaderboard.BasicLeaderboardView:
Collaboration graph
[legend]

Classes

struct  BasicLeaderboardViewEntry
 
interface  ILeaderboardDeps
 

Public Member Functions

virtual int GetEnrichOrder ()
 BeamableViewGroup sorts it's managed IBeamableView by this value before calling Enrich. More...
 
virtual void EnrichWithContext (BeamContextGroup managedPlayers)
 Gets called by BeamableViewGroup on start or BeamableViewGroup.Enrich (or BeamableViewGroup.EnrichWithPlayerCodes) gets called via code. This version is called once per BeamableViewGroup.AllPlayerContexts when the SupportedMode is set to BeamableViewGroup.PlayerCountMode.MultiplayerUI. If you don't explicitly support BeamableViewGroup.PlayerCountMode.MultiplayerUI, throw a NotSupportedException from this implementation. More...
 
virtual void EnterLoadingState ()
 

Public Attributes

int EnrichOrder
 
GenericButton BackButton
 
GenericButton TopButton
 
LeaderboardsRankEntriesPresenter RankEntries
 
LeaderboardsRankEntryPresenter CurrentUserRankEntry
 
UnityEvent BackButtonAction
 
UnityEvent TopButtonAction
 

Detailed Description

This is an example IBeamableView. It is based off the LeaderboardsPresenter.

Member Function Documentation

◆ EnrichWithContext()

virtual void Beamable.EasyFeatures.BasicLeaderboard.BasicLeaderboardView.EnrichWithContext ( BeamContextGroup  managedPlayers)
inlinevirtual

Gets called by BeamableViewGroup on start or BeamableViewGroup.Enrich (or BeamableViewGroup.EnrichWithPlayerCodes) gets called via code. This version is called once per BeamableViewGroup.AllPlayerContexts when the SupportedMode is set to BeamableViewGroup.PlayerCountMode.MultiplayerUI. If you don't explicitly support BeamableViewGroup.PlayerCountMode.MultiplayerUI, throw a NotSupportedException from this implementation.

Parameters
currentContextThe BeamContext at the current playerIndex .
playerIndexThe index for this BeamContext in BeamableViewGroup.AllPlayerContexts.

Implements Beamable.EasyFeatures.ISyncBeamableView.

◆ GetEnrichOrder()

virtual int Beamable.EasyFeatures.BasicLeaderboard.BasicLeaderboardView.GetEnrichOrder ( )
virtual

BeamableViewGroup sorts it's managed IBeamableView by this value before calling Enrich.

Implements Beamable.EasyFeatures.IBeamableView.


The documentation for this class was generated from the following file: