Barotrauma Server
Loading...
Searching...
No Matches
Barotrauma.Networking.NetEntityEventManager Class Referenceabstract
Inheritance diagram for Barotrauma.Networking.NetEntityEventManager:
Barotrauma.Networking.ServerEntityEventManager

Static Public Attributes

const int MaxEventBufferLength = 1024
 

Protected Member Functions

void Write (IWriteMessage msg, List< NetEntityEvent > eventsToSync, out List< NetEntityEvent > sentEvents, Client recipient=null)
 Write the events to the outgoing message. The recipient parameter is only needed for ServerEntityEventManager.
 
void WriteEvent (IWriteMessage buffer, NetEntityEvent entityEvent, Client recipient=null)
 

Static Protected Member Functions

static bool ValidateEntity (INetSerializable entity)
 

Member Function Documentation

◆ ValidateEntity()

static bool Barotrauma.Networking.NetEntityEventManager.ValidateEntity ( INetSerializable entity)
staticprotected

◆ Write()

void Barotrauma.Networking.NetEntityEventManager.Write ( IWriteMessage msg,
List< NetEntityEvent > eventsToSync,
out List< NetEntityEvent > sentEvents,
Client recipient = null )
protected

Write the events to the outgoing message. The recipient parameter is only needed for ServerEntityEventManager.

◆ WriteEvent()

void Barotrauma.Networking.NetEntityEventManager.WriteEvent ( IWriteMessage buffer,
NetEntityEvent entityEvent,
Client recipient = null )
abstractprotected

Member Data Documentation

◆ MaxEventBufferLength

const int Barotrauma.Networking.NetEntityEventManager.MaxEventBufferLength = 1024
static

The documentation for this class was generated from the following file: