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

Implement this interface if your enrich should be awaited on before releasing control to the next IBeamableView in BeamableViewGroup.ManagedViews. More...

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

Public Member Functions

Promise 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 should be awaited on before releasing control to the next IBeamableView in BeamableViewGroup.ManagedViews.

Member Function Documentation

◆ EnrichWithContext()

Promise Beamable.EasyFeatures.IAsyncBeamableView.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
managedPlayersThe BeamContext at the current mainPlayerIndex .
mainPlayerIndexThe index for this BeamContext in BeamableViewGroup.AllPlayerContexts.

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