Space Engineers
Public Member Functions | Properties | List of all members
ProtoBuf.ProtoEnumAttribute Class Reference

Used to define protocol-buffer specific behavior for enumerated values. More...

Inheritance diagram for ProtoBuf.ProtoEnumAttribute:

Public Member Functions

bool HasValue ()
 Indicates whether this instance has a customised value mapping More...
 

Properties

int Value [get, set]
 Gets or sets the specific value to use for this enum during serialization. More...
 
string Name [get, set]
 Gets or sets the defined name of the enum, as used in .proto (this name is not used during serialization). More...
 

Detailed Description

Used to define protocol-buffer specific behavior for enumerated values.

Definition at line 11 of file ProtoEnumAttribute.cs.

Member Function Documentation

bool ProtoBuf.ProtoEnumAttribute.HasValue ( )
inline

Indicates whether this instance has a customised value mapping

Returns
true if a specific value is set

Definition at line 26 of file ProtoEnumAttribute.cs.

Property Documentation

string ProtoBuf.ProtoEnumAttribute.Name
getset

Gets or sets the defined name of the enum, as used in .proto (this name is not used during serialization).

Definition at line 35 of file ProtoEnumAttribute.cs.

int ProtoBuf.ProtoEnumAttribute.Value
getset

Gets or sets the specific value to use for this enum during serialization.

Definition at line 17 of file ProtoEnumAttribute.cs.


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