Cogito, ergo sum
UE3:OnlineGameInterfaceImpl (UT3)
Object >> OnlineGameInterfaceImpl |
Contents
- 1 Properties
- 1.1 CancelFindOnlineGamesCompleteDelegates
- 1.2 CreateOnlineGameCompleteDelegates
- 1.3 CurrentGameState
- 1.4 DestroyOnlineGameCompleteDelegates
- 1.5 EndOnlineGameCompleteDelegates
- 1.6 FindOnlineGamesCompleteDelegates
- 1.7 GameSearch
- 1.8 GameSettings
- 1.9 JoinOnlineGameCompleteDelegates
- 1.10 LanAnnouncePort
- 1.11 LanBeacon
- 1.12 LanBeaconState
- 1.13 LanGameUniqueId
- 1.14 LanNonce
- 1.15 LanPacketPlatformMask
- 1.16 LanQueryTimeLeft
- 1.17 LanQueryTimeout
- 1.18 OwningSubsystem
- 1.19 SessionInfo
- 1.20 StartOnlineGameCompleteDelegates
- 2 Delegates
- 2.1 OnArbitrationRegistrationComplete
- 2.2 OnCancelFindOnlineGamesComplete
- 2.3 OnCreateOnlineGameComplete
- 2.4 OnDestroyOnlineGameComplete
- 2.5 OnEndOnlineGameComplete
- 2.6 OnFindOnlineGamesComplete
- 2.7 OnGameInviteAccepted
- 2.8 OnJoinOnlineGameComplete
- 2.9 OnRegisterPlayerComplete
- 2.10 OnStartOnlineGameComplete
- 2.11 OnUnregisterPlayerComplete
- 3 Functions
- Package:
- IpDrv
- Within class:
- OnlineSubsystemCommonImpl
- Implemented interfaces:
- OnlineGameInterface
- Direct subclass:
- OnlineGameInterfaceGameSpy
- This class in other games:
- UDK
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. |
Class that implements a cross platform version of the game interface
Properties[edit]
CancelFindOnlineGamesCompleteDelegates[edit]
Type: array<delegate<OnCancelFindOnlineGamesComplete> >
Array of delegates to multicast with for game search notification
CreateOnlineGameCompleteDelegates[edit]
Type: array<delegate<OnCreateOnlineGameComplete> >
Array of delegates to multicast with for game creation notification
CurrentGameState[edit]
Type: OnlineSubsystem.EOnlineGameState
Modifiers: const
The current game state as the Live layer understands it
DestroyOnlineGameCompleteDelegates[edit]
Type: array<delegate<OnDestroyOnlineGameComplete> >
Array of delegates to multicast with for game destruction notification
EndOnlineGameCompleteDelegates[edit]
Type: array<delegate<OnEndOnlineGameComplete> >
Array of delegates to multicast with for game ending notification
FindOnlineGamesCompleteDelegates[edit]
Type: array<delegate<OnFindOnlineGamesComplete> >
Array of delegates to multicast with for game search notification
GameSearch[edit]
Type: OnlineGameSearch
Modifiers: const
The current game search object in use
GameSettings[edit]
Type: OnlineGameSettings
Modifiers: const
The current game settings object in use
JoinOnlineGameCompleteDelegates[edit]
Type: array<delegate<OnJoinOnlineGameComplete> >
Array of delegates to multicast with for game join notification
LanAnnouncePort[edit]
Type: int
Modifiers: const, config
Port to listen on for LAN queries/responses
Default value: 14001
LanBeacon[edit]
Type: pointer{FLanBeacon}
Modifiers: const, native, transient
LAN announcement socket used to send/receive discovery packets
LanBeaconState[edit]
Type: OnlineSubsystem.ELanBeaconState
Modifiers: const
The current state the lan beacon is in
LanGameUniqueId[edit]
Type: int
Modifiers: const, config
Unique id to keep UE3 games from seeing each others' lan packets
Default value: 1297549275
LanNonce[edit]
Type: byte
Array size: 8
Modifiers: const
Used by a client to uniquely identify itself during lan match discovery
LanPacketPlatformMask[edit]
Type: int
Modifiers: const, config
Mask containing which platforms can cross communicate
Default value: 1
LanQueryTimeLeft[edit]
Type: float
The amount of time before the lan query is considered done
LanQueryTimeout[edit]
Type: float
Modifiers: config
The amount of time to wait before timing out a lan query request
Default value: 5.0
OwningSubsystem[edit]
Type: OnlineSubsystemCommonImpl
The owning subsystem that this object is providing an implementation for
SessionInfo[edit]
Type: pointer{FSessionInfo}
Modifiers: native, const, transient, private
The session information used to connect to a host
StartOnlineGameCompleteDelegates[edit]
Type: array<delegate<OnStartOnlineGameComplete> >
Array of delegates to multicast with for game starting notification
Delegates[edit]
OnArbitrationRegistrationComplete[edit]
Specified by: OnlineGameInterface.OnArbitrationRegistrationComplete
Delegate fired when the online game has completed registration for arbitration
Parameters:
- bWasSuccessful - true if the async action completed without error, false if there was an error
OnCancelFindOnlineGamesComplete[edit]
Specified by: OnlineGameInterface.OnCancelFindOnlineGamesComplete
Delegate fired when the cancellation of a search for an online game has completed
Parameters:
- bWasSuccessful - true if the async action completed without error, false if there was an error
OnCreateOnlineGameComplete[edit]
Specified by: OnlineGameInterface.OnCreateOnlineGameComplete
Delegate fired when a create request has completed
Parameters:
- bWasSuccessful - true if the async action completed without error, false if there was an error
OnDestroyOnlineGameComplete[edit]
Specified by: OnlineGameInterface.OnDestroyOnlineGameComplete
Delegate fired when a destroying an online game has completed
Parameters:
- bWasSuccessful - true if the async action completed without error, false if there was an error
OnEndOnlineGameComplete[edit]
Specified by: OnlineGameInterface.OnEndOnlineGameComplete
Delegate fired when the online game has transitioned to the ending game state
Parameters:
- bWasSuccessful - true if the async action completed without error, false if there was an error
OnFindOnlineGamesComplete[edit]
Specified by: OnlineGameInterface.OnFindOnlineGamesComplete
Delegate fired when the search for an online game has completed
Parameters:
- bWasSuccessful - true if the async action completed without error, false if there was an error
OnGameInviteAccepted[edit]
Specified by: OnlineGameInterface.OnGameInviteAccepted
Called when a user accepts a game invitation. Allows the gameplay code a chance to clean up any existing state before accepting the invite. The invite must be accepted by calling AcceptGameInvite() on the OnlineGameInterface after clean up has completed
Parameters:
- GameInviteSettings - all of the game information for the game they've accepted the invite to
OnJoinOnlineGameComplete[edit]
Specified by: OnlineGameInterface.OnJoinOnlineGameComplete
Delegate fired when the joing process for an online game has completed
Parameters:
- bWasSuccessful - true if the async action completed without error, false if there was an error
OnRegisterPlayerComplete[edit]
Specified by: OnlineGameInterface.OnRegisterPlayerComplete
Delegate fired when the registration process has completed
Parameters:
- bWasSuccessful - true if the async action completed without error, false if there was an error
OnStartOnlineGameComplete[edit]
Specified by: OnlineGameInterface.OnStartOnlineGameComplete
Delegate fired when the online game has transitioned to the started state
Parameters:
- bWasSuccessful - true if the async action completed without error, false if there was an error
OnUnregisterPlayerComplete[edit]
Specified by: OnlineGameInterface.OnUnregisterPlayerComplete
Delegate fired when the unregistration process has completed
Parameters:
- bWasSuccessful - true if the async action completed without error, false if there was an error
Functions[edit]
Native functions[edit]
CancelFindOnlineGames[edit]
Specified by: OnlineGameInterface.CancelFindOnlineGames
Cancels the current search in progress if possible for that search type
Returns:
- true if successful searching for sessions, false otherwise
CreateOnlineGame[edit]
Specified by: OnlineGameInterface.CreateOnlineGame
Creates an online game based upon the settings object specified. NOTE: online game registration is an async process and does not complete until the OnCreateOnlineGameComplete delegate is called.
Parameters:
- HostingPlayerNum - the index of the player hosting the match
- NewGameSettings - the settings to use for the new game session
Returns:
- true if successful creating the session, false otherwsie
DestroyOnlineGame[edit]
Specified by: OnlineGameInterface.DestroyOnlineGame
Destroys the current online game NOTE: online game de-registration is an async process and does not complete until the OnDestroyOnlineGameComplete delegate is called.
Returns:
- true if successful destroying the session, false otherwsie
EndOnlineGame[edit]
Specified by: OnlineGameInterface.EndOnlineGame
Marks an online game as having been ended
Returns:
- true if the call succeeds, false otherwise
FindOnlineGames[edit]
Specified by: OnlineGameInterface.FindOnlineGames
Searches for games matching the settings specified
Parameters:
- SearchingPlayerNum - the index of the player searching for a match
- SearchSettings - the desired settings that the returned sessions will have
Returns:
- true if successful searching for sessions, false otherwise
FreeSearchResults[edit]
Specified by: OnlineGameInterface.FreeSearchResults
Cleans up any platform specific allocated data contained in the search results
Parameters:
- Search - the object to free search results for
Returns:
- true if successful, false otherwise
GetResolvedConnectString[edit]
Specified by: OnlineGameInterface.GetResolvedConnectString
Returns the platform specific connection information for joining the match. Call this function from the delegate of join completion
Parameters:
- ConnectInfo - the out var containing the platform specific connection information
Returns:
- true if the call was successful, false otherwise
JoinOnlineGame[edit]
Specified by: OnlineGameInterface.JoinOnlineGame
Joins the game specified
Parameters:
- PlayerNum - the index of the player searching for a match
- DesiredGame - the desired game to join
Returns:
- true if the call completed successfully, false otherwise
StartOnlineGame[edit]
Specified by: OnlineGameInterface.StartOnlineGame
Marks an online game as in progress (as opposed to being in lobby)
Returns:
- true if the call succeeds, false otherwise