Mostly Harmless

UE3:GameplayEventsReader (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> GameplayEvents >> GameplayEventsReader
Package: 
Engine
Direct subclasses:
GameStatsDBUploader, GameStatsFileReader

Streams gameplay events recorded during a session to disk

Properties[edit]

EventIDFilter[edit]

Type: array<int>

Modifiers: config

Array of event types that will be ignored

Functions[edit]

Native functions[edit]

CloseStatsFile[edit]

native function CloseStatsFile ()

Overrides: GameplayEvents.CloseStatsFile

Closes and deletes the archive being read from clearing all data stored within

GetPlatform[edit]

native function int GetPlatform ()

Return the platform the data was recorded on

GetSessionDuration[edit]

native function float GetSessionDuration ()

Return the total time the session lasted

GetSessionEnd[edit]

native function float GetSessionEnd ()

Get the time the session ended

GetSessionID[edit]

native function string GetSessionID ()

Return the unique session ID

GetSessionStart[edit]

native function float GetSessionStart ()

Get the time the session started

GetSessionTimestamp[edit]

native function string GetSessionTimestamp ()

Return the timestamp the session started recording

GetTitleID[edit]

native function int GetTitleID ()

Return the title ID of the recorded session

OpenStatsFile[edit]

native function bool OpenStatsFile (string Filename)

Overrides: GameplayEvents.OpenStatsFile

Loads a stat file from disk

Parameters:

  • Filename - name of the file that will be open for serialization

Returns:

TRUE if successful, else FALSE

ProcessStream[edit]

native function ProcessStream ()

Read / process stream data from the file

SerializeHeader[edit]

native protected function bool SerializeHeader ()

Serialize the contents of the file header

Events[edit]

IsEventFiltered[edit]

event bool IsEventFiltered (int EventID)

Returns whether or not this processor handles this event

Other instance functions[edit]

AddFilter[edit]

function AddFilter (int EventID)

Add an event id to ignore while processing

RemoveFilter[edit]

function RemoveFilter (int EventID)

Remove an event id to ignore while processing