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

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

ActiveChannel[edit]

Type: int

this player's currently active channel

bAdmin[edit]

Type: bool

Player logged in as Administrator

bBot[edit]

Type: bool


bIsFemale[edit]

Type: bool


bIsSpectator[edit]

Type: bool


bNoTeam[edit]

Type: bool

true if no teaminfo for this PRI

bOnlySpectator[edit]

Type: bool


bOutOfLives[edit]

Type: bool


bReadyToPlay[edit]

Type: bool


bReceivedPing[edit]

Type: bool


bRegisteredChatRoom[edit]

Type: bool


bTeamNotified[edit]

Type: bool


bWaitingPlayer[edit]

Type: bool


bWelcomed[edit]

Type: bool

set after welcome message broadcast (not replicated)

CharacterName[edit]

Type: string


CurrentVehicle[edit]

Type: Vehicle

for performance on clients

CustomReplicationInfo[edit]

Type: LinkedReplicationInfo


Deaths[edit]

Type: float

Number of player's deaths.

GoalsScored[edit]

Type: int

not replicated - used on server side only

HasFlag[edit]

Type: Decoration


Kills[edit]

Type: int

not replicated

NumLives[edit]

Type: int


OldCharacterName[edit]

Type: string


OldName[edit]

Type: string


PacketLoss[edit]

Type: byte


Ping[edit]

Type: byte


PlayerID[edit]

Type: int

Unique id number.

PlayerName[edit]

Type: string

Player name, or blank if none.

PlayerVolume[edit]

Type: Volume


PlayerZone[edit]

Type: ZoneInfo


PreviousName[edit]

Type: string

Temporary value.

PrivateChatRoom[edit]

Type: VoiceChatRoom

not replicated - simulated spawn

Score[edit]

Type: float

Player's current score.

StartTime[edit]

Type: int


StringDead[edit]

Type: string

Modifiers: localized


Default value: "Dead"

StringSpectating[edit]

Type: string

Modifiers: localized


Default value: "Spectating"

StringUnknown[edit]

Type: string

Modifiers: localized


Default value: "Unknown"

Team[edit]

Type: TeamInfo

Player Team

TeamID[edit]

Type: int

Player position in team.

VoiceID[edit]

Type: byte

contains the player's unique ID used by voice channels

Default value: 255

VoiceInfo[edit]

Type: VoiceChatReplicationInfo


VoiceMemberMask[edit]

Type: int

members of this player's private chatroom

VoiceType[edit]

Type: class<VoicePack>


VoiceTypeName[edit]

Type: string


Default values[edit]

Property Value
bNetNotify True
NetUpdateFrequency 1.0

Functions[edit]

Events[edit]

ClientNameChange[edit]

event ClientNameChange ()


Destroyed[edit]

simulated event Destroyed ()

Overrides: Actor.Destroyed


GetNameCallSign[edit]

simulated event string GetNameCallSign ()


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


PostNetBeginPlay[edit]

simulated event PostNetBeginPlay ()

Overrides: Actor.PostNetBeginPlay


PostNetReceive[edit]

simulated event PostNetReceive ()

Overrides: Actor.PostNetReceive


Timer[edit]

event Timer ()

Overrides: Actor.Timer


UpdateCharacter[edit]

event UpdateCharacter ()


Other instance functions[edit]

DisplayDebug[edit]

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

Overrides: Actor.DisplayDebug


GetCallSign[edit]

simulated function string GetCallSign ()


GetHumanReadableName[edit]

simulated function string GetHumanReadableName ()

Overrides: Actor.GetHumanReadableName


GetLocationName[edit]

simulated function string GetLocationName ()


GetPortrait[edit]

simulated function Material GetPortrait ()


NeedNetNotify[edit]

simulated function bool NeedNetNotify ()


Reset[edit]

function Reset ()

Overrides: Actor.Reset


SetCharacterName[edit]

function SetCharacterName (string S)


SetCharacterVoice[edit]

function SetCharacterVoice (string S)


SetChatPassword[edit]

function SetChatPassword (string InPassword)


SetPlayerName[edit]

function SetPlayerName (string S)


SetVoiceMemberMask[edit]

function SetVoiceMemberMask (int NewMask)


SetWaitingPlayer[edit]

function SetWaitingPlayer (bool B)


UpdatePlayerLocation[edit]

function UpdatePlayerLocation ()