The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:BroadcastHandler (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
U2XMP Object >> Actor >> Info >> BroadcastHandler
Package: 
Engine
This class in other games:
UE2Runtime, UT2003, U2, UT2004, UT3, UDK

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[edit]

bMuteSpectators[edit]

Type: bool

Modifiers: config

Whether spectators are allowed to speak.

SentText[edit]

Type: int


Functions[edit]

Events[edit]

AllowBroadcastLocalized[edit]

event AllowBroadcastLocalized (Actor Sender, class<LocalMessageMessage, optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject)


Other instance functions[edit]

AllowsBroadcast[edit]

function bool AllowsBroadcast (Actor broadcaster, int Len)


Broadcast[edit]

function Broadcast (Actor Sender, coerce string Msg, optional name Type)


BroadcastLocalized[edit]

function BroadcastLocalized (Actor Sender, PlayerController Receiver, class<LocalMessageMessage, optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject)


BroadcastTeam[edit]

function BroadcastTeam (Controller Sender, coerce string Msg, optional name Type)


BroadcastText[edit]

function BroadcastText (PlayerReplicationInfo SenderPRI, PlayerController Receiver, coerce string Msg, optional name Type)


UpdateSentText[edit]

function UpdateSentText ()