Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.OnlineSubsystem

Extends
Object
Modifiers
native abstract inherits ( FTickableObject ) dependson ( Settings ) config ( Engine )

This class holds a set of online interfaces that game code uses to talk with the platform layer's services. The set of services are implemented as interface pointers so that we can mix & match services at run time. This also allows licensees the ability to use part of our base services and provide custom implmentations of others.

Core.Object
|   
+-- Engine.OnlineSubsystem

Direct Known Subclasses:

OnlineSubsystemCommonImpl

Constants Summary
Inherited Contants from Core.Object
AspectRatio16x9, AspectRatio4x3, AspectRatio5x4, DegToRad, DegToUnrRot, INDEX_NONE, InvAspectRatio16x9, InvAspectRatio4x3, InvAspectRatio5x4, MaxInt, Pi, RadToDeg, RadToUnrRot, UnrRotToDeg, UnrRotToRad

Variables Summary
OnlineAccountInterfaceAccountInterface
floatAsyncMinCompletionTime
intBuildIdOverride
boolbUseBuildIdOverride
OnlineContentInterfaceContentInterface
OnlineGameInterfaceGameInterface
stringIniLocPatcherClassName
array<NamedInterfaceDef>NamedInterfaceDefs
array<NamedInterface>NamedInterfaces
OnlineNewsInterfaceNewsInterface
OnlinePartyChatInterfacePartyChatInterface
IniLocPatcherPatcher
OnlinePlayerInterfacePlayerInterface
OnlinePlayerInterfaceExPlayerInterfaceEx
array<NamedSession>Sessions
OnlineStatsInterfaceStatsInterface
OnlineSystemInterfaceSystemInterface
OnlineTitleFileInterfaceTitleFileInterface
OnlineVoiceInterfaceVoiceInterface
Inherited Variables from Core.Object
Class, HashNext, HashOuterNext, Linker, LinkerIndex, Name, NetIndex, ObjectArchetype, ObjectFlags, ObjectInternalInteger, Outer, StateFrame, VfTableObject

Enumerations Summary
EFeaturePrivilegeLevel
FPL_Disabled, FPL_EnabledFriendsOnly, FPL_Enabled
ELanBeaconState
LANB_NotUsingLanBeacon, LANB_Hosting, LANB_Searching
ELoginStatus
LS_NotLoggedIn, LS_UsingLocalProfile, LS_LoggedIn
ENATType
NAT_Unknown, NAT_Open, NAT_Moderate, NAT_Strict
ENetworkNotificationPosition
NNP_TopLeft, NNP_TopCenter, NNP_TopRight, NNP_CenterLeft, NNP_Center, NNP_CenterRight, NNP_BottomLeft, NNP_BottomCenter, NNP_BottomRight
EOnlineAccountCreateStatus
OACS_CreateSuccessful, OACS_UnknownError, OACS_InvalidUserName, OACS_InvalidPassword, OACS_InvalidUniqueUserName, OACS_UniqueUserNameInUse, OACS_ServiceUnavailable
EOnlineContentType
OCT_Downloaded, OCT_SaveGame
EOnlineEnumerationReadState
OERS_NotStarted, OERS_InProgress, OERS_Done, OERS_Failed
EOnlineFriendState
OFS_Offline, OFS_Online, OFS_Away, OFS_Busy
EOnlineGameState
OGS_NoSession, OGS_Pending, OGS_Starting, OGS_InProgress, OGS_Ending, OGS_Ended
EOnlineNewsType
ONT_Unknown, ONT_GameNews, ONT_ContentAnnouncements, ONT_Misc
EOnlineServerConnectionStatus
OSCS_NotConnected, OSCS_Connected, OSCS_ConnectionDropped, OSCS_NoNetworkConnection, OSCS_ServiceUnavailable, OSCS_UpdateRequired, OSCS_ServersTooBusy, OSCS_DuplicateLoginDetected, OSCS_InvalidUser
Inherited Enumerations from Core.Object
AlphaBlendType, EAspectRatioAxisConstraint, EAutomatedRunResult, EAxis, EDebugBreakType, EInputEvent, EInterpCurveMode, EInterpMethodType, ETickingGroup

Structures Summary
AchievementDetails
Id, AchievementName, Description, HowTo, Image, GamerPoints, bIsSecret, bWasAchievedOnline, bWasAchievedOffline
CommunityContentFile
ContentId, FileId, ContentType, FileSize, Owner, DownloadCount, AverageRating, RatingCount, LastRatingGiven, LocalFilePath
CommunityContentMetadata
ContentType, MetadataItems
FriendsQuery
UniqueId, bIsFriend
LocalTalker
bHasVoice, bHasNetworkedVoice, bIsRecognizingSpeech, bWasTalking, bIsTalking, bIsRegistered
NamedInterface
InterfaceName, InterfaceObject
NamedInterfaceDef
InterfaceName, InterfaceClassName
NamedSession
SessionName, SessionInfo, GameSettings, Registrants, ArbitrationRegistrants
OnlineArbitrationRegistrant
MachineId, Trustworthiness
OnlineContent
ContentType, UserIndex, DeviceId, FriendlyName, Filename, ContentPath, ContentPackages, ContentFiles
OnlineFriend
UniqueId, SessionId, NickName, PresenceInfo, FriendState, bIsOnline, bIsPlaying, bIsPlayingThisGame, bIsJoinable, bHasVoiceSupport, bHaveInvited, bHasInvitedYou
OnlineFriendMessage
SendingPlayerId, SendingPlayerNick, bIsFriendInvite, bIsGameInvite, bWasAccepted, bWasDenied, Message
OnlinePartyMember
UniqueId, Nickname, LocalUserNum, NatType, TitleId, bIsLocal, bIsInPartyVoice, bIsTalking, bIsInGameSession, bIsPlayingThisGame, SessionId, Data1, Data2, Data3, Data4
OnlinePlayerScore
PlayerId, TeamId, Score
OnlineRegistrant
PlayerNetId
RemoteTalker
TalkerId, LastNotificationTime, bWasTalking, bIsTalking, bIsRegistered
SpeechRecognizedWord
WordId, WordText, Confidence
TitleFile
Filename, AsyncState, Data
UniqueNetId
Uid
Inherited Structures from Core.Object
Array_Mirror, BitArray_Mirror, BoneAtom, Box, BoxSphereBounds, Color, Cylinder, double, FColorVertexBuffer_Mirror, Guid, IndirectArray_Mirror, InlinePointerArray_Mirror, InterpCurveFloat, InterpCurveLinearColor, InterpCurvePointFloat, InterpCurvePointLinearColor, InterpCurvePointQuat, InterpCurvePointTwoVectors, InterpCurvePointVector, InterpCurvePointVector2D, InterpCurveQuat, InterpCurveTwoVectors, InterpCurveVector, InterpCurveVector2D, IntPoint, LinearColor, Map_Mirror, Matrix, MultiMap_Mirror, OctreeElementId, Plane, pointer, Quat, qword, RawDistribution, RenderCommandFence, RenderCommandFence_Mirror, Rotator, Set_Mirror, SHVector, SHVectorRGB, SparseArray_Mirror, TAlphaBlend, ThreadSafeCounter, TPOV, TwoVectors, UntypedBulkData_Mirror, Vector, Vector2D, Vector4

