mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-03-19 08:19:48 +08:00
23 lines
546 B
C#
23 lines
546 B
C#
using BetterGenshinImpact.Service.Notification.Model;
|
|
using BetterGenshinImpact.Service.Notification.Model.Enum;
|
|
|
|
namespace BetterGenshinImpact.Service.Notification;
|
|
|
|
public class Notify
|
|
{
|
|
public static BaseNotificationData Event(string eventName)
|
|
{
|
|
return new BaseNotificationData
|
|
{
|
|
Event = eventName
|
|
};
|
|
}
|
|
|
|
public static BaseNotificationData Event(NotificationEvent eventEnum)
|
|
{
|
|
return new BaseNotificationData
|
|
{
|
|
Event = eventEnum.Code
|
|
};
|
|
}
|
|
} |