Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/NetworkVersion.h |
| Include | #include "Misc/NetworkVersion.h" |
Syntax
struct FNetworkVersion
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AreNetworkRuntimeFeaturesCompatible
(
EEngineNetworkRuntimeFeatures LocalFeatures, |
Compares if the connection's runtime features are compatible with each other | |
| void | DescribeNetworkRuntimeFeaturesBitset
(
EEngineNetworkRuntimeFeatures FeaturesBitflag, |
Build and return a string describing the status of the the network runtime features bitflag | |
| uint32 | GetCompatibleNetworkProtocolVersion
(
const FGuid& VersionGuid |
||
| 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. | |
| uint32 | |||
| const FCustomVersionContainer & | |||
| uint32 | GetNetworkProtocolVersion
(
const FGuid& VersionGuid |
||
| const FString & | Returns the project version used by networking | ||
| FString & | Used to allow BP only projects to override network versions | ||
| uint32 | |||
| FNetworkReplayVersion | Generates a special struct that contains information to send to replay server | ||
| void | Invalidates any cached network checksum and forces it to be recalculated on next request | ||
| bool | IsNetworkCompatible
(
const uint32 LocalNetworkVersion, |
Determine if a connection is compatible with this instance | |
| void | RegisterNetworkCustomVersion
(
const FGuid& VersionGuid, |
||
| void | SetGameCompatibleNetworkProtocolVersion
(
uint32 GameCompatibleNetworkProtocolVersion |
Sets the game compatible network protocol version used for networking and invalidate cached values | |
| void | SetGameNetworkProtocolVersion
(
uint32 GameNetworkProtocolVersion |
Sets the game network protocol version used for networking and invalidate cached values | |
| void | SetProjectVersion
(
const TCHAR* InVersion |
Sets the project version used for networking. |
Typedefs
| Name | Description |
|---|---|
| FGetLocalNetworkVersionOverride | Called in GetLocalNetworkVersion if bound |
| FGetReplayCompatibleChangeListOverride | Called in GetReplayCompatibleChangelist if bound |
| FIsNetworkCompatibleOverride | Called in IsNetworkCompatible if bound |
Constants
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| uint32 | Please use GetCompatibleNetworkProtocolVersion instead. | ||
| uint32 | Please use GetNetworkProtocolVersion instead. | ||
| uint32 | Please use GetCompatibleNetworkProtocolVersion instead. | ||
| uint32 | Please use GetNetworkProtocolVersion instead. |