Beamable SDK
|
Implement this interface if your enrich should be awaited on before releasing control to the next IBeamableView in BeamableViewGroup.ManagedViews. More...
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... | |
Implement this interface if your enrich should be awaited on before releasing control to the next IBeamableView in BeamableViewGroup.ManagedViews.
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.
managedPlayers | The BeamContext at the current mainPlayerIndex . |
mainPlayerIndex | The index for this BeamContext in BeamableViewGroup.AllPlayerContexts. |