#include <NetworkVersion.h>
◆ AreNetworkRuntimeFeaturesCompatible()
Compares if the connection's runtime features are compatible with each other
◆ DECLARE_DELEGATE_RetVal() [1/2]
Called in GetLocalNetworkVersion if bound
◆ DECLARE_DELEGATE_RetVal() [2/2]
Called in GetReplayCompatibleChangelist if bound
◆ DECLARE_DELEGATE_RetVal_TwoParams()
Called in IsNetworkCompatible if bound
◆ DescribeNetworkRuntimeFeaturesBitset()
Build and return a string describing the status of the the network runtime features bitflag
◆ GetCompatibleNetworkProtocolVersion()
| uint32 FNetworkVersion::GetCompatibleNetworkProtocolVersion |
( |
const FGuid & |
VersionGuid | ) |
|
|
static |
◆ GetEngineCompatibleNetworkProtocolVersion()
| uint32 FNetworkVersion::GetEngineCompatibleNetworkProtocolVersion |
( |
| ) |
|
|
static |
◆ GetEngineNetworkProtocolVersion()
| uint32 FNetworkVersion::GetEngineNetworkProtocolVersion |
( |
| ) |
|
|
static |
◆ GetGameCompatibleNetworkProtocolVersion()
| uint32 FNetworkVersion::GetGameCompatibleNetworkProtocolVersion |
( |
| ) |
|
|
static |
◆ GetGameNetworkProtocolVersion()
| uint32 FNetworkVersion::GetGameNetworkProtocolVersion |
( |
| ) |
|
|
static |
◆ GetLocalNetworkVersion()
| uint32 FNetworkVersion::GetLocalNetworkVersion |
( |
bool |
AllowOverrideDelegate = true | ) |
|
|
static |
Generates a version number, that by default, is based on a checksum of the engine version + project name + project version string Game/project code can completely override what this value returns through the GetLocalNetworkVersionOverride delegate If called with AllowOverrideDelegate=false, we will not call the game project override. (This allows projects to call base implementation in their project implementation)
◆ GetNetworkCompatibleChangelist()
| uint32 FNetworkVersion::GetNetworkCompatibleChangelist |
( |
| ) |
|
|
static |
◆ GetNetworkCustomVersions()
◆ GetNetworkProtocolVersion()
| uint32 FNetworkVersion::GetNetworkProtocolVersion |
( |
const FGuid & |
VersionGuid | ) |
|
|
static |
◆ GetProjectVersion()
| static const FString & FNetworkVersion::GetProjectVersion |
( |
| ) |
|
|
inlinestatic |
Returns the project version used by networking
- Returns
- FString
◆ GetProjectVersion_Internal()
| FString & FNetworkVersion::GetProjectVersion_Internal |
( |
| ) |
|
|
staticprotected |
Used to allow BP only projects to override network versions
◆ GetReplayCompatibleChangelist()
| uint32 FNetworkVersion::GetReplayCompatibleChangelist |
( |
| ) |
|
|
static |
◆ GetReplayVersion()
Generates a special struct that contains information to send to replay server
◆ InvalidateNetworkChecksum()
| static void FNetworkVersion::InvalidateNetworkChecksum |
( |
| ) |
|
|
inlinestatic |
Invalidates any cached network checksum and forces it to be recalculated on next request
◆ IsNetworkCompatible()
| bool FNetworkVersion::IsNetworkCompatible |
( |
const uint32 |
LocalNetworkVersion, |
|
|
const uint32 |
RemoteNetworkVersion |
|
) |
| |
|
static |
Determine if a connection is compatible with this instance
- Parameters
-
| bRequireEngineVersionMatch | should the engine versions match exactly |
| LocalNetworkVersion | current version of the local machine |
| RemoteNetworkVersion | current version of the remote machine |
- Returns
- true if the two instances can communicate, false otherwise
◆ RegisterNetworkCustomVersion()
| void FNetworkVersion::RegisterNetworkCustomVersion |
( |
const FGuid & |
VersionGuid, |
|
|
int32 |
Version, |
|
|
int32 |
CompatibleVersion, |
|
|
const FName & |
FriendlyName |
|
) |
| |
|
static |
◆ SetGameCompatibleNetworkProtocolVersion()
| void FNetworkVersion::SetGameCompatibleNetworkProtocolVersion |
( |
uint32 |
GameCompatibleNetworkProtocolVersion | ) |
|
|
static |
Sets the game compatible network protocol version used for networking and invalidate cached values
◆ SetGameNetworkProtocolVersion()
| void FNetworkVersion::SetGameNetworkProtocolVersion |
( |
uint32 |
GameNetworkProtocolVersion | ) |
|
|
static |
Sets the game network protocol version used for networking and invalidate cached values
◆ SetProjectVersion()
| void FNetworkVersion::SetProjectVersion |
( |
const TCHAR * |
InVersion | ) |
|
|
static |
Sets the project version used for networking. Needs to be a function to verify string and correctly invalidate cached values
- Parameters
-
- Returns
- void
◆ bHasCachedNetworkChecksum
| bool FNetworkVersion::bHasCachedNetworkChecksum = false |
|
staticprotected |
◆ bHasCachedReplayChecksum
| bool FNetworkVersion::bHasCachedReplayChecksum = false |
|
staticprotected |
◆ CachedNetworkChecksum
| uint32 FNetworkVersion::CachedNetworkChecksum = 0 |
|
staticprotected |
◆ CachedReplayChecksum
| uint32 FNetworkVersion::CachedReplayChecksum = 0 |
|
staticprotected |
◆ EngineCompatibleNetworkProtocolVersion
◆ EngineNetworkProtocolVersion
◆ GameCompatibleNetworkProtocolVersion
| uint32 FNetworkVersion::GameCompatibleNetworkProtocolVersion = 0 |
|
staticprotected |
◆ GameNetworkProtocolVersion
| uint32 FNetworkVersion::GameNetworkProtocolVersion = 0 |
|
staticprotected |
◆ GetLocalNetworkVersionOverride
| FNetworkVersion::FGetLocalNetworkVersionOverride FNetworkVersion::GetLocalNetworkVersionOverride |
|
static |
◆ GetReplayCompatibleChangeListOverride
| FNetworkVersion::FGetReplayCompatibleChangeListOverride FNetworkVersion::GetReplayCompatibleChangeListOverride |
|
static |
◆ IsNetworkCompatibleOverride
| FNetworkVersion::FIsNetworkCompatibleOverride FNetworkVersion::IsNetworkCompatibleOverride |
|
static |
The documentation for this struct was generated from the following files: