Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

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

bBinaryStats

Type: bool

Modifiers: const, config

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

DisabledUploadTypes

Type: array<EEventUploadType>

Modifiers: config

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

EventUploadConfigs

Type: array<EventUploadConfig>

Modifiers: const, config

This is the array of upload task configurations

HttpPostObjects

Type: array<pointer{class FHttpDownloadString}>

Modifiers: native, const

List of HTTP downloader objects that are POSTing the data

Enums

EEventUploadType

The types of events that are to be uploaded

EUT_GenericStats 
EUT_ProfileData 
EUT_HardwareData 
EUT_MatchmakingData 

Structs

EventUploadConfig

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

Native functions

UploadGameplayEventsData

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

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

UploadHardwareData

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