Space Engineers
Classes | Public Member Functions | Properties | List of all members
ProtoBuf.Meta.SubType Class Reference

Represents an inherited type in a type hierarchy. More...

Classes

class  Comparer
 

Public Member Functions

 SubType (int fieldNumber, MetaType derivedType, DataFormat format)
 Creates a new SubType instance. More...
 

Properties

int FieldNumber [get]
 The field-number that is used to encapsulate the data (as a nested message) for the derived dype. More...
 
MetaType DerivedType [get]
 The sub-type to be considered. More...
 

Detailed Description

Represents an inherited type in a type hierarchy.

Definition at line 11 of file SubType.cs.

Constructor & Destructor Documentation

ProtoBuf.Meta.SubType.SubType ( int  fieldNumber,
MetaType  derivedType,
DataFormat  format 
)
inline

Creates a new SubType instance.

Parameters
fieldNumberThe field-number that is used to encapsulate the data (as a nested message) for the derived dype.
derivedTypeThe sub-type to be considered.
formatSpecific encoding style to use; in particular, Grouped can be used to avoid buffering, but is not the default.

Definition at line 51 of file SubType.cs.

Property Documentation

MetaType ProtoBuf.Meta.SubType.DerivedType
get

The sub-type to be considered.

Definition at line 41 of file SubType.cs.

int ProtoBuf.Meta.SubType.FieldNumber
get

The field-number that is used to encapsulate the data (as a nested message) for the derived dype.

Definition at line 37 of file SubType.cs.


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