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
appMapMarkerAppMapMarkersThe protobuf map markers response.
Returns
Exceptions
- ArgumentException
Thrown when a marker has an unrecognized type.