Class ServerMap
- Namespace
- RustPlusApi.Data
- Assembly
- RustPlusApi.dll
Server map image and monument list returned by GetMapAsync.
public sealed record ServerMap : IEquatable<ServerMap>
- Inheritance
-
ServerMap
- Implements
- Inherited Members
Properties
Background
Background colour of the map (ocean colour).
public Color Background { get; init; }
Property Value
Height
Height of the map in game units.
public uint? Height { get; init; }
Property Value
- uint?
JpgImage
Raw JPEG image bytes of the map tile, if available.
public byte[]? JpgImage { get; init; }
Property Value
- byte[]
Monuments
List of monuments present on the map.
public List<ServerMapMonument>? Monuments { get; init; }
Property Value
OceanMargin
Width of the ocean margin around the playable area, in game units.
public int? OceanMargin { get; init; }
Property Value
- int?
Width
Width of the map in game units.
public uint? Width { get; init; }
Property Value
- uint?