Table of Contents

Class AppMapMarkerToModel

Namespace
RustPlusApi.Extensions
Assembly
RustPlusApi.dll

Mapping extensions from protobuf map-marker messages to model types.

public static class AppMapMarkerToModel
Inheritance
AppMapMarkerToModel
Inherited Members

Methods

ToMapMarkers(AppMapMarkers)

Maps an RustPlusContracts.AppMapMarkers response to a MapMarkers model, routing each marker to its typed dictionary.

public static MapMarkers ToMapMarkers(this AppMapMarkers appMapMarker)

Parameters

appMapMarker AppMapMarkers

The protobuf map markers response.

Returns

MapMarkers

Exceptions

ArgumentException

Thrown when a marker has an unrecognized type.