Class Notification<T>
- Namespace
- RustPlusApi.Fcm.Data
- Assembly
- RustPlusApi.Fcm.dll
Wraps a typed FCM pairing payload with the originating player and server context.
public record Notification<T> : IEquatable<Notification<T>>
Type Parameters
TThe pairing data type (e.g. EntityEvent, ServerEvent, or int).
- Inheritance
-
Notification<T>
- Implements
- Inherited Members
Properties
Data
The typed pairing payload.
public T? Data { get; init; }
Property Value
- T
PlayerId
Steam ID of the player who performed the pairing.
public ulong PlayerId { get; init; }
Property Value
PlayerToken
Rust+ player token for the pairing player.
public int PlayerToken { get; init; }
Property Value
ServerId
The Rust+ server ID the pairing is associated with.
public Guid ServerId { get; init; }