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

Public Member Functions

abstract void SerializeToNetworkMessage (INetworkMessageWriter networkMessage)
 
abstract void DeserializeFromNetworkMessage (INetworkMessageReader networkMessage)
 

Static Public Member Functions

static MessageContract CreateMessageContract (Type messageContractType)
 

Protected Member Functions

 MessageContract ()
 

Properties

byte MessageId [get]
 

Constructor & Destructor Documentation

◆ MessageContract()

TaleWorlds.Network.MessageContract.MessageContract ( )
protected

Member Function Documentation

◆ CreateMessageContract()

static MessageContract TaleWorlds.Network.MessageContract.CreateMessageContract ( Type  messageContractType)
static

◆ SerializeToNetworkMessage()

abstract void TaleWorlds.Network.MessageContract.SerializeToNetworkMessage ( INetworkMessageWriter  networkMessage)
pure virtual

◆ DeserializeFromNetworkMessage()

abstract void TaleWorlds.Network.MessageContract.DeserializeFromNetworkMessage ( INetworkMessageReader  networkMessage)
pure virtual

Property Documentation

◆ MessageId

byte TaleWorlds.Network.MessageContract.MessageId
get