Show / Hide Table of Contents

Class IServiceCollectionsExtensions

Extension of IServiceCollection to configure the UnrealHookClient.

Inheritance
object
IServiceCollectionsExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.UnrealToolkit.Bifrost.Proto.HookClient
Assembly: UnrealToolkit.Bifrost.Proto.HookClient.dll
Syntax
public static class IServiceCollectionsExtensions

Methods

View Source

AddUnrealHookClient(IServiceCollection, IPEndPoint, TimeSpan?, TimeSpan?)

Configures the UnrealHookClient with Bifrost via Protobuf protocol.

Declaration
public static IServiceCollection AddUnrealHookClient(this IServiceCollection services, IPEndPoint endPoint, TimeSpan? defaultConnectionTimeoutSeconds = null, TimeSpan? defaultInvokeHookTimeoutSeconds = null)
Parameters
Type Name Description
IServiceCollection services

The service collection to configure.

IPEndPoint endPoint

The endpoint of the host to connect to.

TimeSpan? defaultConnectionTimeoutSeconds

The default timeout to use when attempting a connection to a game instance. Default set to 30 seconds.

TimeSpan? defaultInvokeHookTimeoutSeconds

The default timeout to use when invoking a hook call on the game instance. Default set to 30 seconds.

Returns
Type Description
IServiceCollection

The configured IServiceCollection.

  • View Source
In this article
Back to top Generated by DocFX