I love the smell of UnrealEd crashing in the morning. – tarquin
UE3:OnlineGameInterfaceImpl instance functions (UDK)
Object >> OnlineGameInterfaceImpl (instance functions) |
Contents
- 1 Instance functions
- 1.1 AcceptGameInvite
- 1.2 AddArbitrationRegistrationCompleteDelegate
- 1.3 AddCancelFindOnlineGamesCompleteDelegate
- 1.4 AddCreateOnlineGameCompleteDelegate
- 1.5 AddDestroyOnlineGameCompleteDelegate
- 1.6 AddEndOnlineGameCompleteDelegate
- 1.7 AddFindOnlineGamesCompleteDelegate
- 1.8 AddGameInviteAcceptedDelegate
- 1.9 AddJoinOnlineGameCompleteDelegate
- 1.10 AddRegisterPlayerCompleteDelegate
- 1.11 AddStartOnlineGameCompleteDelegate
- 1.12 AddUnregisterPlayerCompleteDelegate
- 1.13 AddUpdateOnlineGameCompleteDelegate
- 1.14 ClearArbitrationRegistrationCompleteDelegate
- 1.15 ClearCancelFindOnlineGamesCompleteDelegate
- 1.16 ClearCreateOnlineGameCompleteDelegate
- 1.17 ClearDestroyOnlineGameCompleteDelegate
- 1.18 ClearEndOnlineGameCompleteDelegate
- 1.19 ClearFindOnlineGamesCompleteDelegate
- 1.20 ClearGameInviteAcceptedDelegate
- 1.21 ClearJoinOnlineGameCompleteDelegate
- 1.22 ClearRegisterPlayerCompleteDelegate
- 1.23 ClearStartOnlineGameCompleteDelegate
- 1.24 ClearUnregisterPlayerCompleteDelegate
- 1.25 ClearUpdateOnlineGameCompleteDelegate
- 1.26 GetArbitratedPlayers
- 1.27 GetGameSearch
- 1.28 GetGameSettings
- 1.29 QueryNonAdvertisedData
- 1.30 ReadPlatformSpecificSessionInfoBySessionName
- 1.31 RecalculateSkillRating
- 1.32 RegisterForArbitration
- 1.33 RegisterPlayer
- 1.34 UnregisterPlayer
- 1.35 UpdateOnlineGame
- OnlineGameInterfaceImpl instance functions 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. |
Instance functions[edit]
AcceptGameInvite[edit]
Specified by: OnlineGameInterface.AcceptGameInvite
Tells the online subsystem to accept the game invite that is currently pending
Parameters:
- LocalUserNum - the local user accepting the invite
- SessionName - the name of the session this invite is to be known as
Returns:
- true if the game invite was able to be accepted, false otherwise
AddArbitrationRegistrationCompleteDelegate[edit]
Specified by: OnlineGameInterface.AddArbitrationRegistrationCompleteDelegate
Sets the notification callback to use when arbitration registration has completed
Parameters:
- ArbitrationRegistrationCompleteDelegate - the delegate to use for notifications
AddCancelFindOnlineGamesCompleteDelegate[edit]
Specified by: OnlineGameInterface.AddCancelFindOnlineGamesCompleteDelegate
Adds the delegate to the list to notify with
Parameters:
- CancelFindOnlineGamesCompleteDelegate - the delegate to use for notifications
AddCreateOnlineGameCompleteDelegate[edit]
Specified by: OnlineGameInterface.AddCreateOnlineGameCompleteDelegate
Sets the delegate used to notify the gameplay code that the online game they created has completed the creation process
Parameters:
- CreateOnlineGameCompleteDelegate - the delegate to use for notifications
AddDestroyOnlineGameCompleteDelegate[edit]
Specified by: OnlineGameInterface.AddDestroyOnlineGameCompleteDelegate
Sets the delegate used to notify the gameplay code that the online game they destroyed has completed the destruction process
Parameters:
- DestroyOnlineGameCompleteDelegate - the delegate to use for notifications
AddEndOnlineGameCompleteDelegate[edit]
Specified by: OnlineGameInterface.AddEndOnlineGameCompleteDelegate
Sets the delegate used to notify the gameplay code that the online game has transitioned to the ending state.
Parameters:
- EndOnlineGameCompleteDelegate - the delegate to use for notifications
AddFindOnlineGamesCompleteDelegate[edit]
Specified by: OnlineGameInterface.AddFindOnlineGamesCompleteDelegate
Adds the delegate used to notify the gameplay code that the search they kicked off has completed
Parameters:
- FindOnlineGamesCompleteDelegate - the delegate to use for notifications
AddGameInviteAcceptedDelegate[edit]
Specified by: OnlineGameInterface.AddGameInviteAcceptedDelegate
Sets the delegate used to notify the gameplay code when a game invite has been accepted
Parameters:
- LocalUserNum - the user to request notification for
- GameInviteAcceptedDelegate - the delegate to use for notifications
AddJoinOnlineGameCompleteDelegate[edit]
Specified by: OnlineGameInterface.AddJoinOnlineGameCompleteDelegate
Sets the delegate used to notify the gameplay code that the join request they kicked off has completed
Parameters:
- JoinOnlineGameCompleteDelegate - the delegate to use for notifications
AddRegisterPlayerCompleteDelegate[edit]
Specified by: OnlineGameInterface.AddRegisterPlayerCompleteDelegate
Sets the delegate used to notify the gameplay code that the player registration request they submitted has completed
Parameters:
- RegisterPlayerCompleteDelegate - the delegate to use for notifications
AddStartOnlineGameCompleteDelegate[edit]
Specified by: OnlineGameInterface.AddStartOnlineGameCompleteDelegate
Sets the delegate used to notify the gameplay code that the online game has transitioned to the started state.
Parameters:
- StartOnlineGameCompleteDelegate - the delegate to use for notifications
AddUnregisterPlayerCompleteDelegate[edit]
Specified by: OnlineGameInterface.AddUnregisterPlayerCompleteDelegate
Sets the delegate used to notify the gameplay code that the player unregistration request they submitted has completed
Parameters:
- UnregisterPlayerCompleteDelegate - the delegate to use for notifications
AddUpdateOnlineGameCompleteDelegate[edit]
Specified by: OnlineGameInterface.AddUpdateOnlineGameCompleteDelegate
Adds a delegate to the list of objects that want to be notified
Parameters:
- UpdateOnlineGameCompleteDelegate - the delegate to use for notifications
ClearArbitrationRegistrationCompleteDelegate[edit]
Specified by: OnlineGameInterface.ClearArbitrationRegistrationCompleteDelegate
Removes the specified delegate from the notification list
Parameters:
- ArbitrationRegistrationCompleteDelegate - the delegate to use for notifications
ClearCancelFindOnlineGamesCompleteDelegate[edit]
Specified by: OnlineGameInterface.ClearCancelFindOnlineGamesCompleteDelegate
Removes the delegate from the notify list
Parameters:
- CancelFindOnlineGamesCompleteDelegate - the delegate to use for notifications
ClearCreateOnlineGameCompleteDelegate[edit]
Specified by: OnlineGameInterface.ClearCreateOnlineGameCompleteDelegate
Sets the delegate used to notify the gameplay code that the online game they created has completed the creation process
Parameters:
- CreateOnlineGameCompleteDelegate - the delegate to use for notifications
ClearDestroyOnlineGameCompleteDelegate[edit]
Specified by: OnlineGameInterface.ClearDestroyOnlineGameCompleteDelegate
Removes the delegate from the notification list
Parameters:
- DestroyOnlineGameCompleteDelegate - the delegate to use for notifications
ClearEndOnlineGameCompleteDelegate[edit]
Specified by: OnlineGameInterface.ClearEndOnlineGameCompleteDelegate
Removes the delegate from the notify list
Parameters:
- EndOnlineGameCompleteDelegate - the delegate to use for notifications
ClearFindOnlineGamesCompleteDelegate[edit]
Specified by: OnlineGameInterface.ClearFindOnlineGamesCompleteDelegate
Removes the delegate from the notify list
Parameters:
- FindOnlineGamesCompleteDelegate - the delegate to use for notifications
ClearGameInviteAcceptedDelegate[edit]
Specified by: OnlineGameInterface.ClearGameInviteAcceptedDelegate
Removes the specified delegate from the notification list
Parameters:
- LocalUserNum - the user to request notification for
- GameInviteAcceptedDelegate - the delegate to use for notifications
ClearJoinOnlineGameCompleteDelegate[edit]
Specified by: OnlineGameInterface.ClearJoinOnlineGameCompleteDelegate
Removes the delegate from the notify list
Parameters:
- JoinOnlineGameCompleteDelegate - the delegate to use for notifications
ClearRegisterPlayerCompleteDelegate[edit]
Specified by: OnlineGameInterface.ClearRegisterPlayerCompleteDelegate
Removes the delegate from the notify list
Parameters:
- RegisterPlayerCompleteDelegate - the delegate to use for notifications
ClearStartOnlineGameCompleteDelegate[edit]
Specified by: OnlineGameInterface.ClearStartOnlineGameCompleteDelegate
Removes the delegate from the notify list
Parameters:
- StartOnlineGameCompleteDelegate - the delegate to use for notifications
ClearUnregisterPlayerCompleteDelegate[edit]
Specified by: OnlineGameInterface.ClearUnregisterPlayerCompleteDelegate
Removes the delegate from the notify list
Parameters:
- UnregisterPlayerCompleteDelegate - the delegate to use for notifications
ClearUpdateOnlineGameCompleteDelegate[edit]
Specified by: OnlineGameInterface.ClearUpdateOnlineGameCompleteDelegate
Removes a delegate from the list of objects that want to be notified
Parameters:
- UpdateOnlineGameCompleteDelegate - the delegate to use for notifications
GetArbitratedPlayers[edit]
Specified by: OnlineGameInterface.GetArbitratedPlayers
Returns the list of arbitrated players for the arbitrated session
Parameters:
- SessionName - the name of the session to get the arbitration results for
Returns:
- the list of players that are registered for this session
GetGameSearch[edit]
Specified by: OnlineGameInterface.GetGameSearch
Returns the currently set game search object
GetGameSettings[edit]
Specified by: OnlineGameInterface.GetGameSettings
Returns the game settings object for the session with a matching name
Parameters:
- SessionName - the name of the session to return
Returns:
- the game settings for this session name
QueryNonAdvertisedData[edit]
Specified by: OnlineGameInterface.QueryNonAdvertisedData
Fetches the additional data a session exposes outside of the online service. NOTE: notifications will come from the OnFindOnlineGamesComplete delegate
Parameters:
- StartAt - the search result index to start gathering the extra information for
- NumberToQuery - the number of additional search results to get the data for
Returns:
- true if the query was started, false otherwise
ReadPlatformSpecificSessionInfoBySessionName[edit]
Specified by: OnlineGameInterface.ReadPlatformSpecificSessionInfoBySessionName
Serializes the platform specific data into the provided buffer for the specified settings object. NOTE: This can only be done for a session that is bound to the online system
Parameters:
- GameSettings - the game to copy the platform specific data for
- PlatformSpecificInfo - the buffer to fill with the platform specific information
Returns:
- true if successful reading the data for the session, false otherwise
RecalculateSkillRating[edit]
Specified by: OnlineGameInterface.RecalculateSkillRating
Updates the current session's skill rating using the list of players' skills
Parameters:
- SessionName - the name of the session to update the skill rating for
- Players - the set of players to use in the skill calculation
Returns:
- true if the update succeeded, false otherwise
RegisterForArbitration[edit]
Specified by: OnlineGameInterface.RegisterForArbitration
Tells the game to register with the underlying arbitration server if available
Parameters:
- SessionName - the name of the session to register for arbitration with
RegisterPlayer[edit]
Specified by: OnlineGameInterface.RegisterPlayer
Registers a player with the online service as being part of the online game
Parameters:
- SessionName - the name of the session the player is joining
- UniquePlayerId - the player to register with the online service
- bWasInvited - whether the player was invited to the game or searched for it
Returns:
- true if the call succeeds, false otherwise
UnregisterPlayer[edit]
Specified by: OnlineGameInterface.UnregisterPlayer
Unregisters a player with the online service as being part of the online game
Parameters:
- SessionName - the name of the session the player is leaving
- PlayerId - the player to unregister with the online service
Returns:
- true if the call succeeds, false otherwise
UpdateOnlineGame[edit]
Specified by: OnlineGameInterface.UpdateOnlineGame
Updates the localized settings/properties for the game in question. Updates the QoS packet if needed (starting & restarting QoS).
Parameters:
- SessionName - the name of the session to update
- UpdatedGameSettings - the object to update the game settings with
- bShouldRefreshOnlineData - whether to submit the data to the backend or not
Returns:
- true if successful creating the session, false otherwsie