Class ServerPairing
- Namespace
- RustPlusApi.Fcm.Registration
- Assembly
- RustPlusApi.Fcm.Registration.dll
The strongly-typed result of an in-game "Pair with Server" notification โ exactly the four
arguments needed for new RustPlus(new RustPlusConnection(server, port, playerId, playerToken)).
public sealed record ServerPairing : IEquatable<ServerPairing>
- Inheritance
-
ServerPairing
- Implements
- Inherited Members
Properties
Ip
The server's IP address or hostname.
public string Ip { get; init; }
Property Value
Name
The server's display name, if present in the notification.
public string? Name { get; init; }
Property Value
PlayerId
The Steam64 ID of the player who paired the server.
public ulong PlayerId { get; init; }
Property Value
PlayerToken
The player's Rust+ authentication token.
public int PlayerToken { get; init; }
Property Value
Port
The companion app port.
public int Port { get; init; }