Barotrauma Client Doc
SegmentTableReader< T > Struct Template Reference

Public Member Functions

delegate BreakSegmentReading SegmentDataReader (T segmentHeader, IReadMessage incMsg)
 
delegate void ExceptionHandler (Segment< T > segmentWithError, Segment< T >[] previousSegments, Exception exceptionThrown)
 
void Dispose ()
 

Static Public Member Functions

static void Read (IReadMessage msg, SegmentDataReader segmentDataReader, ExceptionHandler? exceptionHandler=null)
 

Public Attributes

readonly int PointerLocation
 

Properties

IReadOnlyList< Segment< T > > Segments [get]
 

Detailed Description

Type Constraints
T :struct 

Definition at line 134 of file SegmentTable.cs.

Member Function Documentation

◆ Dispose()

void SegmentTableReader< T >.Dispose ( )

Definition at line 326 of file SegmentTable.cs.

◆ ExceptionHandler()

delegate void SegmentTableReader< T >.ExceptionHandler ( Segment< T >  segmentWithError,
Segment< T >[]  previousSegments,
Exception  exceptionThrown 
)

◆ Read()

static void SegmentTableReader< T >.Read ( IReadMessage  msg,
SegmentDataReader  segmentDataReader,
ExceptionHandler exceptionHandler = null 
)
static

Definition at line 265 of file SegmentTable.cs.

◆ SegmentDataReader()

delegate BreakSegmentReading SegmentTableReader< T >.SegmentDataReader ( segmentHeader,
IReadMessage  incMsg 
)

Member Data Documentation

◆ PointerLocation

readonly int SegmentTableReader< T >.PointerLocation

Definition at line 239 of file SegmentTable.cs.

Property Documentation

◆ Segments

IReadOnlyList<Segment<T> > SegmentTableReader< T >.Segments
get

Definition at line 248 of file SegmentTable.cs.