Functions Summary
function DumpGameSettings (const OnlineGameSettings GameSettings))
function DumpNetIds (const out array<UniqueNetId> Players, string DebugLabel))
function DumpSessionState ()))
function DumpVoiceRegistration ()
event Exit ()
functionint GetBuildUniqueId ()
eventObject GetNamedInterface (name InterfaceName))
functionint GetNumSupportedLogins ()
eventbool Init ()
eventbool PostInit ()))
eventbool SetAccountInterface (Object NewInterface))
eventbool SetContentInterface (Object NewInterface))
function SetDebugSpewLevel (int DebugSpewLevel)
eventbool SetGameInterface (Object NewInterface))
event SetNamedInterface (name InterfaceName, bject NewInterface))
eventbool SetNewsInterface (Object NewInterface))
eventbool SetPartyChatInterface (Object NewInterface))
eventbool SetPlayerInterface (Object NewInterface))
eventbool SetPlayerInterfaceEx (Object NewInterface))
eventbool SetStatsInterface (Object NewInterface))
eventbool SetSystemInterface (Object NewInterface))
eventbool SetTitleFileInterface (Object NewInterface))
eventbool SetVoiceInterface (Object NewInterface))
functionbool StringToUniqueNetId (string UniqueNetIdString, ut UniqueNetId out_UniqueId)
functionstring UniqueNetIdToString (const out UniqueNetId IdToConvert)
Inherited Functions from Core.Object
!, !=, $, $=, %, &, &&, *, **, *=, +, ++, +=, -, --, -=, / , /=, <, <<, <=, ==, >, >=, >>, >>>, @, @=, Abs, Acos, Asc, Asin, Atan, Atan2, BeginState, ByteToFloat, Caps, Chr, Clamp, ClampLength, ClampRotAxis, ClampRotAxisFromBase, ClampRotAxisFromRange, ClassIsChildOf, ClockwiseFrom, ColorToLinearColor, ContinuedState, Cos, Cross, DebugBreak, Disable, Dot, DumpStateStack, DynamicLoadObject, Enable, EndState, EvalInterpCurveFloat, EvalInterpCurveVector, EvalInterpCurveVector2D, Exp, FCeil, FClamp, FCubicInterp, FFloor, FindDeltaAngle, FindObject, FInterpConstantTo, FInterpEaseIn, FInterpEaseInOut, FInterpEaseOut, FInterpTo, float, FloatToByte, FMax, FMin, FPctByRange, FRand, GetAngularDegreesFromRadians, GetAngularDistance, GetAngularFromDotDist, GetAxes, GetBuildChangelistNumber, GetDotDistance, GetEngineVersion, GetEnum, GetFuncName, GetHeadingAngle, GetMappedRangeValue, GetPackageName, GetPerObjectConfigSections, GetRangePctByValue, GetRangeValueByPct, GetRightMost, GetRotatorAxis, GetScriptTrace, GetStateName, GetSystemTime, GetUnAxes, GotoState, InCylinder, InStr, InverseTransformNormal, InverseTransformVector, IsA, IsChildState, IsInState, IsPendingKill, IsUTracing, IsZero, JoinArray, Left, Len, Lerp, LerpColor, Localize, Locs, Loge, LogInternal, MakeColor, MakeLinearColor, MakeRotationMatrix, MakeRotationTranslationMatrix, MakeRotator, MatrixGetAxis, MatrixGetOrigin, MatrixGetRotator, Max, Mid, Min, MirrorVectorByNormal, Normal, Normalize, NormalizeRotAxis, NoZDot, OrthoRotation, ParseLocalizedPropertyPath, ParseStringIntoArray, PathName, PausedState, PointDistToLine, PointDistToPlane, PointDistToSegment, PointProjectToPlane, PoppedState, PopState, ProjectOnTo, PushedState, PushState, QuatDot, QuatFindBetween, QuatFromAxisAndAngle, QuatFromRotator, QuatInvert, QuatProduct, QuatRotateVector, QuatSlerp, QuatToRotator, Rand, RDiff, Repl, Right, RInterpTo, RLerp, RotRand, Round, RSize, RSmerp, RTransform, SaveConfig, SClampRotAxis, ScriptTrace, SetUTracing, Sin, Split, SplitString, Sqrt, Square, StaticSaveConfig, Tan, TimeStamp, ToHex, TransformNormal, TransformVector, TransformVectorByRotation, UnwindHeading, vect2d, VInterpTo, VLerp, VRand, VRandCone, VRandCone2, VSize, VSize2D, VSizeSq, VSizeSq2D, VSmerp, WarnInternal, ^, ^^, |, ||, ~, ~=


Variables Detail

AccountInterface Source code

var OnlineAccountInterface AccountInterface;
The interface to use for creating and/or enumerating account information

AsyncMinCompletionTime Source code

