Beamable SDK
Public Member Functions | List of all members
Beamable.Common.Assistant.IBeamHintPreferencesManager Interface Reference

Manages and persists BeamHint preferences. Can decide to display/ignore hints, play mode warnings and/or notifications. It persists this configuration in a per-session or permanent level. More...

Inheritance diagram for Beamable.Common.Assistant.IBeamHintPreferencesManager:
Inheritance graph
[legend]

Public Member Functions

void RebuildPerHintPreferences ()
 Restores the current in-memory state of the BeamHintPreferencesManager to match what is stored in its persistent storages. More...
 
BeamHintVisibilityPreference GetHintVisibilityPreferences (BeamHint hint)
 Gets the current BeamHintVisibilityPreference for the given hint.
More...
 
void SetHintVisibilityPreferences (BeamHint hint, BeamHintVisibilityPreference newBeamHintVisibilityPreference)
 Sets, for the given hint , the given newBeamHintVisibilityPreference . More...
 
void SplitHintsByVisibilityPreferences (IEnumerable< BeamHint > hints, out IEnumerable< BeamHint > outToDisplayHints, out IEnumerable< BeamHint > outToIgnoreHints)
 Splits all given hints by their BeamHintVisibilityPreferences. More...
 
BeamHintPlayModeWarningPreference GetHintPlayModeWarningPreferences (BeamHint hint)
 Gets the current BeamHintPlayModeWarningPreference for the given hint.
More...
 
void SetHintPlayModeWarningPreferences (BeamHint hint, BeamHintPlayModeWarningPreference newBeamHintPlayModeWarningPreference)
 Sets, for the given hint , the given newBeamHintPlayModeWarningPreference . More...
 
void SplitHintsByPlayModeWarningPreferences (IEnumerable< BeamHint > hints, out IEnumerable< BeamHint > outToWarnHints, out IEnumerable< BeamHint > outToIgnoreHints)
 Splits all given hints by their BeamHintPlayModeWarningPreferences. More...
 
BeamHintNotificationPreference GetHintNotificationPreferences (BeamHint hint)
 Gets the current BeamHintNotificationPreference for the given hint. More...
 
void SetHintNotificationPreferences (BeamHint hint, BeamHintNotificationPreference newBeamHintNotificationPreference)
 Update the BeamHintNotificationPreference for a given hint. More...
 
void SplitHintsByNotificationPreferences (IEnumerable< BeamHint > hints, out List< BeamHint > outToNotifyNever, out List< BeamHint > outToNotifyOncePerSession, out List< BeamHint > outToNotifyOnContextObjectChange)
 Splits all given hints by their BeamHintPlayModeWarningPreferences. More...
 
void ClearAllPreferences ()
 Discards all persisted BeamHintVisibilityPreferences, BeamHintPlayModeWarningPreferences and BeamHintNotificationPreferences of all hints. More...
 

Detailed Description

Manages and persists BeamHint preferences. Can decide to display/ignore hints, play mode warnings and/or notifications. It persists this configuration in a per-session or permanent level.

Member Function Documentation

◆ ClearAllPreferences()

void Beamable.Common.Assistant.IBeamHintPreferencesManager.ClearAllPreferences ( )

◆ GetHintNotificationPreferences()

BeamHintNotificationPreference Beamable.Common.Assistant.IBeamHintPreferencesManager.GetHintNotificationPreferences ( BeamHint  hint)

Gets the current BeamHintNotificationPreference for the given hint.

Implemented in Beamable.Editor.Assistant.BeamHintPreferencesManager.

◆ GetHintPlayModeWarningPreferences()

BeamHintPlayModeWarningPreference Beamable.Common.Assistant.IBeamHintPreferencesManager.GetHintPlayModeWarningPreferences ( BeamHint  hint)

◆ GetHintVisibilityPreferences()

BeamHintVisibilityPreference Beamable.Common.Assistant.IBeamHintPreferencesManager.GetHintVisibilityPreferences ( BeamHint  hint)

