Gah - a solution with more questions. – EntropicLqd

UE3:OnlineGameplayEvents (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 11:47, 6 November 2009 by (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UDK Object >> OnlineGameplayEvents
Package: 
Engine

Holds the gameplay events that were captured in a session

Properties

bGameplaySessionInProgress

Type: bool

Modifiers: const

Is a session currently in progress

EventDescList

Type: array<string>

Modifiers: const

Table of event descriptions, since they are often duplicated (only events encountered are in the list)

EventNames

Type: array<name>

Modifiers: const

Table of gameplay events to remove redundant data

GameplayEvents

Type: array<GameplayEvent>

Modifiers: const


GameplaySessionID

Type: Object.Guid

Modifiers: const

Unique session ID

GameplaySessionStartTime

Type: string

Modifiers: const

Time this session was begun

PlayerEvents

Type: array<PlayerEvent>

Modifiers: const


PlayerList

Type: array<PlayerInformation>

Modifiers: const


Structs

GameplayEvent

Modifiers: native

Basic information describing a gameplay event, refered to only by a PlayerEvent

int PlayerEventAndTarget 
PlayerEvent index and TargetPlayer index packed into a single 32bit integer.

high 16 bits= index to PlayerEvent array designating the parent PlayerEvent for this entry. low 16 bits = Index to PlayerList to record the target player associated with this event

int EventNameAndDesc 
Event Name index and Event Description index packed into a single 32bit integer.

high 16 bits= Index to the gameplay event name. low 16 bits = Additional string attached to this event (extra description).

PlayerEvent

Modifiers: native

List of events associated with a player within a specific time section

float EventTime 
Time this event occured
Object.Vector EventLocation 
Location of this event
int PlayerIndexAndYaw 
Player index and Yaw Rotation packed into a 32 bit integer.

high 16 bits= Index to PlayerList to record the player associated with this eventy. low 16 bits = FRotation Yaw component of the orientation for the player

int PlayerPitchAndRoll 
Player Pitch and Yaw Rotation packed into a 32 bit integer.

low 16 bits = FRotation Pitch component of the orientation for the player low 16 bits = FRotation Roll component of the orientation for the player

PlayerInformation

Modifiers: native

List of player information cached in case the player logs out and GC collects the objects

string ControllerName 
Controller.Name
string PlayerName 
Controller.PlayerReplicationInfo.PlayerName
OnlineSubsystem.UniqueNetId UniqueId 
The unique id that identifies a player on the backend
bool bIsBot 
Whether the player is a bot or not
int LastPlayerEventIdx 
Last entry into PlayerEvent associated with this player