UE3:GameplayEventsReader (UDK)

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

Streams gameplay events recorded during a session to disk

Properties

EventIDFilter

Type: array<int>

Modifiers: config

Array of event types that will be ignored

Functions

Native functions

CloseStatsFile

native function CloseStatsFile ()

Overrides: GameplayEvents.CloseStatsFile

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

GetPlatform

native function int GetPlatform ()

Return the platform the data was recorded on

GetSessionDuration

native function float GetSessionDuration ()

Return the total time the session lasted

GetSessionEnd

native function float GetSessionEnd ()

Get the time the session ended

GetSessionID

native function string GetSessionID ()

Return the unique session ID

GetSessionStart

native function float GetSessionStart ()

Get the time the session started

GetSessionTimestamp

native function string GetSessionTimestamp ()

Return the timestamp the session started recording

GetTitleID

native function int GetTitleID ()

Return the title ID of the recorded session

OpenStatsFile

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

native function ProcessStream ()

Read / process stream data from the file

SerializeHeader

native protected function bool SerializeHeader ()

Serialize the contents of the file header

Events

IsEventFiltered

event bool IsEventFiltered (int EventID)

Returns whether or not this processor handles this event

Other instance functions

AddFilter

function AddFilter (int EventID)

Add an event id to ignore while processing

RemoveFilter

function RemoveFilter (int EventID)

Remove an event id to ignore while processing