Worst-case scenario: the UEd Goblin wipes the map and burns down your house.
UE3:OnlineSubsystem (UDK)
Object >> OnlineSubsystem |
Contents
- 1 Properties
- 1.1 AccountInterface
- 1.2 AsyncMinCompletionTime
- 1.3 BuildIdOverride
- 1.4 bUseBuildIdOverride
- 1.5 ContentInterface
- 1.6 GameInterface
- 1.7 IniLocPatcherClassName
- 1.8 NamedInterfaceDefs
- 1.9 NamedInterfaces
- 1.10 NewsInterface
- 1.11 PartyChatInterface
- 1.12 Patcher
- 1.13 PlayerInterface
- 1.14 PlayerInterfaceEx
- 1.15 Sessions
- 1.16 StatsInterface
- 1.17 SystemInterface
- 1.18 VoiceInterface
- 2 Enums
- 3 Structs
- 4 Functions
- 4.1 Static native functions
- 4.2 Other static functions
- 4.3 Native functions
- 4.4 Events
- 4.4.1 Exit
- 4.4.2 GetNamedInterface
- 4.4.3 PostInit
- 4.4.4 SetAccountInterface
- 4.4.5 SetContentInterface
- 4.4.6 SetGameInterface
- 4.4.7 SetNamedInterface
- 4.4.8 SetNewsInterface
- 4.4.9 SetPartyChatInterface
- 4.4.10 SetPlayerInterface
- 4.4.11 SetPlayerInterfaceEx
- 4.4.12 SetStatsInterface
- 4.4.13 SetSystemInterface
- 4.4.14 SetVoiceInterface
- 4.5 Other instance functions
- Package:
- Engine
- Direct subclass:
- OnlineSubsystemCommonImpl
- This class in other games:
- UT3
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
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.
Properties[edit]
AccountInterface[edit]
Type: OnlineAccountInterface
The interface to use for creating and/or enumerating account information
AsyncMinCompletionTime[edit]
Type: float
Modifiers: config
Used to introduce latency when communicating with the online layer for testing purposes
BuildIdOverride[edit]
Type: int
Modifiers: config
Used to specify a build override value
bUseBuildIdOverride[edit]
Type: bool
Modifiers: config
Whether to use the override or not
ContentInterface[edit]
Type: OnlineContentInterface
The interface to use for online content
GameInterface[edit]
Type: OnlineGameInterface
The interface to use for creating, searching for, or destroying online games
IniLocPatcherClassName[edit]
Type: string
Modifiers: config
The class to create our patcher instance from
NamedInterfaceDefs[edit]
Type: array<NamedInterfaceDef>
Modifiers: config
The list of named interfaces to automatically create and store
NamedInterfaces[edit]
Type: array<NamedInterface>
Modifiers: private
Holds the set of registered named interfaces
NewsInterface[edit]
Type: OnlineNewsInterface
The interface to use for reading game specific news announcements
PartyChatInterface[edit]
Type: OnlinePartyChatInterface
The interface to use for accessing online party chat methods
Patcher[edit]
Type: IniLocPatcher
Modifiers: transient
The object responsible for patching downloaded INI/loc files
PlayerInterface[edit]
Type: OnlinePlayerInterface
The interface for accessing online player methods
PlayerInterfaceEx[edit]
Type: OnlinePlayerInterfaceEx
The interface for accessing online player extension methods
Sessions[edit]
Type: array<NamedSession>
Modifiers: const, protected
The list of sessions currently managed by the online subsystem
StatsInterface[edit]
Type: OnlineStatsInterface
The interface to use for stats read/write operations
SystemInterface[edit]
Type: OnlineSystemInterface
The interface for accessing system wide network functions
VoiceInterface[edit]
Type: OnlineVoiceInterface
The interface to use for voice communication
Enums[edit]
Structs[edit]
Functions[edit]
Static native functions[edit]
AreUniqueNetIdsEqual[edit]
Returns:
- TRUE if the netids are the same
GetNumSupportedLogins[edit]
Returns the number of players that can be signed in on this platform
StringToUniqueNetId[edit]
Converts a string representing a UniqueNetId into a UniqueNetId struct.
Parameters:
- UniqueNetIdString - the string containing the text representation of the unique id.
- out_UniqueId - will receive the UniqueNetId generated from the string.
Returns:
- TRUE if the string was successfully converted into a UniqueNetId; FALSE if the string was not a valid UniqueNetId.
UniqueNetIdToString[edit]
Generates a string representation of a UniqueNetId struct.
Parameters:
- IdToConvert - the unique net id that should be converted to a string.
Returns:
- the specified UniqueNetId represented as a string.
Other static functions[edit]
DumpGameSettings[edit]
Logs the game settings object
Parameters:
- GameSettings - settings to dump
DumpNetIds[edit]
Log list of players' netids for debugging
Native functions[edit]
Init[edit]
Called from engine start up code to allow the subsystem to initialize
Returns:
- TRUE if the initialization was successful, FALSE otherwise
GetBuildUniqueId[edit]
Generates a unique number based off of the current script compilation
Returns:
- the unique number from the current script compilation
Events[edit]
Exit[edit]
Called from the engine shutdown code to allow the subsystem to release any resources that may have been allocated
GetNamedInterface[edit]
Returns the interface object associated with the specified name
Parameters:
- InterfaceName - the name of the interface to retrieve
Returns:
- The object that matches the interface name if found
PostInit[edit]
Used to trigger any automated tasks that need to happen just after startup
SetAccountInterface[edit]
Called from native code to assign the account interface
Parameters:
- NewInterface - the object to assign as providing the account interface
Returns:
- TRUE if the interface is valid, FALSE otherwise
SetContentInterface[edit]
Called from native code to assign the content interface
Parameters:
- NewInterface - the object to assign as providing the content interface
Returns:
- TRUE if the interface is valid, FALSE otherwise
SetGameInterface[edit]
Called from native code to assign the game interface
Parameters:
- NewInterface - the object to assign as providing the game interface
Returns:
- TRUE if the interface is valid, FALSE otherwise
SetNamedInterface[edit]
Adds the interface object to the named interface list with the specified name
Parameters:
- InterfaceName - the name of the interface to add it as
- NewInterface - the object/interface that is being cached
SetNewsInterface[edit]
Called from native code to assign the news interface
Parameters:
- NewInterface - the object to assign as providing the news interface
Returns:
- TRUE if the interface is valid, FALSE otherwise
SetPartyChatInterface[edit]
Called from native code to assign the party chat interface
Parameters:
- NewInterface - the object to assign as providing the news interface
Returns:
- TRUE if the interface is valid, FALSE otherwise
SetPlayerInterface[edit]
Called from native code to assign the player interface
Parameters:
- NewInterface - the object to assign as providing the player interface
Returns:
- TRUE if the interface is valid, FALSE otherwise
SetPlayerInterfaceEx[edit]
Called from native code to assign the extended player interface
Parameters:
- NewInterface - the object to assign as providing the player interface
Returns:
- TRUE if the interface is valid, FALSE otherwise
SetStatsInterface[edit]
Called from native code to assign the stats interface
Parameters:
- NewInterface - the object to assign as providing the stats interface
Returns:
- TRUE if the interface is valid, FALSE otherwise
SetSystemInterface[edit]
Called from native code to assign the system interface
Parameters:
- NewInterface - the object to assign as providing the system interface
Returns:
- TRUE if the interface is valid, FALSE otherwise
SetVoiceInterface[edit]
Called from native code to assign the voice interface
Parameters:
- NewInterface - the object to assign as providing the voice interface
Returns:
- TRUE if the interface is valid, FALSE otherwise
Other instance functions[edit]
DumpSessionState[edit]
Logs the session state for all sessions present
DumpVoiceRegistration[edit]
Logs the list of players that are registered for voice
SetDebugSpewLevel[edit]
Sets the debug output level for the platform specific API (if applicable)
Parameters:
- DebugSpewLevel - the level to set