UE2:BroadcastHandler (U2)
From Unreal Wiki, The Unreal Engine Documentation Site
- Package:
- Engine
- This class in other games:
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
BroadcastHandler
Message broadcasting is delegated to BroadCastHandler by the GameInfo. The BroadCastHandler handles both text messages (typed by a player) and localized messages (which are identified by a LocalMessage class and id). GameInfos produce localized messages using their DeathMessageClass and GameMessageClass classes.
This is a built-in Unreal class and it shouldn't be modified.
Properties
bMuteSpectators
Type: bool
Modifiers: config
Whether spectators are allowed to speak.
bPartitionSpectators
Type: bool
Modifiers: config
Whether spectators are can only speak to spectators.
SentText
Type: int
Functions
Events
AllowBroadcastLocalized
event AllowBroadcastLocalized (Actor Sender, class<LocalMessage> Message, optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject)
Other instance functions
AllowsBroadcast
Broadcast
function Broadcast (Actor Sender, coerce string Msg, optional name Type, optional Sound MessageSound)
BroadcastLocalized
function BroadcastLocalized (Actor Sender, PlayerController Receiver, class<LocalMessage> Message, optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject)
BroadcastLocalizedTeam
function BroadcastLocalizedTeam (Controller Sender, class<LocalMessage> Message, optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject)
BroadcastTeam
function BroadcastTeam (Controller Sender, coerce string Msg, optional name Type, optional Sound MessageSound)
BroadcastText
function BroadcastText (PlayerReplicationInfo SenderPRI, PlayerController Receiver, coerce string Msg, optional name Type, optional Sound MessageSound)
UpdateSentText
function UpdateSentText ()