var config float AsyncMinCompletionTime;
Used to introduce latency when communicating with the online layer for testing purposes

BuildIdOverride Source code

var config int BuildIdOverride;
Used to specify a build override value

bUseBuildIdOverride Source code

var config bool bUseBuildIdOverride;
Whether to use the override or not

ContentInterface Source code

var OnlineContentInterface ContentInterface;
The interface to use for online content

GameInterface Source code

var OnlineGameInterface GameInterface;
The interface to use for creating, searching for, or destroying online games

IniLocPatcherClassName Source code

var config string IniLocPatcherClassName;
The class to create our patcher instance from

NamedInterfaceDefs Source code

var config array<NamedInterfaceDef> NamedInterfaceDefs;
The list of named interfaces to automatically create and store

NamedInterfaces Source code

var private array<NamedInterface> NamedInterfaces;
Holds the set of registered named interfaces

NewsInterface Source code

var OnlineNewsInterface NewsInterface;
The interface to use for reading game specific news announcements

PartyChatInterface Source code

var OnlinePartyChatInterface PartyChatInterface;
The interface to use for accessing online party chat methods

Patcher Source code

var transient IniLocPatcher Patcher;
The object responsible for patching downloaded INI/loc files

PlayerInterface Source code

var OnlinePlayerInterface PlayerInterface;
The interface for accessing online player methods

PlayerInterfaceEx Source code

var OnlinePlayerInterfaceEx PlayerInterfaceEx;
The interface for accessing online player extension methods

Sessions Source code

var const protected array<NamedSession> Sessions;
The list of sessions currently managed by the online subsystem

StatsInterface Source code

var OnlineStatsInterface StatsInterface;
The interface to use for stats read/write operations

SystemInterface Source code

var OnlineSystemInterface SystemInterface;
The interface for accessing system wide network functions

TitleFileInterface Source code

var OnlineTitleFileInterface TitleFileInterface;
The interface to use for downloading files from the network platform

VoiceInterface Source code

var OnlineVoiceInterface VoiceInterface;
The interface to use for voice communication


Enumerations Detail

EFeaturePrivilegeLevel Source code

