M&B: Bannerlord 1.2.9
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Network.ClientsideSession Class Referenceabstract

Inherits TaleWorlds.Network.NetworkSession.

Public Member Functions

virtual void Connect (string ip, int port, bool useSessionThread=true)
 
void Process ()
 
override void Tick ()
 
- Public Member Functions inherited from TaleWorlds.Network.NetworkSession
delegate void ComponentMessageHandlerDelegate (NetworkMessage networkMessage)
 
void SendDisconnectMessage ()
 
void AddMessageHandler< T > (MessageContractHandlerDelegate< T > handler)
 
void SendMessage (MessageContract message)
 

Protected Member Functions

void SendMessagePeerAlive ()
 
 ClientsideSession ()
 
- Protected Member Functions inherited from TaleWorlds.Network.NetworkSession
 NetworkSession ()
 
void SendPlainMessage (MessageContract message)
 

Properties

int Port [get, set]
 
- Properties inherited from TaleWorlds.Network.NetworkSession
bool IsActive [get]
 
string Address [get]
 
int LastMessageSentTime [get]
 
bool IsConnected [get]
 

Additional Inherited Members

- Static Public Attributes inherited from TaleWorlds.Network.NetworkSession
const double AliveMessageIntervalInSecs = 5.0
 

Constructor & Destructor Documentation

◆ ClientsideSession()

TaleWorlds.Network.ClientsideSession.ClientsideSession ( )
protected

Member Function Documentation

◆ SendMessagePeerAlive()

void TaleWorlds.Network.ClientsideSession.SendMessagePeerAlive ( )
protected

◆ Connect()

virtual void TaleWorlds.Network.ClientsideSession.Connect ( string ip,
int port,
bool useSessionThread = true )
virtual

◆ Process()

void TaleWorlds.Network.ClientsideSession.Process ( )

◆ Tick()

override void TaleWorlds.Network.ClientsideSession.Tick ( )
virtual

Reimplemented from TaleWorlds.Network.NetworkSession.

Property Documentation

◆ Port

int TaleWorlds.Network.ClientsideSession.Port
getset