class

IWolangNetPort

What the replication needs from the session. The default is FNetSession; the loopback rows install one that connects two worlds in a process.

Module
Scripting
Header
#include "Scripting/WolangReplication.h"
Namespace
Mowo

Constructors

SignatureNameDescription
virtual ~IWolangNetPort() = default~IWolangNetPort

Public functions

ReturnsNameDescription
EWolangNetRoleGetRole
uint32_tGetPeerCountConnected peers, for noticing a join (the joiner has none of the state).
uint32_tGetOwnerPeer0 is the host.
EWolangNetSendSend

Function details

~IWolangNetPort

C++
virtual ~IWolangNetPort() = default

GetRole

C++
virtual EWolangNetRole GetRole(const AActor* actor) = 0

GetPeerCount

C++
virtual uint32_t GetPeerCount(const AActor* actor) = 0

Connected peers, for noticing a join (the joiner has none of the state).

GetOwnerPeer

C++
virtual uint32_t GetOwnerPeer(const AActor* actor) = 0

0 is the host.

Send

C++
virtual EWolangNetSend Send(AActor* actor, EWolangNetTarget target, bool unreliable, const std::vector<uint8_t>& data) = 0
Generated from Scripting/WolangReplication.h via scripting.json · Nov 3, 2026Version 1.0.0