M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Core.DummyCommunicator Class Reference

Inherits TaleWorlds.Core.ICommunicator.

Public Member Functions

void OnSynchronizeComponentTo (VirtualPlayer peer, PeerComponent component)
 
void OnAddComponent (PeerComponent component)
 
void OnRemoveComponent (PeerComponent component)
 
void OnSynchronizeComponentTo (VirtualPlayer peer, PeerComponent component)
 
void OnAddComponent (PeerComponent component)
 
void OnRemoveComponent (PeerComponent component)
 

Static Public Member Functions

static DummyCommunicator CreateAsServer (int index, string name)
 
static DummyCommunicator CreateAsClient (string name, int index)
 

Properties

VirtualPlayer VirtualPlayer [get]
 
bool IsNetworkActive [get]
 
bool IsConnectionActive [get]
 
bool IsServerPeer [get]
 
bool IsSynchronized [get, set]
 
- Properties inherited from TaleWorlds.Core.ICommunicator
VirtualPlayer VirtualPlayer [get]
 
bool IsNetworkActive [get]
 
bool IsConnectionActive [get]
 
bool IsServerPeer [get]
 
bool IsSynchronized [get, set]
 

Member Function Documentation

◆ OnSynchronizeComponentTo()

void TaleWorlds.Core.DummyCommunicator.OnSynchronizeComponentTo ( VirtualPlayer  peer,
PeerComponent  component 
)

◆ OnAddComponent()

void TaleWorlds.Core.DummyCommunicator.OnAddComponent ( PeerComponent  component)

◆ OnRemoveComponent()

void TaleWorlds.Core.DummyCommunicator.OnRemoveComponent ( PeerComponent  component)

◆ CreateAsServer()

static DummyCommunicator TaleWorlds.Core.DummyCommunicator.CreateAsServer ( int  index,
string  name 
)
static

◆ CreateAsClient()

static DummyCommunicator TaleWorlds.Core.DummyCommunicator.CreateAsClient ( string  name,
int  index 
)
static

Property Documentation

◆ VirtualPlayer

VirtualPlayer TaleWorlds.Core.DummyCommunicator.VirtualPlayer
get

◆ IsNetworkActive

bool TaleWorlds.Core.DummyCommunicator.IsNetworkActive
get

◆ IsConnectionActive

bool TaleWorlds.Core.DummyCommunicator.IsConnectionActive
get

◆ IsServerPeer

bool TaleWorlds.Core.DummyCommunicator.IsServerPeer
get

◆ IsSynchronized

bool TaleWorlds.Core.DummyCommunicator.IsSynchronized
getset