PlayerId record struct
public readonly record struct PlayerId One player in a session, as the host knows them for as long as they’re connected. A Plugin gets one from the API that hands out players and passes it back to name that player, as ICrosshairs.Of takes one.
Two ids are the same player only while that player is connected. When they leave, their slot is free for the next to join, who gets a new Serial, so an id kept past a player leaving never reaches someone else.
- Assembly
- EvilEngine.Api
- Commit
- 4ff877b1