enum EFeaturePrivilegeLevel
{
FPL_Disabled, FPL_EnabledFriendsOnly, FPL_Enabled
};
This enum indicates access to major features in the game (parent controls

ELanBeaconState Source code

enum ELanBeaconState
{
LANB_NotUsingLanBeacon, LANB_Hosting, LANB_Searching
};
Indicates the state the LAN beacon is in

ELoginStatus Source code

enum ELoginStatus
{
LS_NotLoggedIn, LS_UsingLocalProfile, LS_LoggedIn
};
The different login statuses for a player

ENATType Source code

enum ENATType
{
NAT_Unknown, NAT_Open, NAT_Moderate, NAT_Strict
};
The various NAT types the player may have

ENetworkNotificationPosition Source code

enum ENetworkNotificationPosition
{
NNP_TopLeft, NNP_TopCenter, NNP_TopRight, NNP_CenterLeft, NNP_Center, NNP_CenterRight, NNP_BottomLeft, NNP_BottomCenter, NNP_BottomRight
};
Indicates where network notifications should appear on the screen

EOnlineAccountCreateStatus Source code

enum EOnlineAccountCreateStatus
{
OACS_CreateSuccessful, OACS_UnknownError, OACS_InvalidUserName, OACS_InvalidPassword, OACS_InvalidUniqueUserName, OACS_UniqueUserNameInUse, OACS_ServiceUnavailable
};
The series of status codes that the account creation method can return

EOnlineContentType Source code

enum EOnlineContentType
{
OCT_Downloaded, OCT_SaveGame
};
The type of player owned content

EOnlineEnumerationReadState Source code

enum EOnlineEnumerationReadState
{
OERS_NotStarted, OERS_InProgress, OERS_Done, OERS_Failed
};
The state of an async enumeration (friends, content, etc) read request

EOnlineFriendState Source code

enum EOnlineFriendState
{
OFS_Offline, OFS_Online, OFS_Away, OFS_Busy
};
The possible friend states for a friend entry

EOnlineGameState Source code

enum EOnlineGameState
{
OGS_NoSession, OGS_Pending, OGS_Starting, OGS_InProgress, OGS_Ending, OGS_Ended
};
Enum indicating the current state of the online game (in progress, ended, etc.)

EOnlineNewsType Source code

enum EOnlineNewsType
{
ONT_Unknown, ONT_GameNews, ONT_ContentAnnouncements, ONT_Misc
};
The state of an async enumeration (friends, content, etc) read request

EOnlineServerConnectionStatus Source code

enum EOnlineServerConnectionStatus
{
OSCS_NotConnected, OSCS_Connected, OSCS_ConnectionDropped, OSCS_NoNetworkConnection, OSCS_ServiceUnavailable, OSCS_UpdateRequired, OSCS_ServersTooBusy, OSCS_DuplicateLoginDetected, OSCS_InvalidUser
};
Indicates the connection status with the remote online servers


Structures Detail

AchievementDetails Source code

struct AchievementDetails
{
var const string AchievementName;
var const bool bIsSecret;
var const bool bWasAchievedOffline;
var const bool bWasAchievedOnline;
var const string Description;
var const int GamerPoints;
var const string HowTo;
var const int Id;
var Surface Image;
};
Holds the information contained in Live's achievements for this title
AchievementName:
The name of the achievement
bIsSecret:
Whether the achievement is secret (hidden if not achieved) or not
bWasAchievedOffline:
Whether the achievement awarded offline or not
bWasAchievedOnline:
Whether the achievement awarded online or not
Description:
The description of the achievement
GamerPoints:
How much this achievement is worth
HowTo:
The description of how to meet the requirements of the achievement
Id:
The ID of the achievement
Image:
The image associated with the achievement

CommunityContentFile Source code

struct CommunityContentFile
{
var float AverageRating;
var int ContentId;
var int ContentType;
var int DownloadCount;
var int FileId;
var int FileSize;
var int LastRatingGiven;
var string LocalFilePath;
var UniqueNetId Owner;
var int RatingCount;
};
Community file info
AverageRating:
The average rating for this file from the community
ContentId:
Unique identifier for this content file
ContentType:
Game specific content type field
DownloadCount:
The number of times this file has been downloaded
FileId:
Additional identifier for providers that need it
FileSize:
Size in bytes of the payload in the file
LastRatingGiven:
The last rating the user gave this content
LocalFilePath:
The path to the file if stored locally
Owner:
The original owner of the file
RatingCount:
The number of times this file has been rated

CommunityContentMetadata Source code

struct CommunityContentMetadata
{
var int ContentType;
var array<SettingsProperty> MetadataItems;
};
Community file metadata
ContentType:
Unique identifier for this content type
MetadataItems:
Metadata to associate with the file

FriendsQuery Source code

struct FriendsQuery
{
var bool bIsFriend;
var UniqueNetId UniqueId;
};
Used to bulk query the friends list
bIsFriend:
Out param indicating whether the player is a friend or not
UniqueId:
The unique player id to check friends status for

LocalTalker Source code

struct LocalTalker
{
var bool bHasNetworkedVoice;
var bool bHasVoice;
var bool bIsRecognizingSpeech;
var bool bIsRegistered;
var bool bIsTalking;
var bool bWasTalking;
};
Information about a local talker
bHasNetworkedVoice:
Whether the talker should send network data
bHasVoice:
Whether this talker is currently registered
bIsRecognizingSpeech:
Whether the player is trying to speak voice commands
bIsRegistered:
Whether this player was already registered with the voice interface or not
bIsTalking:
Whether the remote talker is speaking this frame
bWasTalking:
Whether the local talker was speaking last frame

NamedInterface Source code

struct NamedInterface
{
var name InterfaceName;
var Object InterfaceObject;
};
Holds a named object interface for dynamically bound interfaces
InterfaceName:
The name to bind this object to
InterfaceObject:
The object to store at this location

NamedInterfaceDef Source code

struct NamedInterfaceDef
{
var string InterfaceClassName;
var name InterfaceName;
};
Holds a name to class name mapping for adding the named interfaces automatically
InterfaceClassName:
The class to load and create for the named interface
InterfaceName:
The name to bind this object to

NamedSession Source code

struct NamedSession
{
var array<OnlineArbitrationRegistrant> ArbitrationRegistrants;
var OnlineGameSettings GameSettings;
var array<OnlineRegistrant> Registrants;
var const native transient pointer SessionInfo;
var name SessionName;
};
Holds the per session information for named sessions
ArbitrationRegistrants:
The set of registered players for arbitration
GameSettings:
The game settings associated with this session
Registrants:
List of players registered in the session
SessionInfo:
The platform specific session information
SessionName:
The name of the session

OnlineArbitrationRegistrant Source code

struct OnlineArbitrationRegistrant extends OnlineRegistrant
{
var const qword MachineId;
var const int Trustworthiness;
};
Struct holding the information about a single arbitration registrant
MachineId:
Unique id of the machine involved in the arbitrated session
Trustworthiness:
Trust level of the machine/player for the arbitrated session

OnlineContent Source code

struct OnlineContent
{
var array<string> ContentFiles;
var array<string> ContentPackages;
var string ContentPath;
var EOnlineContentType ContentType;
var int DeviceId;
var string Filename;
var string FriendlyName;
var byte UserIndex;
};
Holds information about a single piece of downloaded content
ContentFiles:
List of all non-package files in the content
ContentPackages:
List of packages in the content
ContentPath:
File system usable reference to the content
ContentType:
The type of content this represents
DeviceId:
The device ID the DLC is on
Filename:
Non-displayable file name of the content
FriendlyName:
Displayable name of the content
UserIndex:
Optional user index that content is downloaded for (-1 means it's not associated with any user)

OnlineFriend Source code

struct OnlineFriend
{
var const bool bHasInvitedYou;
var const bool bHasVoiceSupport;
var bool bHaveInvited;
var const bool bIsJoinable;
var const bool bIsOnline;
var const bool bIsPlaying;
var const bool bIsPlayingThisGame;
var const EOnlineFriendState FriendState;
var const string NickName;
var const string PresenceInfo;
var const qword SessionId;
var const UniqueNetId UniqueId;
};
Holds information about a player in a friends list
bHasInvitedYou:
Whether the friends has sent an invite to you or not
bHasVoiceSupport:
Whether the friend can chat via voice or not
bHaveInvited:
Whether the friends has an invitation outstanding from you or not
bIsJoinable:
Whether the game the friend is in is joinable or not
bIsOnline:
Whether the friend is online or not
bIsPlaying:
Whether the friend is playing a game or not
bIsPlayingThisGame:
Whether the friend is playing the same game or not
FriendState:
The current state for this friend
NickName:
Player's nick as published to the online service
PresenceInfo:
String holding information about the player's game state (cap-ed flag, etc.)
SessionId:
The session id that the player is in
UniqueId:
Unique identifier of the friend

OnlineFriendMessage Source code

struct OnlineFriendMessage
{
var bool bIsFriendInvite;
var bool bIsGameInvite;
var bool bWasAccepted;
var bool bWasDenied;
var string Message;
var UniqueNetId SendingPlayerId;
var string SendingPlayerNick;
};
Holds the data used in a friend message
bIsFriendInvite:
Whether this is a friend invite or just a generic message
bIsGameInvite:
Whether this message is a game invite or not
bWasAccepted:
Whether the invite has been accepted or not
bWasDenied:
Whether the invite has been denied or not
Message:
The corresponding message that was sent
SendingPlayerId:
The player that is sending the message
SendingPlayerNick:
The nick name of the player that sent the message

OnlinePartyMember Source code

struct OnlinePartyMember
{
var const bool bIsInGameSession;
var const bool bIsInPartyVoice;
var const bool bIsLocal;
var const bool bIsPlayingThisGame;
var const bool bIsTalking;
var const int Data1;
var const int Data2;
var const int Data3;
var const int Data4;
var const byte LocalUserNum;
var const ENATType NatType;
var const string Nickname;
var const qword SessionId;
var const int TitleId;
var const UniqueNetId UniqueId;
};
Holds information about a player in a friends list
bIsInGameSession:
Whether the player is in a game session
bIsInPartyVoice:
Whether the player is in party voice or game voice
bIsLocal:
Whether the player is local to this machine or remote
bIsPlayingThisGame:
Whether the party member is playing the same game or not
bIsTalking:
Whether the player is talking or not
Data1:
The first 4 bytes of custom application data
Data2:
The second 4 bytes of custom application data
Data3:
The third 4 bytes of custom application data
Data4:
The fourth 4 bytes of custom application data
LocalUserNum:
The local controller id if local
NatType:
The NAT type for this player
Nickname:
The player's nickname
SessionId:
The session id that the player is in
TitleId:
The title id of the title the player is in
UniqueId:
Unique identifier of the friend

OnlinePlayerScore Source code

struct OnlinePlayerScore
{
var UniqueNetId PlayerId;
var int Score;
var int TeamId;
};
Struct holding information used when writing scoring information that is used to determine a player's skill rating
PlayerId:
The player that this score is for
Score:
The score for this player
TeamId:
The team that the player is on

OnlineRegistrant Source code

struct OnlineRegistrant
{
var const UniqueNetId PlayerNetId;
};
A player in a session
PlayerNetId:
Unique id of the player involved in the arbitrated session

RemoteTalker Source code

struct RemoteTalker
{
var bool bIsRegistered;
var bool bIsTalking;
var bool bWasTalking;
var float LastNotificationTime;
var UniqueNetId TalkerId;
};
Information about a remote talker
bIsRegistered:
Whether this player was already registered with the voice interface or not
bIsTalking:
Whether the remote talker is speaking this frame
bWasTalking:
Whether the remote talker was speaking last frame
LastNotificationTime:
Used to trigger talking delegates only after a certain period of time has passed
TalkerId:
The unique id for this talker

SpeechRecognizedWord Source code

struct SpeechRecognizedWord
{
var float Confidence;
var int WordId;
var string WordText;
};
Holds a word/phrase that was recognized by the speech analyzer @note See VoiceInterface.h to change the native layout of this struct
Confidence:
How confident the analyzer was in the recognition
WordId:
The id of the word in the vocabulary
WordText:
the actual word

TitleFile Source code

struct TitleFile
{
var EOnlineEnumerationReadState AsyncState;
var array<byte> Data;
var string Filename;
};
Holds the data used in downloading a file asynchronously from the online service
AsyncState:
The async state the file download is in
Data:
The buffer of data for the file
Filename:
The name of the file as requested

UniqueNetId Source code

struct UniqueNetId
{
var QWORD Uid;
};
Struct that holds a transient, unique identifier for a player
Uid:
The id used by the network to uniquely identify a player


Functions Detail

DumpGameSettings Source code

static function DumpGameSettings ( const OnlineGameSettings GameSettings) )
Logs the game settings object
@param GameSettings settings to dump

DumpNetIds Source code

static function DumpNetIds ( const out array<UniqueNetId> Players, string DebugLabel) )
Log list of players' netids for debugging

