DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ SendNotificationToPlayer()

static void NotificationSystem::SendNotificationToPlayer ( Man player,
NotificationType type,
float show_time,
string detail_text = "" )
inlinestaticprotected

Send notification from default types to player from server.

Аргументы
playerthe target player to send notification to
typethe type of notification to send - these can be viewed in /Scripts/Data/Notifications.json
show_timeamount of time this notification is displayed
detail_textadditional text that can be added to the notification under the title - will not display additional text if not set

См. определение в файле NotificationSystem.c строка 160

161 {
162 if (player)
163 {
164 SendNotificationToPlayerIdentity(player.GetIdentity(), type, show_time, detail_text);
165 }
166 }
static void SendNotificationToPlayerIdentity(PlayerIdentity player, NotificationType type, float show_time, string detail_text="")
Send notification from default types to player identity from server.
Определения NotificationSystem.c:175

Перекрестные ссылки SendNotificationToPlayerIdentity().