Beamable SDK
|
Implement this interface if your enrich method can be synchronous OR a fire-and-forget (async void) method. More...
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... | |
Implement this interface if your enrich method can be synchronous OR a fire-and-forget (async void) method.
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.
currentContext | The BeamContext at the current playerIndex . |
playerIndex | The index for this BeamContext in BeamableViewGroup.AllPlayerContexts. |
Implemented in Beamable.EasyFeatures.BasicLeaderboard.BasicLeaderboardView.