| Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
| previous class next class | frames no frames | |||||
This interface deals with the online games. It creates, destroys, performs searches for online games. This interface is overloaded to provide custom matchmaking services
Engine.OnlineGameInterface
| Delegates Summary | ||
|---|---|---|
![]() | OnArbitrationRegistrationComplete (bool bWasSuccessful) | |
![]() | OnCancelFindOnlineGamesComplete (bool bWasSuccessful) | |
![]() | OnCreateOnlineGameComplete (bool bWasSuccessful) | |
![]() | OnDestroyOnlineGameComplete (bool bWasSuccessful) | |
![]() | OnEndOnlineGameComplete (bool bWasSuccessful) | |
![]() | OnFindOnlineGamesComplete (bool bWasSuccessful) | |
![]() | OnGameInviteAccepted (OnlineGameSettings GameInviteSettings) | |
![]() | OnJoinOnlineGameComplete (bool bWasSuccessful) | |
![]() | OnRegisterPlayerComplete (bool bWasSuccessful) | |
![]() | OnStartOnlineGameComplete (bool bWasSuccessful) | |
![]() | OnUnregisterPlayerComplete (bool bWasSuccessful) | |
| Functions Summary | ||
|---|---|---|
![]() | bool | AcceptGameInvite (byte LocalUserNum) |
![]() | AddArbitrationRegistrationCompleteDelegate (delegate<OnArbitrationRegistrationComplete> ArbitrationRegistrationCompleteDelegate) | |
![]() | AddCancelFindOnlineGamesCompleteDelegate (delegate<OnCancelFindOnlineGamesComplete> CancelFindOnlineGamesCompleteDelegate) | |
![]() | AddCreateOnlineGameCompleteDelegate (delegate<OnCreateOnlineGameComplete> CreateOnlineGameCompleteDelegate) | |
![]() | AddDestroyOnlineGameCompleteDelegate (delegate<OnDestroyOnlineGameComplete> DestroyOnlineGameCompleteDelegate) | |
![]() | AddEndOnlineGameCompleteDelegate (delegate<OnEndOnlineGameComplete> EndOnlineGameCompleteDelegate) | |
![]() | AddFindOnlineGamesCompleteDelegate (delegate<OnFindOnlineGamesComplete> FindOnlineGamesCompleteDelegate) | |
![]() | AddGameInviteAcceptedDelegate (byte LocalUserNum, elegate<OnGameInviteAccepted> GameInviteAcceptedDelegate) | |
![]() | AddJoinOnlineGameCompleteDelegate (delegate<OnJoinOnlineGameComplete> JoinOnlineGameCompleteDelegate) | |
![]() | AddRegisterPlayerCompleteDelegate (delegate<OnRegisterPlayerComplete> RegisterPlayerCompleteDelegate) | |
![]() | AddStartOnlineGameCompleteDelegate (delegate<OnStartOnlineGameComplete> StartOnlineGameCompleteDelegate) | |
![]() | AddUnregisterPlayerCompleteDelegate (delegate<OnUnregisterPlayerComplete> UnregisterPlayerCompleteDelegate) | |
![]() | bool | CancelFindOnlineGames () |
![]() | ClearArbitrationRegistrationCompleteDelegate (delegate<OnArbitrationRegistrationComplete> ArbitrationRegistrationCompleteDelegate) | |
![]() | ClearCancelFindOnlineGamesCompleteDelegate (delegate<OnCancelFindOnlineGamesComplete> CancelFindOnlineGamesCompleteDelegate) | |
![]() | ClearCreateOnlineGameCompleteDelegate (delegate<OnCreateOnlineGameComplete> CreateOnlineGameCompleteDelegate) | |
![]() | ClearDestroyOnlineGameCompleteDelegate (delegate<OnDestroyOnlineGameComplete> DestroyOnlineGameCompleteDelegate) | |
![]() | ClearEndOnlineGameCompleteDelegate (delegate<OnEndOnlineGameComplete> EndOnlineGameCompleteDelegate) | |
![]() | ClearFindOnlineGamesCompleteDelegate (delegate<OnFindOnlineGamesComplete> FindOnlineGamesCompleteDelegate) | |
![]() | ClearGameInviteAcceptedDelegate (byte LocalUserNum, elegate<OnGameInviteAccepted> GameInviteAcceptedDelegate) | |
![]() | ClearJoinOnlineGameCompleteDelegate (delegate<OnJoinOnlineGameComplete> JoinOnlineGameCompleteDelegate) | |
![]() | ClearRegisterPlayerCompleteDelegate (delegate<OnRegisterPlayerComplete> RegisterPlayerCompleteDelegate) | |
![]() | ClearStartOnlineGameCompleteDelegate (delegate<OnStartOnlineGameComplete> StartOnlineGameCompleteDelegate) | |
![]() | ClearUnregisterPlayerCompleteDelegate (delegate<OnUnregisterPlayerComplete> UnregisterPlayerCompleteDelegate) | |
![]() | bool | CreateOnlineGame (byte HostingPlayerNum, nlineGameSettings NewGameSettings) |
![]() | bool | DestroyOnlineGame () |
![]() | bool | EndOnlineGame () |
![]() | bool | FindOnlineGames (byte SearchingPlayerNum, nlineGameSearch SearchSettings) |
![]() | bool | FreeSearchResults (optional OnlineGameSearch Search) |
![]() | array<OnlineArbitrationRegistrant> | GetArbitratedPlayers () |
![]() | OnlineGameSearch | GetGameSearch () |
![]() | OnlineGameSettings | GetGameSettings () |
![]() | EOnlineGameState | GetOnlineGameState () |
![]() | bool | GetResolvedConnectString (out string ConnectInfo) |
![]() | bool | JoinOnlineGame (byte PlayerNum, onst out OnlineGameSearchResult DesiredGame) |
![]() | bool | QueryAuxServerInfo (byte SearchingPlayerNum, nlineGameSearch SearchSettings, onst out OnlineGameSearchResult Server) |
![]() | bool | RecalculateSkillRating (const out array<UniqueNetId> Players) |
![]() | bool | RegisterForArbitration () |
![]() | bool | RegisterPlayer (UniqueNetId PlayerId, ool bWasInvited) |
![]() | bool | StartOnlineGame () |
![]() | bool | UnregisterPlayer (UniqueNetId PlayerId) |
![]() | bool | UpdateOnlineGame (OnlineGameSettings UpdatedGameSettings) |
| Delegates Detail |
|---|
OnArbitrationRegistrationComplete Source codeDelegate fired when the online game has completed registration for arbitration
@param bWasSuccessful true if the async action completed without error, false if there was an error
OnCancelFindOnlineGamesComplete Source codeDelegate fired when the cancellation of a search for an online game has completed
@param bWasSuccessful true if the async action completed without error, false if there was an error
OnCreateOnlineGameComplete Source codeDelegate fired when a create request has completed
@param bWasSuccessful true if the async action completed without error, false if there was an error
OnDestroyOnlineGameComplete Source codeDelegate fired when a destroying an online game has completed
@param bWasSuccessful true if the async action completed without error, false if there was an error
OnEndOnlineGameComplete Source codeDelegate fired when the online game has transitioned to the ending game state
@param bWasSuccessful true if the async action completed without error, false if there was an error
OnFindOnlineGamesComplete Source codeDelegate fired when the search for an online game has completed
@param bWasSuccessful true if the async action completed without error, false if there was an error
OnGameInviteAccepted Source codeCalled 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
@param GameInviteSettings all of the game information for the game they've accepted the invite to
OnJoinOnlineGameComplete Source codeDelegate fired when the joing process for an online game has completed
@param bWasSuccessful true if the async action completed without error, false if there was an error
OnRegisterPlayerComplete Source codeDelegate fired when the registration process has completed
@param bWasSuccessful true if the async action completed without error, false if there was an error
OnStartOnlineGameComplete Source codeDelegate fired when the online game has transitioned to the started state
@param bWasSuccessful true if the async action completed without error, false if there was an error
OnUnregisterPlayerComplete Source codeDelegate fired when the unregistration process has completed
@param bWasSuccessful true if the async action completed without error, false if there was an error
| Functions Detail |
|---|
AcceptGameInvite Source codeTells the online subsystem to accept the game invite that is currently pending
@param LocalUserNum the local user accepting the invite
AddArbitrationRegistrationCompleteDelegate Source codeSets the notification callback to use when arbitration registration has completed
@param ArbitrationRegistrationCompleteDelegate the delegate to use for notifications
AddCancelFindOnlineGamesCompleteDelegate Source codeAdds the delegate to the list to notify with
@param CancelFindOnlineGamesCompleteDelegate the delegate to use for notifications
AddCreateOnlineGameCompleteDelegate Source codeSets the delegate used to notify the gameplay code that the online game they created has completed the creation process
@param CreateOnlineGameCompleteDelegate the delegate to use for notifications
AddDestroyOnlineGameCompleteDelegate Source codeSets the delegate used to notify the gameplay code that the online game they destroyed has completed the destruction process
@param DestroyOnlineGameCompleteDelegate the delegate to use for notifications
AddEndOnlineGameCompleteDelegate Source codeSets the delegate used to notify the gameplay code that the online game has transitioned to the ending state.
@param EndOnlineGameCompleteDelegate the delegate to use for notifications
AddFindOnlineGamesCompleteDelegate Source codeAdds the delegate used to notify the gameplay code that the search they kicked off has completed
@param FindOnlineGamesCompleteDelegate the delegate to use for notifications
AddGameInviteAcceptedDelegate Source codeSets the delegate used to notify the gameplay code when a game invite has been accepted
@param LocalUserNum the user to request notification for
@param GameInviteAcceptedDelegate the delegate to use for notifications
AddJoinOnlineGameCompleteDelegate Source codeSets the delegate used to notify the gameplay code that the join request they kicked off has completed
@param JoinOnlineGameCompleteDelegate the delegate to use for notifications
AddRegisterPlayerCompleteDelegate Source codeSets the delegate used to notify the gameplay code that the player registration request they submitted has completed
@param RegisterPlayerCompleteDelegate the delegate to use for notifications
AddStartOnlineGameCompleteDelegate Source codeSets the delegate used to notify the gameplay code that the online game has transitioned to the started state.
@param StartOnlineGameCompleteDelegate the delegate to use for notifications
AddUnregisterPlayerCompleteDelegate Source codeSets the delegate used to notify the gameplay code that the player unregistration request they submitted has completed
@param UnregisterPlayerCompleteDelegate the delegate to use for notifications
CancelFindOnlineGames Source codeCancels the current search in progress if possible for that search type
@return true if successful searching for sessions, false otherwise
ClearArbitrationRegistrationCompleteDelegate Source codeRemoves the delegate from the list of notifications
@param ArbitrationRegistrationCompleteDelegate the delegate to use for notifications
ClearCancelFindOnlineGamesCompleteDelegate Source codeRemoves the delegate from the notify list
@param CancelFindOnlineGamesCompleteDelegate the delegate to use for notifications
ClearCreateOnlineGameCompleteDelegate Source codeRemoves the delegate from the list of notifications
@param CreateOnlineGameCompleteDelegate the delegate to use for notifications
ClearDestroyOnlineGameCompleteDelegate Source codeRemoves the delegate from the list of notifications
@param DestroyOnlineGameCompleteDelegate the delegate to use for notifications
ClearEndOnlineGameCompleteDelegate Source codeRemoves the delegate from the list of notifications
@param EndOnlineGameCompleteDelegate the delegate to use for notifications
ClearFindOnlineGamesCompleteDelegate Source codeRemoves the delegate from the notify list
@param FindOnlineGamesCompleteDelegate the delegate to use for notifications
ClearGameInviteAcceptedDelegate Source codeRemoves the delegate from the list of notifications
@param GameInviteAcceptedDelegate the delegate to use for notifications
ClearJoinOnlineGameCompleteDelegate Source codeRemoves the delegate from the list of notifications
@param JoinOnlineGameCompleteDelegate the delegate to use for notifications
ClearRegisterPlayerCompleteDelegate Source codeRemoves the delegate from the list of notifications
@param RegisterPlayerCompleteDelegate the delegate to use for notifications
ClearStartOnlineGameCompleteDelegate Source codeRemoves the delegate from the list of notifications
@param StartOnlineGameCompleteDelegate the delegate to use for notifications
ClearUnregisterPlayerCompleteDelegate Source codeRemoves the delegate from the list of notifications
@param UnregisterPlayerCompleteDelegate the delegate to use for notifications
CreateOnlineGame Source codeCreates 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.
@param HostingPlayerNum the index of the player hosting the match
@param NewGameSettings the settings to use for the new game session
@return true if successful creating the session, false otherwsie
DestroyOnlineGame Source codeDestroys the current online game NOTE: online game de-registration is an async process and does not complete until the OnDestroyOnlineGameComplete delegate is called.
@return true if successful destroying the session, false otherwsie
EndOnlineGame Source codeMarks an online game as having been ended
@return true if the call succeeds, false otherwise
FindOnlineGames Source codeSearches for games matching the settings specified
@param SearchingPlayerNum the index of the player searching for a match
@param SearchSettings the desired settings that the returned sessions will have
@return true if successful searching for sessions, false otherwise
FreeSearchResults Source codeCleans up any platform specific allocated data contained in the search results
@param Search the object to free search results for
@return true if successful, false otherwise
GetArbitratedPlayers Source codeReturns the list of arbitrated players for the arbitrated session
GetGameSearch Source codeReturns the currently set game search object
GetGameSettings Source codeReturns the currently set game settings
GetOnlineGameState Source codeReturns the current state of the online game
GetResolvedConnectString Source codeReturns the platform specific connection information for joining the match. Call this function from the delegate of join completion
@param ConnectInfo the out var containing the platform specific connection information
@return true if the call was successful, false otherwise
JoinOnlineGame Source codeJoins the game specified
@param PlayerNum the index of the player searching for a match
@param DesiredGame the desired game to join
@return true if the call completed successfully, false otherwise
QueryAuxServerInfo Source codeQuery an individual server for additional information
RecalculateSkillRating Source codeUpdates the current session's skill rating using the list of players' skills
@param Players the set of players to use in the skill calculation
@return true if the update succeeded, false otherwise
RegisterForArbitration Source codeTells the game to register with the underlying arbitration server if available
RegisterPlayer Source codeRegisters a player with the online service as being part of the online game
@param UniquePlayerId the player to register with the online service
@param bWasInvited whether the player was invited to the game or searched for it
@return true if the call succeeds, false otherwise
StartOnlineGame Source codeMarks an online game as in progress (as opposed to being in lobby)
@return true if the call succeeds, false otherwise
UnregisterPlayer Source codeUnregisters a player with the online service as being part of the online game
@param PlayerId the player to unregister with the online service
@return true if the call succeeds, false otherwise
UpdateOnlineGame Source codeUpdates the localized settings/properties for the game in question
@param UpdatedGameSettings the object to update the game settings with
@return true if successful creating the session, false otherwsie
| Defaultproperties |
|---|
defaultproperties
{
Name="Default__OnlineGameInterface"
ObjectArchetype=Interface'Core.Default__Interface'
}
|
| Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
| previous class next class | frames no frames | |||||