Class UnknownMarker
- Namespace
- RustPlusApi.Data.Markers
- Assembly
- RustPlusApi.dll
Marker with an unrecognised or unsupported type. Carries the full raw field surface of the protobuf marker so nothing the server sends for a new marker type is dropped.
public sealed record UnknownMarker : Marker, IEquatable<Marker>, IEquatable<UnknownMarker>
- Inheritance
-
UnknownMarker
- Implements
- Inherited Members
Properties
Alpha
Opacity (0–1), or null when omitted.
public float? Alpha { get; init; }
Property Value
Color1
Primary color, or null when omitted.
public MarkerColor? Color1 { get; init; }
Property Value
Color2
Secondary color, or null when omitted.
public MarkerColor? Color2 { get; init; }
Property Value
IsOutOfStock
public bool? IsOutOfStock { get; init; }
Property Value
- bool?
Name
Display name carried by the marker, or null when omitted.
public string? Name { get; init; }
Property Value
Radius
Radius in world units, or null when omitted.
public float? Radius { get; init; }
Property Value
RawType
Numeric marker type as sent by the server — a value this library version does not
recognize (or Undefined = 0), preserved so consumers can distinguish and log new types.
public int? RawType { get; init; }
Property Value
- int?
Rotation
Heading in degrees (0–360) as sent by the server, or null when omitted.
public float? Rotation { get; init; }
Property Value
SteamId
Steam64 ID carried by the marker, or null when omitted.
public ulong? SteamId { get; init; }
Property Value
VendingMachineItems
Sell orders carried by the marker; empty when none were sent.
public IEnumerable<VendingMachineItem>? VendingMachineItems { get; init; }