feat: expand cockpit integrations and support workflows
Add Phoenix remote desktop, action connector, documentation engine, and gamification support. Refactor support-case processing and search/action UI, and update installer assets and dependencies.
This commit is contained in:
25
F4SD-Gamification/Services/GamificationService.cs
Normal file
25
F4SD-Gamification/Services/GamificationService.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
|
||||
namespace F4SD.Gamification.Services
|
||||
{
|
||||
public static class GamificationService
|
||||
{
|
||||
private static readonly LevelService _levelService = new();
|
||||
|
||||
public static void Initialize()
|
||||
{
|
||||
PersistenceService.Initialize();
|
||||
|
||||
foreach (var action in PersistenceService.GetActions())
|
||||
{
|
||||
_levelService.InitializeAction(action.Action);
|
||||
}
|
||||
}
|
||||
|
||||
public static void TrackAction(CockpitAction action, params object[] args)
|
||||
{
|
||||
PersistenceService.Persist(action);
|
||||
_levelService.TrackAction(action);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user