Gah - a solution with more questions. – EntropicLqd

UE2:GameStats (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Info >> GameStats
Package: 
Engine
Direct subclass:
MasterServerGameStats
This class in other games:
UE2Runtime, U2, UT2003

Class: Engine.GameStats Parent: Engine.Info

the GameStats object is used to send individual stat events to the stats server. Each game should spawn a GameStats object if it wishes to have stat logging.

Properties[edit]

bLocalLog[edit]

Type: bool

Modifiers: globalconfig

create local stat logs

bShowBots[edit]

Type: bool


GRI[edit]

Type: GameReplicationInfo


LogFileName[edit]

Type: string

Modifiers: globalconfig

filename to use, check GetLogFilename() for replacements

Default value: "Stats_%P_%Y_%M_%D_%H_%I_%S"

Tab[edit]

Type: string


TempLog[edit]

Type: FileLog


Functions[edit]

Native functions[edit]

GetMapFileName[edit]

native final function string GetMapFileName ()


GetStatsIdentifier[edit]

native final function string GetStatsIdentifier (Controller C)


Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: Actor.Destroyed


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Other instance functions[edit]

ConnectEvent[edit]

function ConnectEvent (PlayerReplicationInfo Who)


DisconnectEvent[edit]

function DisconnectEvent (PlayerReplicationInfo Who)


EndGame[edit]

function EndGame (string Reason)


FullTimeDate[edit]

function string FullTimeDate ()


GameEvent[edit]

function GameEvent (string GEvent, string Desc, PlayerReplicationInfo Who)


GetLogFilename[edit]

function string GetLogFilename ()

return the filename to use for the log file. The following formatting rules are accepted: %P server port %Y year %M month %D day %H hour %I minute %S second %W day of the week

Header[edit]

function string Header ()


Init[edit]

function Init ()


KillEvent[edit]

function KillEvent (string Killtype, PlayerReplicationInfo Killer, PlayerReplicationInfo Victim, class<DamageTypeDamage)


Logf[edit]

function Logf (string LogString)


MapName[edit]

function string MapName ()


NewGame[edit]

function NewGame ()


ScoreEvent[edit]

function ScoreEvent (PlayerReplicationInfo Who, float Points, string Desc)


ServerInfo[edit]

function ServerInfo ()


Shutdown[edit]

function Shutdown ()


SpecialEvent[edit]

function SpecialEvent (PlayerReplicationInfo Who, string Desc)


StartGame[edit]

function StartGame ()


TeamScoreEvent[edit]

function TeamScoreEvent (int Team, float Points, string Desc)


TimeStamp[edit]

function string TimeStamp ()


TimeZone[edit]

function string TimeZone ()