DumpSessionState Source code

function DumpSessionState ( ) )
Logs the session state for all sessions present

DumpVoiceRegistration Source code

function DumpVoiceRegistration ( )
Logs the list of players that are registered for voice

Exit Source code

event Exit ( )
Called from the engine shutdown code to allow the subsystem to release any resources that may have been allocated

GetBuildUniqueId Source code

native function int GetBuildUniqueId ( )
Generates a unique number based off of the current script compilation
@return the unique number from the current script compilation

GetNamedInterface Source code

event Object GetNamedInterface ( name InterfaceName) )
Returns the interface object associated with the specified name
@param InterfaceName the name of the interface to retrieve
@return The object that matches the interface name if found

GetNumSupportedLogins Source code

static final native function int GetNumSupportedLogins ( )
Returns the number of players that can be signed in on this platform

Init Source code

native event bool Init ( )
Called from engine start up code to allow the subsystem to initialize
@return TRUE if the initialization was successful, FALSE otherwise

PostInit Source code

event bool PostInit ( ) )
Used to trigger any automated tasks that need to happen just after startup

SetAccountInterface Source code

event bool SetAccountInterface ( Object NewInterface) )
Called from native code to assign the account interface
@param NewInterface the object to assign as providing the account interface
@return TRUE if the interface is valid, FALSE otherwise

