Table of Contents

Namespace RustPlusApi.Data

Classes

ErrorMessage

Error detail attached to a failed Response<T>.

MapMarkers

Collects all map markers returned by the Rust+ server, keyed by marker ID. Markers of a type this library does not recognize land in UnknownMarkers.

MarkerColor

Color carried by a map marker, mapped from the server's Vector4 (RGBA components, 0–1).

MemberInfo

Snapshot of a single team member's status.

NexusAuth

Cross-server authentication token returned by GetNexusAuthAsync.

Response

Result of an acknowledge-only Rust+ command (set MOTD, promote, subscribe, …): success state and an optional error, with no payload. Commands that return data use Response<T>.

Response<T>

Generic wrapper returned by every Rust+ API call, carrying success state, data and an optional error.

ServerInfo

Server metadata returned by GetInfoAsync.

ServerMap

Server map image and monument list returned by GetMapAsync.

ServerMapMonument

A named landmark / monument on the server map.

SubscriptionInfo

Subscription state for a smart alarm, returned by CheckSubscriptionAsync.

TeamChatInfo

Team chat history returned by GetTeamChatAsync.

TeamInfo

Full team snapshot returned by GetTeamInfoAsync.

TeamMessage

A single message in the team chat.

TimeInfo

In-game time and day/night cycle parameters returned by GetTimeAsync.

VendingMachineItem

A single sell order listed in a vending machine.

Enums

RustPlusErrorCode

Machine-readable Rust+ server error identifiers, parsed from the raw error string so consumers can branch on failure type without string comparisons. The raw identifier always remains available on Message; unrecognized identifiers map to Unknown. The numeric values are part of the public contract: append new members, never renumber.