The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:GameStats (U2)

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

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

bShowBots

Type: bool


GRI

Type: GameReplicationInfo


TempLog

Type: FileLog


Functions

Native functions

GetMapFileName

native final function string GetMapFileName ()


GetStatsIdentifier

native final function string GetStatsIdentifier (Controller C)


Events

Destroyed

event Destroyed ()

Overrides: Actor.Destroyed


PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Other instance functions

ConnectEvent

function ConnectEvent (PlayerReplicationInfo Who)


DisconnectEvent

function DisconnectEvent (PlayerReplicationInfo Who)


EndGame

function EndGame (string Reason)


FullTimeDate

function string FullTimeDate ()


GameEvent

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


Header

function string Header ()


Init

function Init ()


KillEvent

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


Logf

function Logf (string LogString)


MapName

function string MapName ()


NewGame

function NewGame ()


ScoreEvent

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


ServerInfo

function ServerInfo ()


Shutdown

function Shutdown ()


SpecialEvent

function SpecialEvent (PlayerReplicationInfo Who, string Desc)


StartGame

function StartGame ()


TeamScoreEvent

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


TimeStamp

function string TimeStamp ()


TimeZone

function string TimeZone ()