SetContentInterface Source code

event bool SetContentInterface ( Object NewInterface) )
Called from native code to assign the content interface
@param NewInterface the object to assign as providing the content interface
@return TRUE if the interface is valid, FALSE otherwise

SetDebugSpewLevel Source code

function SetDebugSpewLevel ( int DebugSpewLevel )
Sets the debug output level for the platform specific API (if applicable)
@param DebugSpewLevel the level to set

SetGameInterface Source code

event bool SetGameInterface ( Object NewInterface) )
Called from native code to assign the game interface
@param NewInterface the object to assign as providing the game interface
@return TRUE if the interface is valid, FALSE otherwise

SetNamedInterface Source code

event SetNamedInterface ( name InterfaceName,Object NewInterface) )
Adds the interface object to the named interface list with the specified name
@param InterfaceName the name of the interface to add it as
@param NewInterface the object/interface that is being cached

SetNewsInterface Source code

event bool SetNewsInterface ( Object NewInterface) )
Called from native code to assign the news interface
@param NewInterface the object to assign as providing the news interface
@return TRUE if the interface is valid, FALSE otherwise

SetPartyChatInterface Source code

event bool SetPartyChatInterface ( Object NewInterface) )
Called from native code to assign the party chat interface
@param NewInterface the object to assign as providing the party chat interface
@return TRUE if the interface is valid, FALSE otherwise

