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

UE3:BroadcastHandler (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> Actor >> Info >> BroadcastHandler
Package: 
Engine
This class in other games:
UE2Runtime, U2XMP, UT2003, U2, UT2004, UT3

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.

Properties

bMuteSpectators

Type: bool

Modifiers: config

Whether spectators are allowed to speak.

SentText

Type: int


Default values

Property Value
CollisionType COLLIDE_CustomDefault
TickGroup TG_DuringAsyncWork

Subobjects

Sprite

Class: Engine.SpriteComponent

Inherits from: Info.Sprite

Property Value
ReplacementPrimitive None

Functions

Events

AllowBroadcastLocalized

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


AllowBroadcastLocalizedTeam

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


Other instance functions

AllowsBroadcast

function bool AllowsBroadcast (Actor broadcaster, int InLen)


Broadcast

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


BroadcastLocalized

function BroadcastLocalized (Actor Sender, PlayerController Receiver, class<LocalMessageMessage, 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)


BroadcastText

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


UpdateSentText

function UpdateSentText ()