Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:GameReplicationInfo (U2)

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

GameReplicationInfo.

Constants

MaxReplicatedActors

Value: 32


MaxConsumerClasses

Value: 32


Properties

Property group 'GameReplicationInfo'

AdminEmail

Type: string

Modifiers: globalconfig

Email address of the server admin.

AdminName

Type: string

Modifiers: globalconfig

Name of the server admin.

KickPctTeam

Type: float

Modifiers: globalconfig

percent of players required to kick (uses whatever is smaller).

Default value: 0.75

KickPctTotal

Type: float

Modifiers: globalconfig


Default value: 0.5

MinVoteTime

Type: int

Modifiers: globalconfig

time before vote times out (seconds), min time before votes tallied.

Default value: 10

MOTDLine1

Type: string

Modifiers: globalconfig

Message

MOTDLine2

Type: string

Modifiers: globalconfig

Of

MOTDLine3

Type: string

Modifiers: globalconfig

The

MOTDLine4

Type: string

Modifiers: globalconfig

Day

PRIArray

Type: array<PlayerReplicationInfo>


ServerName

Type: string

Modifiers: globalconfig

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

Default value: "Another U2:XMP 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: "XMP Server"

VoteTime

Type: int

Modifiers: globalconfig


Default value: 24

Internal variables

See GameReplicationInfo internal variables.

Default values

Property Value
bNetNotify True

Enums

ECarriedObjectState

COS_Home 
COS_HeldFriendly 
COS_HeldEnemy 
COS_Down 

Functions

Events

PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


PostNetBeginPlay

simulated event PostNetBeginPlay ()

Overrides: Actor.PostNetBeginPlay


PostNetReceive

simulated event PostNetReceive ()

Overrides: Actor.PostNetReceive


Timer

simulated event Timer ()

Overrides: Actor.Timer


Other instance functions

AddPRI

simulated function AddPRI (PlayerReplicationInfo PRI)


AddReplicatedActor

function AddReplicatedActor (Actor InActor, string ReplicatedActorName, optional int InBaseRadarIconIndex)


DumpReplicants

simulated function DumpReplicants ()


EndVote

function EndVote ()


FindReplicatedActorIndex

simulated function int FindReplicatedActorIndex (string ReplicatedName)


GetCarriedObjectState

simulated function name GetCarriedObjectState (int Team)


GetPRIArray

simulated function GetPRIArray (out array<PlayerReplicationInfopris)


GetReplicatedActorTeam

simulated function int GetReplicatedActorTeam (string ReplicatedName)


GetTeamInfo

simulated function TeamInfo GetTeamInfo (int Index)


KickRequest

function bool KickRequest (PlayerReplicationInfo P, PlayerReplicationInfo Requestor, optional bool bBan)


RemovePRI

simulated function RemovePRI (PlayerReplicationInfo PRI)


RemoveReplicatedActor

function RemoveReplicatedActor (string ReplicatedActorName)


Reset

function Reset ()

Overrides: Actor.Reset


SetCarriedObjectState

simulated function SetCarriedObjectState (int Team, name NewState)


SetReplicatedActorTeam

function SetReplicatedActorTeam (string ReplicatedName, int InTeam)


StartVote

function StartVote ()


TeamSymbolNotify

simulated function TeamSymbolNotify ()


UpdateVotes

function UpdateVotes ()


VoteNo

function VoteNo (PlayerController Voter)


VoteYes

function VoteYes (PlayerController Voter)