My program doesn't have bugs. It just develops random features.

UE2:PlayerReplicationInfo (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Info >> ReplicationInfo >> PlayerReplicationInfo
Package: 
Engine
Direct subclass:
TeamPlayerReplicationInfo
This class in other games:
RTNP, U1, UT, U2XMP, UT2003, UE2Runtime, U2, UT3, UDK

PlayerReplicationInfo.

Properties

ActiveChannel

Type: int

this player's currently active channel

bAdmin

Type: bool

Player logged in as Administrator

bBot

Type: bool


bIsFemale

Type: bool


bIsSpectator

Type: bool


bNoTeam

Type: bool

true if no teaminfo for this PRI

bOnlySpectator

Type: bool


bOutOfLives

Type: bool


bReadyToPlay

Type: bool


bReceivedPing

Type: bool


bRegisteredChatRoom

Type: bool


bTeamNotified

Type: bool


bWaitingPlayer

Type: bool


bWelcomed

Type: bool

set after welcome message broadcast (not replicated)

CharacterName

Type: string


CurrentVehicle

Type: Vehicle

for performance on clients

CustomReplicationInfo

Type: LinkedReplicationInfo


Deaths

Type: float

Number of player's deaths.

GoalsScored

Type: int

not replicated - used on server side only

HasFlag

Type: Decoration


Kills

Type: int

not replicated

NumLives

Type: int


OldCharacterName

Type: string


OldName

Type: string


PacketLoss

Type: byte


Ping

Type: byte


PlayerID

Type: int

Unique id number.

PlayerName

Type: string

Player name, or blank if none.

PlayerVolume

Type: Volume


PlayerZone

Type: ZoneInfo


PreviousName

Type: string

Temporary value.

PrivateChatRoom

Type: VoiceChatRoom

not replicated - simulated spawn

Score

Type: float

Player's current score.

StartTime

Type: int


StringDead

Type: string

Modifiers: localized


Default value: "Dead"

StringSpectating

Type: string

Modifiers: localized


Default value: "Spectating"

StringUnknown

Type: string

Modifiers: localized


Default value: "Unknown"

Team

Type: TeamInfo

Player Team

TeamID

Type: int

Player position in team.

VoiceID

Type: byte

contains the player's unique ID used by voice channels

Default value: 255

VoiceInfo

Type: VoiceChatReplicationInfo


VoiceMemberMask

Type: int

members of this player's private chatroom

VoiceType

Type: class<VoicePack>


VoiceTypeName

Type: string


Default values

Property Value
bNetNotify True
NetUpdateFrequency 1.0

Functions

Events

ClientNameChange

event ClientNameChange ()


Destroyed

simulated event Destroyed ()

Overrides: Actor.Destroyed


GetNameCallSign

simulated event string GetNameCallSign ()


PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


PostNetBeginPlay

simulated event PostNetBeginPlay ()

Overrides: Actor.PostNetBeginPlay


PostNetReceive

simulated event PostNetReceive ()

Overrides: Actor.PostNetReceive


Timer

event Timer ()

Overrides: Actor.Timer


UpdateCharacter

event UpdateCharacter ()


Other instance functions

DisplayDebug

simulated function DisplayDebug (Canvas Canvas, out float YL, out float YPos)

Overrides: Actor.DisplayDebug


GetCallSign

simulated function string GetCallSign ()


GetHumanReadableName

simulated function string GetHumanReadableName ()

Overrides: Actor.GetHumanReadableName


GetLocationName

simulated function string GetLocationName ()


GetPortrait

simulated function Material GetPortrait ()


NeedNetNotify

simulated function bool NeedNetNotify ()


Reset

function Reset ()

Overrides: Actor.Reset


SetCharacterName

function SetCharacterName (string S)


SetCharacterVoice

function SetCharacterVoice (string S)


SetChatPassword

function SetChatPassword (string InPassword)


SetPlayerName

function SetPlayerName (string S)


SetVoiceMemberMask

function SetVoiceMemberMask (int NewMask)


SetWaitingPlayer

function SetWaitingPlayer (bool B)


UpdatePlayerLocation

function UpdatePlayerLocation ()