AGameMode::BroadcastLocalized

Broadcast a localized message to all players.

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/GameMode.h

Include

#include "GameFramework/GameMode.h"

Source

/Engine/Source/Runtime/Engine/Private/GameMode.cpp

Syntax

virtual void BroadcastLocalized
(
    AActor * Sender,
    TSubclassOf< ULocalMessage > Message,
    int32 Switch,
    APlayerState * RelatedPlayerState_1,
    APlayerState * RelatedPlayerState_2,
    UObject * OptionalObject
)

Remarks

Broadcast a localized message to all players. Most message deal with 0 to 2 related PlayerStates. The LocalMessage class defines how the PlayerState's and optional actor are used.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Cancel