27 lines
673 B
C#
27 lines
673 B
C#
using System;
|
|
using Quests.Runtime;
|
|
|
|
namespace EventSystem.Runtime
|
|
{
|
|
public static class QuestSignals
|
|
{
|
|
public static event Action<QuestClass> OnInfoQuestPanel;
|
|
public static event Action OnRefresh;
|
|
public static event Action OnNewQuestRegistered;
|
|
|
|
public static void RaiseInfoQuestPanel(QuestClass questClass)
|
|
{
|
|
OnInfoQuestPanel?.Invoke(questClass);
|
|
}
|
|
|
|
public static void RaiseRefreshQuests()
|
|
{
|
|
OnRefresh?.Invoke();
|
|
}
|
|
|
|
public static void RaiseNewQuestRegistered()
|
|
{
|
|
OnNewQuestRegistered?.Invoke();
|
|
}
|
|
}
|
|
}
|