Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE2:GameReplicationInfo (UT2004)

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

GameReplicationInfo.

Constants[edit]

PROPNUM[edit]

Value: 4


Properties[edit]

Property group 'GameReplicationInfo'[edit]

AdminEmail[edit]

Type: string

Modifiers: globalconfig

Email address of the server admin.

Default value: "Non-disclosed"

AdminName[edit]

Type: string

Modifiers: globalconfig

Name of the server admin.

MessageOfTheDay[edit]

Type: string

Modifiers: globalconfig


MOTDLine1[edit]

Type: string

Modifiers: deprecated


MOTDLine2[edit]

Type: string

Modifiers: deprecated


MOTDLine3[edit]

Type: string

Modifiers: deprecated


MOTDLine4[edit]

Type: string

Modifiers: deprecated


PRIArray[edit]

Type: array<PlayerReplicationInfo>


ServerName[edit]

Type: string

Modifiers: globalconfig

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

Default value: "UT2004 Server"

ServerRegion[edit]

Type: int

Modifiers: globalconfig

Region of the game server.

ShortName[edit]

Type: string

Modifiers: globalconfig

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

Default value: "Server"

TeamSymbols[edit]

Type: Texture

Array size: 2


Internal variables[edit]

bAllowPlayerLights[edit]

Type: bool


bFastWeaponSwitching[edit]

Type: bool


bForceNoPlayerLights[edit]

Type: bool


bForceTeamSkins[edit]

Type: bool


bMatchHasBegun[edit]

Type: bool


bNoTeamChanges[edit]

Type: bool


bNoTeamSkins[edit]

Type: bool


BotDifficulty[edit]

Type: int

for bPlayersVsBots

Default value: -1

bStopCountDown[edit]

Type: bool


Default value: True

bTeamGame[edit]

Type: bool

Assigned by GameInfo.

bTeamSymbolsUpdated[edit]

Type: bool


ElapsedTime[edit]

Type: int


FlagHolder[edit]

Type: PlayerReplicationInfo

Array size: 2

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

FlagPos[edit]

Type: Object.Vector

replicated 2D position of one object

FlagState[edit]

Type: Actor.EFlagState

Array size: 2


FlagTarget[edit]

Type: PlayerReplicationInfo


GameClass[edit]

Type: string

Assigned by GameInfo.

GameName[edit]

Type: string

Assigned by GameInfo.

GoalScore[edit]

Type: int


GRIPropDescText[edit]

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

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

Type: int


MaxLives[edit]

Type: int


MinNetPlayers[edit]

Type: int


RemainingMinute[edit]

Type: int


RemainingTime[edit]

Type: int


SecondCount[edit]

Type: float


Teams[edit]

Type: TeamInfo

Array size: 2


TimeLimit[edit]

Type: int


VoiceReplicationInfo[edit]

Type: VoiceChatReplicationInfo


WeaponBerserk[edit]

Type: float


Default value: 1.0

Winner[edit]

Type: Actor

set by gameinfo when game ends

Functions[edit]

Static events[edit]

GetDescriptionText[edit]

static event string GetDescriptionText (string PropName)

Overrides: Info.GetDescriptionText


Other static functions[edit]

FillPlayInfo[edit]

static function FillPlayInfo (PlayInfo PlayInfo)

Overrides: Info.FillPlayInfo


Events[edit]

PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


PostNetBeginPlay[edit]

simulated event PostNetBeginPlay ()

Overrides: Actor.PostNetBeginPlay


Timer[edit]

simulated event Timer ()

Overrides: Actor.Timer


Other instance functions[edit]

AddPRI[edit]

simulated function AddPRI (PlayerReplicationInfo PRI)


FindPlayerByID[edit]

simulated function PlayerReplicationInfo FindPlayerByID (int PlayerID)


GetPRIArray[edit]

simulated function GetPRIArray (out array<PlayerReplicationInfopris)


RemovePRI[edit]

simulated function RemovePRI (PlayerReplicationInfo PRI)


Reset[edit]

function Reset ()

Overrides: Actor.Reset


TeamSymbolNotify[edit]

simulated function TeamSymbolNotify ()


UpdatePrecacheMaterials[edit]

simulated function UpdatePrecacheMaterials ()

Overrides: Actor.UpdatePrecacheMaterials