Barotrauma Client Doc
Barotrauma.Networking.NetEntityEventManager Class Referenceabstract
Inheritance diagram for Barotrauma.Networking.NetEntityEventManager:
Barotrauma.Networking.ClientEntityEventManager

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 More...
 
abstract void WriteEvent (IWriteMessage buffer, NetEntityEvent entityEvent, Client recipient=null)
 

Static Protected Member Functions

static bool ValidateEntity (INetSerializable entity)
 

Detailed Description

Definition at line 7 of file NetEntityEventManager.cs.

Member Function Documentation

◆ ValidateEntity()

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

Definition at line 69 of file NetEntityEventManager.cs.

◆ 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

Definition at line 14 of file NetEntityEventManager.cs.

◆ WriteEvent()

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

Member Data Documentation

◆ MaxEventBufferLength

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

Definition at line 9 of file NetEntityEventManager.cs.