Orrery Terrain · OrreryTerrain module · member function
UOrreryTerrainNetSubsystem::
AddClientLink
ExperimentalServe a client over Channel.
Declaration
int32 AddClientLink(TUniquePtr<ITerrainNetToClient> Channel, APlayerController* Controller);- Header
#include "Net/OrreryTerrainNetSubsystem.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrain");in your module’s Build.cs.- Stability
- Experimental: supported, may change in a minor version, with a changelog line.
- Thread
- Tier 3, game thread. (the rule of UOrreryTerrainNetSubsystem)
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Channel | TUnique | — | The link's server-to-client send end; the subsystem owns it until RemoveClientLink. |
Controller | APlayer | — | The player behind the link, or null. Until the client sends its interest (once live), its view point (GetPlayerViewPoint) orders the join stream's pages, nearest first; the edit policy sees it too. |
Returns
The link id; 0 without a terrain subsystem.