There is no spoon

UE3:OnlineEventsInterfaceMcp (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> MCPBase >> OnlineEventsInterfaceMcp
Package: 
IpDrv
Implemented interfaces
OnlineEventsInterface

Provides an in game gameplay events/stats upload mechanism via the MCP backend

Properties[edit]

bBinaryStats[edit]

Type: bool

Modifiers: const, config

if true, the stats data will be sent as a binary blob instead of XML

DisabledUploadTypes[edit]

Type: array<EEventUploadType>

Modifiers: config

A list of upload types that are disabled (don't upload)

EventUploadConfigs[edit]

Type: array<EventUploadConfig>

Modifiers: const, config

This is the array of upload task configurations

HttpPostObjects[edit]

Type: array<pointer{class FHttpDownloadString}>

Modifiers: native, const

List of HTTP downloader objects that are POSTing the data

Enums[edit]

EEventUploadType[edit]

The types of events that are to be uploaded

EUT_GenericStats 
EUT_ProfileData 
EUT_HardwareData 
EUT_MatchmakingData 

Structs[edit]

EventUploadConfig[edit]

Modifiers: native

Holds the configuration and instance data for event uploading

EEventUploadType UploadType 
The type of upload this config is for
string UploadUrl 
The URL to send the data to
float TimeOut 
The amount of time to wait before erroring out
bool bUseCompression 
Whether to compress the data before sending or not

Functions[edit]

Native functions[edit]

UploadGameplayEventsData[edit]

native function bool UploadGameplayEventsData (OnlineGameplayEvents Events)

Specified by: OnlineEventsInterface.UploadGameplayEventsData

Sends the data contained within the gameplay events object to the online server for statistics

Parameters:

  • Events - the object that has the set of events in it

Returns:

true if the async send started ok, false otherwise

UploadProfileData[edit]

native function bool UploadProfileData (OnlineSubsystem.UniqueNetId UniqueId, string PlayerNick, OnlineProfileSettings ProfileSettings)

Specified by: OnlineEventsInterface.UploadProfileData

Sends the profile data to the server for statistics aggregation

Parameters:

  • UniqueId - the unique id for the player
  • PlayerNick - the player's nick name
  • ProfileSettings - the profile object that is being sent

Returns:

true if the async task was started successfully, false otherwise

Other instance functions[edit]

UploadHardwareData[edit]

function bool UploadHardwareData (OnlineSubsystem.UniqueNetId UniqueId, string PlayerNick)

Specified by: OnlineEventsInterface.UploadHardwareData

Sends the hardware data to the online server for statistics aggregation

Parameters:

  • UniqueId - the unique id for the player
  • PlayerNick - the player's nick name

Returns:

true if the async task was started successfully, false otherwise