Class PlayerJoinStart
- Namespace
- Shard.Gameplay.Universe.Networking
- Assembly
- Shard.Gameplay.Universe.dll
Validated join data captured after authentication and setup complete.
public sealed record PlayerJoinStart : IEquatable<PlayerJoinStart>
- Inheritance
-
PlayerJoinStart
- Implements
- Inherited Members
Remarks
The setup lease prevents stale work from installing gameplay.
Constructors
PlayerJoinStart(Guid, string, string, int, IChannelConnection, ConnectionHandlerLease, PlayerSkinSelection?, string, II18nService?)
Validated join data captured after authentication and setup complete.
public PlayerJoinStart(Guid PlayerId, string Name, string WorldName, int ViewRadiusChunks, IChannelConnection Connection, ConnectionHandlerLease SetupHandlerLease, PlayerSkinSelection? Skin = null, string Language = "en-US", II18nService? I18n = null)
Parameters
PlayerIdGuidNamestringWorldNamestringViewRadiusChunksintConnectionIChannelConnectionSetupHandlerLeaseConnectionHandlerLeaseSkinPlayerSkinSelectionLanguagestringI18nII18nService
Remarks
The setup lease prevents stale work from installing gameplay.
Properties
Connection
public IChannelConnection Connection { get; init; }
Property Value
I18n
public II18nService? I18n { get; init; }
Property Value
Language
public string Language { get; init; }
Property Value
Name
public string Name { get; init; }
Property Value
PlayerId
public Guid PlayerId { get; init; }
Property Value
SetupHandlerLease
public ConnectionHandlerLease SetupHandlerLease { get; init; }
Property Value
Skin
public PlayerSkinSelection? Skin { get; init; }
Property Value
ViewRadiusChunks
public int ViewRadiusChunks { get; init; }
Property Value
WorldName
public string WorldName { get; init; }