I don't need to test my programs. I have an error-correcting modem.

UE3:UTPlayerReplicationInfo (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> Actor >> Info >> ReplicationInfo >> PlayerReplicationInfo >> UTPlayerReplicationInfo
Package: 
UTGame
Direct subclasses:
UTDuelPRI, UTMissionSelectionPRI, UTOnslaughtPRI, UTBetrayalPRI, UTHeroPRI
This class in other games:
UDK

Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Properties[edit]

bAllPickupsFoundThisMap[edit]

Type: bool


bHasBeenHero[edit]

Type: bool


bHolding[edit]

Type: bool


bHUDRendered[edit]

Type: bool

Set when pawn with this PRI has been rendered on HUD map, to avoid drawing it twice

BlueBodyMIC[edit]

Type: MaterialInstanceConstant


BlueHeadMIC[edit]

Type: MaterialInstanceConstant


bPrecachedBot[edit]

Type: bool

indicates that this is a bot spawned only to precache a custom character. It should be destroyed when the game begins but the character data should stay around to be used by something spawned later (usually a character spawned by Kismet in the level)

bUsingReplacementCharacter[edit]

Type: bool

set if the mesh/portrait were taken from another PRI (didn't construct our own)

CharacterCacheClass[edit]

Type: class<UTProcessedCharacterCache>

this class is used to cache the character data temporarily when this PRI is destroyed

Default value: Class'UTGame.UTProcessedCharacterCache'

CharacterData[edit]

Type: UTCustomChar_Data.CustomCharData

Modifiers: repnotify

data for the character this player is using

CharacterDataChangeCount[edit]

Type: byte

counter used in native replication to detect whether the server has sent the latest character data to each client should be incremented whenever CharacterData changes

CharacterMesh[edit]

Type: SkeletalMesh

the mesh constructed from the above data

CharacterMeshTeamNum[edit]

Type: byte

result of GetTeamNum() as of the last time we constructed the mesh for this player

Default value: 255

CharPortrait[edit]

Type: Texture

Texture of render of custom character head.

Default value: Texture2D'CH_IronGuard_Headshot.T_IronGuard_HeadShot_DM'

ClanTag[edit]

Type: string

Modifiers: databinding

The clan tag for this player

CustomReplicationInfo[edit]

Type: UTLinkedReplicationInfo

for use by mod authors

DeathStats[edit]

Type: array<IntStat>

holds all death stats (this player's deaths instigated by another player, sorted by weapon/damagetype)

DefaultHudColor[edit]

Type: Object.Color

Used for revenge reward, and for avoiding respawning near killer

Default value:

Member Value
A 255
B 255
G 255
R 64

DrivingStats[edit]

Type: array<TimeStat>

Time spent driving, sorted by vehicle

EventStats[edit]

Type: array<IntStat>

holds event stats (mostly reward announcer related

FirstPersonArmMaterial[edit]

Type: MaterialInterface

Material applied to first person arms. Should only be present for local players!

FirstPersonArmMesh[edit]

Type: SkeletalMesh

Mesh to use for first person arms. Should only be present for local players!

HasFlag[edit]

Type: UTCarriedObject

Modifiers: private


HeroThreshold[edit]

Type: float

Hero related variables

Default value: 20.0

HUDLocation[edit]

Type: Object.Vector


HUDMaterialInstance[edit]

Type: MaterialInstanceConstant


HUDPawnClass[edit]

Type: class<Pawn>

Replicated class of pawn controlled by owner of this PRI. Replicated when drawing HUD Map

HUDPawnLocation[edit]

Type: Object.Vector


HUDPawnYaw[edit]

Type: byte


KillStats[edit]

Type: array<IntStat>

holds all kill stats (this player's kills, sorted by weapon/damagetype)

LastKillerPRI[edit]

Type: UTPlayerReplicationInfo


LastKillTime[edit]

Type: float


Default value: -5.0

LastReceivedCharacterDataTime[edit]

Type: float

last time we called ProcessCharacterData() from ReplicatedEvent() (to avoid calling it multiple times at once and clobbering stuff)

MultiKillLevel[edit]

Type: int

Modifiers: databinding


NodeStats[edit]

Type: array<IntStat>

holds node captured/built/healed and core damaged/destroyed stats

OrdersIndex[edit]

Type: byte


OrdersString[edit]

Type: string

Array size: 8

Modifiers: localized


PickupFlags[edit]

Type: array<int>


PickupStats[edit]

Type: array<IntStat>

Armor, health, and powerups picked up by this player

PowerupTimeStats[edit]

Type: array<TimeStat>

Time spent holding powerups and flag/orb

RedBodyMIC[edit]

Type: MaterialInstanceConstant


RedHeadMIC[edit]

Type: MaterialInstanceConstant


SinglePlayerCharacterIndex[edit]

Type: int

Determines which character this player will be in the single player game

Default value: -1

spree[edit]

Type: int

Modifiers: databinding


Squad[edit]

Type: UTSquadAI


StartObjective[edit]

Type: UTGameObjective

Modifiers: repnotify


SuicideStats[edit]

Type: array<IntStat>

holds all suicide stats (this player's suicides, sorted by weapon/damagetype)

TemporaryStartObjective[edit]

Type: UTGameObjective


TTSSpeaker[edit]

Type: SoundNodeWave.ETTSSpeaker

Modifiers: transient

Voice to use for TTS.

VehicleKillStats[edit]

Type: array<IntStat>

Stats of vehicles killed by this player

VoiceClass[edit]

Type: class<UTVoice>


Default value: Class'UTGame.UTVoice_DefaultMale'

WeaponAwardIndex[edit]

Type: int

Weapon award (most kills) at end of match - can reference by class since some aren't always loaded for console

Default value: -1

WeaponAwardKills[edit]

Type: int

Used for weapon award calculation

Default values[edit]

Property Value
StringUnknown "Midfield"

Structs[edit]

IntStat[edit]

Modifiers: native

name StatName 
int StatValue 

TimeStat[edit]

Modifiers: native

name StatName 
float TotalTime 
float CurrentStart 

Functions[edit]

Native functions[edit]

SetCharMeshMaterial[edit]

simulated native function SetCharMeshMaterial (int MatIndex, MaterialInstanceConstant MIC)


Events[edit]

Destroyed[edit]

simulated event Destroyed ()

Overrides: PlayerReplicationInfo.Destroyed


GetHudColor[edit]

simulated event Object.Color GetHudColor ()


ReplicatedEvent[edit]

simulated event ReplicatedEvent (name VarName)

Overrides: PlayerReplicationInfo.ReplicatedEvent


Reset[edit]

event Reset ()

Overrides: PlayerReplicationInfo.Reset


Other instance functions[edit]

See UTPlayerReplicationInfo instance functions.