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. Markers with an unrecognized type fall back to UnknownMarkers so a game update cannot break the read.
public static MapMarkers ToMapMarkers(this AppMapMarkers appMapMarker)
Parameters
appMapMarkerAppMapMarkersThe protobuf map markers response.