Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AGameMode
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 |
virtual void BroadcastLocalized
&40;
AActor &42; Sender,
TSubclassOf< ULocalMessage > Message,
int32 Switch,
APlayerState &42; RelatedPlayerState_1,
APlayerState &42; RelatedPlayerState_2,
UObject &42; OptionalObject
&41;
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.