Orrery Terrain · OrreryTerrainCore module · function
Native::
CheckNetVersions
ExperimentalCompare a peer's versions with this build's, as the Hello does; any mismatch is refused (VersionMismatch).
Declaration
ENetVersionMismatch CheckNetVersions(const FTerrainNetVersions& Local, const FTerrainNetVersions& Remote);- Header
#include "Native/Net/NetRecord.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrainCore");in your module’s Build.cs.- Stability
- Experimental: supported, may change in a minor version, with a changelog line.
- Thread
- Pure, any thread.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Local | const FTerrain | — | — |
Remote | const FTerrain | — | — |
Returns
None when the two may connect; otherwise the first version they disagree on.
Note.
Pure, any thread.