Beamable SDK
Public Member Functions | List of all members
Beamable.EasyFeatures.ISyncBeamableView Interface Reference

Implement this interface if your enrich method can be synchronous OR a fire-and-forget (async void) method. More...

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

Public Member Functions

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...
 
- Public Member Functions inherited from Beamable.EasyFeatures.IBeamableView
int GetEnrichOrder ()
 BeamableViewGroup sorts it's managed IBeamableView by this value before calling Enrich. More...
 

Detailed Description

Implement this interface if your enrich method can be synchronous OR a fire-and-forget (async void) method.

Member Function Documentation

◆ EnrichWithContext()

void Beamable.EasyFeatures.ISyncBeamableView.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.

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

Implemented in Beamable.EasyFeatures.BasicLeaderboard.BasicLeaderboardView.


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