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
| Signature | Name | Description |
|---|---|---|
virtual ~IWolangNetPort() = default | ~IWolangNetPort |
Public functions
| Returns | Name | Description |
|---|---|---|
EWolangNetRole | GetRole | |
uint32_t | GetPeerCount | Connected peers, for noticing a join (the joiner has none of the state). |
uint32_t | GetOwnerPeer | 0 is the host. |
EWolangNetSend | Send |
Function details
~IWolangNetPort
C++
virtual ~IWolangNetPort() = defaultGetRole
C++
virtual EWolangNetRole GetRole(const AActor* actor) = 0GetPeerCount
C++
virtual uint32_t GetPeerCount(const AActor* actor) = 0Connected peers, for noticing a join (the joiner has none of the state).
GetOwnerPeer
C++
virtual uint32_t GetOwnerPeer(const AActor* actor) = 00 is the host.
Send
C++
virtual EWolangNetSend Send(AActor* actor, EWolangNetTarget target, bool unreliable, const std::vector<uint8_t>& data) = 0Generated from Scripting/WolangReplication.h via scripting.json · Nov 3, 2026Version 1.0.0