UE2:GameReplicationInfo (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to navigation Jump to search
UT2004 Object >> Actor >> Info >> ReplicationInfo >> GameReplicationInfo
Package: 
Engine

GameReplicationInfo.

Constants

PROPNUM

Value: 4


Properties

Property group 'GameReplicationInfo'

AdminEmail

Type: string

Modifiers: globalconfig

Email address of the server admin.

Default value: "Non-disclosed"

AdminName

Type: string

Modifiers: globalconfig

Name of the server admin.

MessageOfTheDay

Type: string

Modifiers: globalconfig


MOTDLine1

Type: string

Modifiers: deprecated


MOTDLine2

Type: string

Modifiers: deprecated


MOTDLine3

Type: string

Modifiers: deprecated


MOTDLine4

Type: string

Modifiers: deprecated


PRIArray

Type: array<PlayerReplicationInfo>


ServerName

Type: string

Modifiers: globalconfig

Name of the server, i.e.: Bob's Server.

Default value: "UT2004 Server"

ServerRegion

Type: int

Modifiers: globalconfig

Region of the game server.

ShortName

Type: string

Modifiers: globalconfig

Abbreviated name of server, i.e.: B's Serv (stupid example)

Default value: "Server"

TeamSymbols

Type: Texture

Array size: 2


Internal variables

bAllowPlayerLights

Type: bool


bFastWeaponSwitching

Type: bool


bForceNoPlayerLights

Type: bool


bForceTeamSkins

Type: bool


bMatchHasBegun

Type: bool


bNoTeamChanges

Type: bool


bNoTeamSkins

Type: bool


BotDifficulty

Type: int

for bPlayersVsBots

Default value: -1

bStopCountDown

Type: bool


Default value: True

bTeamGame

Type: bool

Assigned by GameInfo.

bTeamSymbolsUpdated

Type: bool


ElapsedTime

Type: int


FlagHolder

Type: PlayerReplicationInfo

Array size: 2

hack to work around flag holder replication FIXME remove when break net compatibility

FlagPos

Type: Object.Vector

replicated 2D position of one object

FlagState

Type: Actor.EFlagState

Array size: 2


FlagTarget

Type: PlayerReplicationInfo


GameClass

Type: string

Assigned by GameInfo.

GameName

Type: string

Assigned by GameInfo.

GoalScore

Type: int


GRIPropDescText

Type: string

Array size: 4 (PROPNUM)

Modifiers: localized


Default value, index 0: "Server name shown on server browser."

Default value, index 1: "Server administrator's name"

Default value, index 2: "Server administrator's email address."

Default value, index 3: "Message of the Day"

GRIPropsDisplayText

Type: string

Array size: 4 (PROPNUM)

Modifiers: localized


Default value, index 0: "Server Name"

Default value, index 1: "Admin Name"

Default value, index 2: "Admin E-Mail"

Default value, index 3: "MOTD"

MatchID

Type: int


MaxLives

Type: int


MinNetPlayers

Type: int


RemainingMinute

Type: int


RemainingTime

Type: int


SecondCount

Type: float


Teams

Type: TeamInfo

Array size: 2


TimeLimit

Type: int


VoiceReplicationInfo

Type: VoiceChatReplicationInfo


WeaponBerserk

Type: float


Default value: 1.0

Winner

Type: Actor

set by gameinfo when game ends

Functions

Static events

GetDescriptionText

static event string GetDescriptionText (string PropName)

Overrides: Info.GetDescriptionText


Other static functions

FillPlayInfo

static function FillPlayInfo (PlayInfo PlayInfo)

Overrides: Info.FillPlayInfo


Events

PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


PostNetBeginPlay

simulated event PostNetBeginPlay ()

Overrides: Actor.PostNetBeginPlay


Timer

simulated event Timer ()

Overrides: Actor.Timer


Other instance functions

AddPRI

simulated function AddPRI (PlayerReplicationInfo PRI)


FindPlayerByID

simulated function PlayerReplicationInfo FindPlayerByID (int PlayerID)


GetPRIArray

simulated function GetPRIArray (out array<PlayerReplicationInfopris)


RemovePRI

simulated function RemovePRI (PlayerReplicationInfo PRI)


Reset

function Reset ()

Overrides: Actor.Reset


TeamSymbolNotify

simulated function TeamSymbolNotify ()


UpdatePrecacheMaterials

simulated function UpdatePrecacheMaterials ()

Overrides: Actor.UpdatePrecacheMaterials