Gets the current BeamHintVisibilityPreference for the given hint.

Implemented in Beamable.Editor.Assistant.BeamHintPreferencesManager.

◆ RebuildPerHintPreferences()

void Beamable.Common.Assistant.IBeamHintPreferencesManager.RebuildPerHintPreferences ( )

Restores the current in-memory state of the BeamHintPreferencesManager to match what is stored in its persistent storages.

Implemented in Beamable.Editor.Assistant.BeamHintPreferencesManager.

◆ SetHintNotificationPreferences()

void Beamable.Common.Assistant.IBeamHintPreferencesManager.SetHintNotificationPreferences ( BeamHint  hint,
BeamHintNotificationPreference  newBeamHintNotificationPreference 
)

◆ SetHintPlayModeWarningPreferences()

void Beamable.Common.Assistant.IBeamHintPreferencesManager.SetHintPlayModeWarningPreferences ( BeamHint  hint,
BeamHintPlayModeWarningPreference  newBeamHintPlayModeWarningPreference 
)

Sets, for the given hint , the given newBeamHintPlayModeWarningPreference .

Implemented in Beamable.Editor.Assistant.BeamHintPreferencesManager.

◆ SetHintVisibilityPreferences()

void Beamable.Common.Assistant.IBeamHintPreferencesManager.SetHintVisibilityPreferences ( BeamHint  hint,
BeamHintVisibilityPreference  newBeamHintVisibilityPreference 
)

Sets, for the given hint , the given newBeamHintVisibilityPreference .

Implemented in Beamable.Editor.Assistant.BeamHintPreferencesManager.

◆ SplitHintsByNotificationPreferences()

void Beamable.Common.Assistant.IBeamHintPreferencesManager.SplitHintsByNotificationPreferences ( IEnumerable< BeamHint hints,
out List< BeamHint outToNotifyNever,
out List< BeamHint outToNotifyOncePerSession,
out List< BeamHint outToNotifyOnContextObjectChange 
)

Splits all given hints by their BeamHintPlayModeWarningPreferences.

Parameters
hintsThe hints to split by.
outToNotifyNeverThe resulting list of BeamHints that should never notify.
outToNotifyOncePerSessionThe resulting list of BeamHints that should notify only once per session.
outToNotifyOnContextObjectChangeThe resulting list of BeamHints that should notify whenever the context object changed.

Implemented in Beamable.Editor.Assistant.BeamHintPreferencesManager.

◆ SplitHintsByPlayModeWarningPreferences()

void Beamable.Common.Assistant.IBeamHintPreferencesManager.SplitHintsByPlayModeWarningPreferences ( IEnumerable< BeamHint hints,
out IEnumerable< BeamHint outToWarnHints,
out IEnumerable< BeamHint outToIgnoreHints 
)

Splits all given hints by their BeamHintPlayModeWarningPreferences.

Parameters
hintsThe hints to split by.
outToWarnHintsThe resulting list of BeamHints that should cause a play-mode-warning.
outToIgnoreHintsThe resulting list of BeamHints that should cause a play-mode-warning.

Implemented in Beamable.Editor.Assistant.BeamHintPreferencesManager.

◆ SplitHintsByVisibilityPreferences()

void Beamable.Common.Assistant.IBeamHintPreferencesManager.SplitHintsByVisibilityPreferences ( IEnumerable< BeamHint hints,
out IEnumerable< BeamHint outToDisplayHints,
out IEnumerable< BeamHint outToIgnoreHints 
)

Splits all given hints by their BeamHintVisibilityPreferences.

Parameters
hintsThe hints to split by.
outToDisplayHintsThe resulting list of BeamHints that should be displayed.
outToIgnoreHintsThe resulting list of BeamHints that should be ignored.

Implemented in Beamable.Editor.Assistant.BeamHintPreferencesManager.


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