FivePD API
Interfaces

IMarkerService

Provides methods for drawing markers.

Methods

AddMarker

Upon invoking immediately starts drawing the specified marker for the specified player.

Parameters

NameTypeDescription
playerPlayerThe player to draw the marker for.
markerMarkerThe marker.

Returns

NameType
GuidThe id of the marker.

AddMarker

Upon invoking immediately starts drawing the specified marker for the specified players.

Parameters

NameTypeDescription
playersIEnumerable<Player>The players to draw the marker for.
markerMarkerThe marker.

Returns

NameType
GuidThe id of the marker.

RemoveMarker

Stops drawing the marker with the specified id.

Parameters

NameTypeDescription
guidGuidThe id of the marker.