IntegrationBase
Summary
| Members | Descriptions |
|---|---|
class FRallyHereIntegrationModule | Module for the Rally Here Integration Layer. |
class FRH_Integration | Main integration layer handler. |
class FRallyHereIntegrationModule
class FRallyHereIntegrationModule
: public IModuleInterface
Module for the Rally Here Integration Layer.
Summary
| Members | Descriptions |
|---|---|
public ~FRallyHereIntegrationModule() = default | Default constructor. |
public void StartupModule() | Initializes the module. |
public void ShutdownModule() | Safely ends the module. |
public inline FRH_Integration&GetIntegration() const | Gets the Integration class fromt he module. |
Members
public ~FRallyHereIntegrationModule() = default
Default constructor.
public void StartupModule()
Initializes the module.
public void ShutdownModule()
Safely ends the module.
public inline FRH_Integration&GetIntegration() const
Gets the Integration class fromt he module.
class FRH_Integration
Main integration layer handler.
Summary
| Members | Descriptions |
|---|---|
public FRH_Integration() | |
public void Initialize() | Initialize the Integration layer. |
public void Uninitialize() | Safely tears down the Integration layer. |
public inline RallyHereAPI::FRallyHereAPIAll & GetAPIs() | Gets all the APIs. |
public inline HttpRetryManagerPtr GetRetryManager() const | Gets Base Retry Manager for all RallyHereAPI calls. |
public void SetEnvironmentId(FString InEnvironmentId,const FString & Source) | Sets the environment for he connection. |
public FString GetEnvironmentId() | Get the current Environment Id (will run ResolveEnvironmentId if there isn't one) |
public void ResolveEnvironmentId() | Get the Environment ID used for finding the base URL from the first of the following sources: |
public inline void LockEnvironmentId(bool bLocked) | Updates the locked status of the Environment Id. |
public void SetBaseURL(FString InBaseUrl,const FString & Source) | Set the base URL for all RallyHereAPI calls. |
public FString GetBaseURL() | Get the current base URL (will run ResolveBaseURL if there isn't one) |
public void ResolveBaseURL() | Check for a base URL across several sources and assign the first non-empty value to the APIs: |
public inline void LockBaseURL(bool bLocked) | Updates the locked status of the Base URL. |
public void SetClientId(FString InClientId,const FString & Source) | Set the client ID for the AuthContext. |
public FString GetClientId() | Get the current client ID (will run ResolveClientId if there isn't one). |
public void ResolveClientId() | Check for a client ID across several sources and assign the first non-empty value to the APIs: |
public inline void LockClientId(bool bLocked) | Updates the locked status of the Client Id. |
public void SetClientSecret(FString InClientSecret,const FString & Source) | Set the client secret for the AuthContext. |
public FString GetClientSecret() | Get the current client secret (will run ResolveClientSecret if there isn't one). |
public void ResolveClientSecret() | Check for a client secret across several sources and assign the first non-empty value to the APIs: |
public inline void LockClientSecret(bool bLocked) | Updates the locked status of the Client Secret. |
public inline FRH_WebRequests*GetWebRequestTracker() const | Gets the Web Request Tracker. |
public inline FRH_Diagnostics*GetDiagnostics() const | Gets the Diagnostic Reporter. |
public inline FString GetLastKnownIPAddress() const | Gets a last-known IP address for use with reporting (this is a secondary global cache of the value on the RH_GameInstanceSubsystem) |
public inline void SetLastKnownIPAddress(const FString & InAddress) | Sets a last-known IP address for use with reporting. |
Members
public FRH_Integration()
public void Initialize()
Initialize the Integration layer.
public void Uninitialize()
Safely tears down the Integration layer.
public inline RallyHereAPI::FRallyHereAPIAll & GetAPIs()
Gets all the APIs.
public inline HttpRetryManagerPtr GetRetryManager() const
Gets Base Retry Manager for all RallyHereAPI calls.
public void SetEnvironmentId(FString InEnvironmentId,const FString & Source)
Sets the environment for he connection.
Parameters
-
InEnvironmentIdId of the Environment to use. -
SourceThe source of the environment change, for logging.
public FString GetEnvironmentId()
Get the current Environment Id (will run ResolveEnvironmentId if there isn't one)
public void ResolveEnvironmentId()
Get the Environment ID used for finding the base URL from the first of the following sources:
-
Command line values from the keys in EnvironmentCommandLineKeysInternal. By default these are: RallyHereEnvX RallyHereEnv RallyHereEnvInternal
-
Command line values from the keys in EnvironmentCommandLineKeys, which are configured by ini
-
Results from GetEnvironmentId from the EnvironmentOSSName (or default if one is not provided)
public inline void LockEnvironmentId(bool bLocked)
Updates the locked status of the Environment Id.
Parameters
bLockedIf locked, disables the ResolveEnvironmentId function.
public void SetBaseURL(FString InBaseUrl,const FString & Source)
Set the base URL for all RallyHereAPI calls.
Parameters
-
InBaseURLThe base URL to use. -
SourceThe source of the base URL change, for logging.
public FString GetBaseURL()
Get the current base URL (will run ResolveBaseURL if there isn't one)
public void ResolveBaseURL()
Check for a base URL across several sources and assign the first non-empty value to the APIs:
-
Command line values from the keys in BaseURLCommandLineKeysInternal. By default these are: RallyHereURLX RallyHereURL RallyHereURLInternal
-
Command line values from the keys in BaseURLCommandLineKeys, which are configured by ini
-
ini value from the "RallyHereEnvURL" section, where the key is the current EnvironmentId returned from GetEnvironmentId
-
ini value from the section for this class, with the "BaseUrl" key.
public inline void LockBaseURL(bool bLocked)
Updates the locked status of the Base URL.
Parameters
bLockedIf locked, disables the ResolveBaseURL function.
public void SetClientId(FString InClientId,const FString & Source)
Set the client ID for the AuthContext.
Parameters
-
InClientIdThe client ID to use. -
SourceThe source of the base Client Id Change, for logging.
public FString GetClientId()
Get the current client ID (will run ResolveClientId if there isn't one).
public void ResolveClientId()
Check for a client ID across several sources and assign the first non-empty value to the APIs:
-
Command line values from the keys in ClientIdCommandLineKeysInternal. By default these are: RallyHereClientIdX RallyHereClientId RallyHereClientIdInternal
-
Command line values from the keys in ClientIdCommandLineKeys, which are configured by ini
-
ini value from the "RallyHere" section, with the "ClientId" key.
-
ini value from the section for this class, with the "ClientId" key.
public inline void LockClientId(bool bLocked)
Updates the locked status of the Client Id.
Parameters
bLockedIf locked, disables the ResolveClientId function.
public void SetClientSecret(FString InClientSecret,const FString & Source)
Set the client secret for the AuthContext.
Parameters
-
InClientSecretThe client secret to use. -
SourceThe source of the base Client Secret Change, for logging.
public FString GetClientSecret()
Get the current client secret (will run ResolveClientSecret if there isn't one).
public void ResolveClientSecret()
Check for a client secret across several sources and assign the first non-empty value to the APIs:
-
Command line values from the keys in ClientSecretCommandLineKeysInternal. By default these are: RallyHereClientSecretX RallyHereClientSecret RallyHereClientSecretInternal
-
Command line values from the keys in ClientSecretCommandLineKeys, which are configured by ini
-
ini value from the "RallyHere" section, with the "ClientSecret" key.
-
ini value from the section for this class, with the "ClientSecret" key.
public inline void LockClientSecret(bool bLocked)
Updates the locked status of the Client Secret.
Parameters
bLockedIf locked, disables the ResolveClientSecret function.
public inline FRH_WebRequests*GetWebRequestTracker() const
Gets the Web Request Tracker.
public inline FRH_Diagnostics*GetDiagnostics() const
Gets the Diagnostic Reporter.
public inline FString GetLastKnownIPAddress() const
Gets a last-known IP address for use with reporting (this is a secondary global cache of the value on the RH_GameInstanceSubsystem)
Returns
The last-known IP address, if known, empty otherwise
public inline void SetLastKnownIPAddress(const FString & InAddress)
Sets a last-known IP address for use with reporting.
Parameters
InAddressThe last-known IP address to set