SetPlayerInterface Source code

event bool SetPlayerInterface ( Object NewInterface) )
Called from native code to assign the player interface
@param NewInterface the object to assign as providing the player interface
@return TRUE if the interface is valid, FALSE otherwise

SetPlayerInterfaceEx Source code

event bool SetPlayerInterfaceEx ( Object NewInterface) )
Called from native code to assign the extended player interface
@param NewInterface the object to assign as providing the player interface
@return TRUE if the interface is valid, FALSE otherwise

SetStatsInterface Source code

event bool SetStatsInterface ( Object NewInterface) )
Called from native code to assign the stats interface
@param NewInterface the object to assign as providing the stats interface
@return TRUE if the interface is valid, FALSE otherwise

SetSystemInterface Source code

event bool SetSystemInterface ( Object NewInterface) )
Called from native code to assign the system interface
@param NewInterface the object to assign as providing the system interface
@return TRUE if the interface is valid, FALSE otherwise

SetTitleFileInterface Source code

event bool SetTitleFileInterface ( Object NewInterface) )
Called from native code to assign the title file interface
@param NewInterface the object to assign as providing the file downloading interface
@return TRUE if the interface is valid, FALSE otherwise

SetVoiceInterface Source code

event bool SetVoiceInterface ( Object NewInterface) )
Called from native code to assign the voice interface
@param NewInterface the object to assign as providing the voice interface
@return TRUE if the interface is valid, FALSE otherwise

StringToUniqueNetId Source code

static final native noexportheader function bool StringToUniqueNetId ( string UniqueNetIdString,out UniqueNetId out_UniqueId )
Converts a string representing a UniqueNetId into a UniqueNetId struct.
@param UniqueNetIdString the string containing the text representation of the unique id.
@param out_UniqueId will receive the UniqueNetId generated from the string.
@return TRUE if the string was successfully converted into a UniqueNetId; FALSE if the string was not a valid UniqueNetId.

UniqueNetIdToString Source code

static final native noexportheader function string UniqueNetIdToString ( const out UniqueNetId IdToConvert )
Generates a string representation of a UniqueNetId struct.
@param IdToConvert the unique net id that should be converted to a string.
@return the specified UniqueNetId represented as a string.



Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: ti 22-3-2011 19:56:53.672 - Created with UnCodeX