Space Engineers
|
Indicates that the implementing type has support for protocol-buffer extensions. More...
Public Member Functions | |
IExtension | GetExtensionObject (bool createIfMissing) |
Retrieves the extension object for the current instance, optionally creating it if it does not already exist. More... | |
Indicates that the implementing type has support for protocol-buffer extensions.
Can be implemented by deriving from Extensible.
Definition at line 11 of file IExtensible.cs.
IExtension ProtoBuf.IExtensible.GetExtensionObject | ( | bool | createIfMissing | ) |
Retrieves the extension object for the current instance, optionally creating it if it does not already exist.
createIfMissing | Should a new extension object be created if it does not already exist? |
The createIfMissing
argument is false during serialization, and true during deserialization upon encountering unexpected fields.
Implemented in ProtoBuf.Extensible.