Beamable SDK
|
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...
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... | |
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.
void Beamable.Common.Assistant.IBeamHintPreferencesManager.ClearAllPreferences | ( | ) |
Discards all persisted BeamHintVisibilityPreferences, BeamHintPlayModeWarningPreferences and BeamHintNotificationPreferences of all hints.
Implemented in Beamable.Editor.Assistant.BeamHintPreferencesManager.
BeamHintNotificationPreference Beamable.Common.Assistant.IBeamHintPreferencesManager.GetHintNotificationPreferences | ( | BeamHint | hint | ) |
Gets the current BeamHintNotificationPreference for the given hint.
Implemented in Beamable.Editor.Assistant.BeamHintPreferencesManager.
BeamHintPlayModeWarningPreference Beamable.Common.Assistant.IBeamHintPreferencesManager.GetHintPlayModeWarningPreferences | ( | BeamHint | hint | ) |
Gets the current BeamHintPlayModeWarningPreference for the given hint.
Implemented in Beamable.Editor.Assistant.BeamHintPreferencesManager.
BeamHintVisibilityPreference Beamable.Common.Assistant.IBeamHintPreferencesManager.GetHintVisibilityPreferences | ( | BeamHint | hint | ) |
Gets the current BeamHintVisibilityPreference for the given hint.
Implemented in Beamable.Editor.Assistant.BeamHintPreferencesManager.
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.
void Beamable.Common.Assistant.IBeamHintPreferencesManager.SetHintNotificationPreferences | ( | BeamHint | hint, |
BeamHintNotificationPreference | newBeamHintNotificationPreference | ||
) |
Update the BeamHintNotificationPreference for a given hint.
Implemented in Beamable.Editor.Assistant.BeamHintPreferencesManager.
void Beamable.Common.Assistant.IBeamHintPreferencesManager.SetHintPlayModeWarningPreferences | ( | BeamHint | hint, |
BeamHintPlayModeWarningPreference | newBeamHintPlayModeWarningPreference | ||
) |
Sets, for the given hint , the given newBeamHintPlayModeWarningPreference .
Implemented in Beamable.Editor.Assistant.BeamHintPreferencesManager.
void Beamable.Common.Assistant.IBeamHintPreferencesManager.SetHintVisibilityPreferences | ( | BeamHint | hint, |
BeamHintVisibilityPreference | newBeamHintVisibilityPreference | ||
) |
Sets, for the given hint , the given newBeamHintVisibilityPreference .
Implemented in Beamable.Editor.Assistant.BeamHintPreferencesManager.
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.
hints | The hints to split by. |
outToNotifyNever | The resulting list of BeamHints that should never notify. |
outToNotifyOncePerSession | The resulting list of BeamHints that should notify only once per session. |
outToNotifyOnContextObjectChange | The resulting list of BeamHints that should notify whenever the context object changed. |
Implemented in Beamable.Editor.Assistant.BeamHintPreferencesManager.
void Beamable.Common.Assistant.IBeamHintPreferencesManager.SplitHintsByPlayModeWarningPreferences | ( | IEnumerable< BeamHint > | hints, |
out IEnumerable< BeamHint > | outToWarnHints, | ||
out IEnumerable< BeamHint > | outToIgnoreHints | ||
) |
Splits all given hints by their BeamHintPlayModeWarningPreferences.
hints | The hints to split by. |
outToWarnHints | The resulting list of BeamHints that should cause a play-mode-warning. |
outToIgnoreHints | The resulting list of BeamHints that should cause a play-mode-warning. |
Implemented in Beamable.Editor.Assistant.BeamHintPreferencesManager.
void Beamable.Common.Assistant.IBeamHintPreferencesManager.SplitHintsByVisibilityPreferences | ( | IEnumerable< BeamHint > | hints, |
out IEnumerable< BeamHint > | outToDisplayHints, | ||
out IEnumerable< BeamHint > | outToIgnoreHints | ||
) |
Splits all given hints by their BeamHintVisibilityPreferences.
hints | The hints to split by. |
outToDisplayHints | The resulting list of BeamHints that should be displayed. |
outToIgnoreHints | The resulting list of BeamHints that should be ignored. |
Implemented in Beamable.Editor.Assistant.BeamHintPreferencesManager.