Navigation
API > API/Runtime > API/Runtime/Core
| Name | FNetworkVersion |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/NetworkVersion.h |
| Include Path | #include "Misc/NetworkVersion.h" |
Syntax
struct FNetworkVersion
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FGetLocalNetworkVersionOverride | TBaseDelegate_NoParams< uint32 > | Called in GetLocalNetworkVersion if bound | Misc/NetworkVersion.h |
| FGetReplayCompatibleChangeListOverride | TBaseDelegate_NoParams< uint32 > | Called in GetReplayCompatibleChangelist if bound | Misc/NetworkVersion.h |
| FIsNetworkCompatibleOverride | TBaseDelegate_TwoParams< bool, uint32, uint32 > | Called in IsNetworkCompatible if bound | Misc/NetworkVersion.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| bHasCachedNetworkChecksum | bool | Misc/NetworkVersion.h | |
| bHasCachedReplayChecksum | bool | Misc/NetworkVersion.h | |
| CachedNetworkChecksum | uint32 | Misc/NetworkVersion.h | |
| CachedReplayChecksum | uint32 | Misc/NetworkVersion.h | |
| EngineCompatibleNetworkProtocolVersion | uint32 | Misc/NetworkVersion.h | |
| EngineNetworkProtocolVersion | uint32 | Misc/NetworkVersion.h | |
| GameCompatibleNetworkProtocolVersion | uint32 | Misc/NetworkVersion.h | |
| GameNetworkProtocolVersion | uint32 | Misc/NetworkVersion.h | |
| GetLocalNetworkVersionOverride | FGetLocalNetworkVersionOverride | Misc/NetworkVersion.h | |
| GetReplayCompatibleChangeListOverride | FGetReplayCompatibleChangeListOverride | Misc/NetworkVersion.h | |
| IsNetworkCompatibleOverride | FIsNetworkCompatibleOverride | Misc/NetworkVersion.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool AreNetworkRuntimeFeaturesCompatible
(
EEngineNetworkRuntimeFeatures LocalFeatures, |
Compares if the connection's runtime features are compatible with each other | Misc/NetworkVersion.h | |
static void DescribeNetworkRuntimeFeaturesBitset
(
EEngineNetworkRuntimeFeatures FeaturesBitflag, |
Build and return a string describing the status of the the network runtime features bitflag | Misc/NetworkVersion.h | |
static uint32 GetCompatibleNetworkProtocolVersion
(
const FGuid& VersionGuid |
Misc/NetworkVersion.h | ||
static uint32 GetEngineCompatibleNetworkProtocolVersion() |
Misc/NetworkVersion.h | ||
static uint32 GetEngineNetworkProtocolVersion() |
Misc/NetworkVersion.h | ||
static uint32 GetGameCompatibleNetworkProtocolVersion() |
Misc/NetworkVersion.h | ||
static uint32 GetGameNetworkProtocolVersion() |
Misc/NetworkVersion.h | ||
static uint32 GetLocalNetworkVersion
(
bool AllowOverrideDelegate |
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. | Misc/NetworkVersion.h | |
static uint32 GetNetworkCompatibleChangelist() |
Misc/NetworkVersion.h | ||
static const FCustomVersionContainer & GetNetworkCustomVersions() |
Misc/NetworkVersion.h | ||
static uint32 GetNetworkProtocolVersion
(
const FGuid& VersionGuid |
Misc/NetworkVersion.h | ||
static const FString & GetProjectVersion() |
Returns the project version used by networking | Misc/NetworkVersion.h | |
static FString & GetProjectVersion_Internal() |
Used to allow BP only projects to override network versions | Misc/NetworkVersion.h | |
static uint32 GetReplayCompatibleChangelist() |
Misc/NetworkVersion.h | ||
static FNetworkReplayVersion GetReplayVersion() |
Generates a special struct that contains information to send to replay server | Misc/NetworkVersion.h | |
static void InvalidateNetworkChecksum() |
Invalidates any cached network checksum and forces it to be recalculated on next request | Misc/NetworkVersion.h | |
static bool IsNetworkCompatible
(
const uint32 LocalNetworkVersion, |
Determine if a connection is compatible with this instance | Misc/NetworkVersion.h | |
| Misc/NetworkVersion.h | |||
static void SetGameCompatibleNetworkProtocolVersion
(
uint32 GameCompatibleNetworkProtocolVersion |
Sets the game compatible network protocol version used for networking and invalidate cached values | Misc/NetworkVersion.h | |
static void SetGameNetworkProtocolVersion
(
uint32 GameNetworkProtocolVersion |
Sets the game network protocol version used for networking and invalidate cached values | Misc/NetworkVersion.h | |
static void SetProjectVersion
(
const TCHAR* InVersion |
Sets the project version used for networking. | Misc/NetworkVersion.h |