Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE3:OnlineGameInterfaceImpl instance functions (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> OnlineGameInterfaceImpl (instance functions)
OnlineGameInterfaceImpl instance functions in other games:
UDK

Instance functions[edit]

AcceptGameInvite[edit]

function bool AcceptGameInvite (byte LocalUserNum)

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

AddArbitrationRegistrationCompleteDelegate[edit]

function AddArbitrationRegistrationCompleteDelegate (delegate<OnArbitrationRegistrationCompleteArbitrationRegistrationCompleteDelegate)

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]

function AddCancelFindOnlineGamesCompleteDelegate (delegate<OnCancelFindOnlineGamesCompleteCancelFindOnlineGamesCompleteDelegate)

Specified by: OnlineGameInterface.AddCancelFindOnlineGamesCompleteDelegate

Adds the delegate to the list to notify with

Parameters:

  • CancelFindOnlineGamesCompleteDelegate - the delegate to use for notifications

AddCreateOnlineGameCompleteDelegate[edit]

function AddCreateOnlineGameCompleteDelegate (delegate<OnCreateOnlineGameCompleteCreateOnlineGameCompleteDelegate)

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]

function AddDestroyOnlineGameCompleteDelegate (delegate<OnDestroyOnlineGameCompleteDestroyOnlineGameCompleteDelegate)

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]

function AddEndOnlineGameCompleteDelegate (delegate<OnEndOnlineGameCompleteEndOnlineGameCompleteDelegate)

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]

function AddFindOnlineGamesCompleteDelegate (delegate<OnFindOnlineGamesCompleteFindOnlineGamesCompleteDelegate)

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]

function AddGameInviteAcceptedDelegate (byte LocalUserNum, delegate<OnGameInviteAcceptedGameInviteAcceptedDelegate)

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]

function AddJoinOnlineGameCompleteDelegate (delegate<OnJoinOnlineGameCompleteJoinOnlineGameCompleteDelegate)

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]

function AddRegisterPlayerCompleteDelegate (delegate<OnRegisterPlayerCompleteRegisterPlayerCompleteDelegate)

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]

function AddStartOnlineGameCompleteDelegate (delegate<OnStartOnlineGameCompleteStartOnlineGameCompleteDelegate)

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]

function AddUnregisterPlayerCompleteDelegate (delegate<OnUnregisterPlayerCompleteUnregisterPlayerCompleteDelegate)

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

ClearArbitrationRegistrationCompleteDelegate[edit]

function ClearArbitrationRegistrationCompleteDelegate (delegate<OnArbitrationRegistrationCompleteArbitrationRegistrationCompleteDelegate)

Specified by: OnlineGameInterface.ClearArbitrationRegistrationCompleteDelegate

Removes the specified delegate from the notification list

Parameters:

  • ArbitrationRegistrationCompleteDelegate - the delegate to use for notifications

ClearCancelFindOnlineGamesCompleteDelegate[edit]

function ClearCancelFindOnlineGamesCompleteDelegate (delegate<OnCancelFindOnlineGamesCompleteCancelFindOnlineGamesCompleteDelegate)

Specified by: OnlineGameInterface.ClearCancelFindOnlineGamesCompleteDelegate

Removes the delegate from the notify list

Parameters:

  • CancelFindOnlineGamesCompleteDelegate - the delegate to use for notifications

ClearCreateOnlineGameCompleteDelegate[edit]

function ClearCreateOnlineGameCompleteDelegate (delegate<OnCreateOnlineGameCompleteCreateOnlineGameCompleteDelegate)

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]

function ClearDestroyOnlineGameCompleteDelegate (delegate<OnDestroyOnlineGameCompleteDestroyOnlineGameCompleteDelegate)

Specified by: OnlineGameInterface.ClearDestroyOnlineGameCompleteDelegate

Removes the delegate from the notification list

Parameters:

  • DestroyOnlineGameCompleteDelegate - the delegate to use for notifications

ClearEndOnlineGameCompleteDelegate[edit]

function ClearEndOnlineGameCompleteDelegate (delegate<OnEndOnlineGameCompleteEndOnlineGameCompleteDelegate)

Specified by: OnlineGameInterface.ClearEndOnlineGameCompleteDelegate

Removes the delegate from the notify list

Parameters:

  • EndOnlineGameCompleteDelegate - the delegate to use for notifications

ClearFindOnlineGamesCompleteDelegate[edit]

function ClearFindOnlineGamesCompleteDelegate (delegate<OnFindOnlineGamesCompleteFindOnlineGamesCompleteDelegate)

Specified by: OnlineGameInterface.ClearFindOnlineGamesCompleteDelegate

Removes the delegate from the notify list

Parameters:

  • FindOnlineGamesCompleteDelegate - the delegate to use for notifications

ClearGameInviteAcceptedDelegate[edit]

function ClearGameInviteAcceptedDelegate (byte LocalUserNum, delegate<OnGameInviteAcceptedGameInviteAcceptedDelegate)

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]

function ClearJoinOnlineGameCompleteDelegate (delegate<OnJoinOnlineGameCompleteJoinOnlineGameCompleteDelegate)

Specified by: OnlineGameInterface.ClearJoinOnlineGameCompleteDelegate

Removes the delegate from the notify list

Parameters:

  • JoinOnlineGameCompleteDelegate - the delegate to use for notifications

ClearRegisterPlayerCompleteDelegate[edit]

function ClearRegisterPlayerCompleteDelegate (delegate<OnRegisterPlayerCompleteRegisterPlayerCompleteDelegate)

Specified by: OnlineGameInterface.ClearRegisterPlayerCompleteDelegate

Removes the delegate from the notify list

Parameters:

  • RegisterPlayerCompleteDelegate - the delegate to use for notifications

ClearStartOnlineGameCompleteDelegate[edit]

function ClearStartOnlineGameCompleteDelegate (delegate<OnStartOnlineGameCompleteStartOnlineGameCompleteDelegate)

Specified by: OnlineGameInterface.ClearStartOnlineGameCompleteDelegate

Removes the delegate from the notify list

Parameters:

  • StartOnlineGameCompleteDelegate - the delegate to use for notifications

ClearUnregisterPlayerCompleteDelegate[edit]

function ClearUnregisterPlayerCompleteDelegate (delegate<OnUnregisterPlayerCompleteUnregisterPlayerCompleteDelegate)

Specified by: OnlineGameInterface.ClearUnregisterPlayerCompleteDelegate

Removes the delegate from the notify list

Parameters:

  • UnregisterPlayerCompleteDelegate - the delegate to use for notifications

GetArbitratedPlayers[edit]

function array<OnlineSubsystem.OnlineArbitrationRegistrantGetArbitratedPlayers ()

Specified by: OnlineGameInterface.GetArbitratedPlayers

Returns the list of arbitrated players for the arbitrated session

GetGameSearch[edit]

function OnlineGameSearch GetGameSearch ()

Specified by: OnlineGameInterface.GetGameSearch

Returns the currently set game search object

GetGameSettings[edit]

function OnlineGameSettings GetGameSettings ()

Specified by: OnlineGameInterface.GetGameSettings

Returns the currently set game settings

GetOnlineGameState[edit]

function OnlineSubsystem.EOnlineGameState GetOnlineGameState ()

Specified by: OnlineGameInterface.GetOnlineGameState

Returns the current state of the online game

QueryAuxServerInfo[edit]

function bool QueryAuxServerInfo (byte SearchingPlayerNum, OnlineGameSearch SearchSettings, const out OnlineGameSearch.OnlineGameSearchResult Server)

Specified by: OnlineGameInterface.QueryAuxServerInfo

Query an individual server for additional information

RecalculateSkillRating[edit]

function bool RecalculateSkillRating (const out array<OnlineSubsystem.UniqueNetIdPlayers)

Specified by: OnlineGameInterface.RecalculateSkillRating

Updates the current session's skill rating using the list of players' skills

Parameters:

  • Players - the set of players to use in the skill calculation

Returns:

true if the update succeeded, false otherwise

RegisterForArbitration[edit]

function bool RegisterForArbitration ()

Specified by: OnlineGameInterface.RegisterForArbitration

Tells the game to register with the underlying arbitration server if available

RegisterPlayer[edit]

function bool RegisterPlayer (OnlineSubsystem.UniqueNetId PlayerId, bool bWasInvited)

Specified by: OnlineGameInterface.RegisterPlayer

Registers a player with the online service as being part of the online game

Parameters:

  • 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]

function bool UnregisterPlayer (OnlineSubsystem.UniqueNetId PlayerId)

Specified by: OnlineGameInterface.UnregisterPlayer

Unregisters a player with the online service as being part of the online game

Parameters:

  • PlayerId - the player to unregister with the online service

Returns:

true if the call succeeds, false otherwise

UpdateOnlineGame[edit]

function bool UpdateOnlineGame (OnlineGameSettings UpdatedGameSettings)

Specified by: OnlineGameInterface.UpdateOnlineGame

Updates the localized settings/properties for the game in question

Parameters:

  • UpdatedGameSettings - the object to update the game settings with

Returns:

true if successful creating the session, false otherwsie