NotificationService
Noir.Services.NotificationService: NoirService
A service for sending notifications to players.
Noir.Services.NotificationService:Notify(title, message, notificationType, player, ...)Notify a player or multiple players.
Parameters
title: stringmessage: stringnotificationType: SWNotificationTypeEnumplayer: NoirPlayer|table<integer, NoirPlayer>|nil...: any
Noir.Services.NotificationService:Success(title, message, player, ...)Send a success notification to a player.
Parameters
title: stringmessage: stringplayer: NoirPlayer|table<integer, NoirPlayer>|nil...: any
Noir.Services.NotificationService:Warning(title, message, player, ...)Send a warning notification to a player.
Parameters
title: stringmessage: stringplayer: NoirPlayer|table<integer, NoirPlayer>|nil...: any
Noir.Services.NotificationService:Error(title, message, player, ...)Send an error notification to a player.
Parameters
title: stringmessage: stringplayer: NoirPlayer|table<integer, NoirPlayer>|nil...: any
Noir.Services.NotificationService:Info(title, message, player, ...)Send an info notification to a player.
Parameters
title: stringmessage: stringplayer: NoirPlayer|table<integer, NoirPlayer>|nil...: any
Last updated