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