Table of Contents

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

PlayerId Guid
Name string
WorldName string
ViewRadiusChunks int
Connection IChannelConnection
SetupHandlerLease ConnectionHandlerLease
Skin PlayerSkinSelection
Language string
I18n II18nService

Remarks

The setup lease prevents stale work from installing gameplay.

Properties

Connection

public IChannelConnection Connection { get; init; }

Property Value

IChannelConnection

I18n

public II18nService? I18n { get; init; }

Property Value

II18nService

Language

public string Language { get; init; }

Property Value

string

Name

public string Name { get; init; }

Property Value

string

PlayerId

public Guid PlayerId { get; init; }

Property Value

Guid

SetupHandlerLease

public ConnectionHandlerLease SetupHandlerLease { get; init; }

Property Value

ConnectionHandlerLease

Skin

public PlayerSkinSelection? Skin { get; init; }

Property Value

PlayerSkinSelection

ViewRadiusChunks

public int ViewRadiusChunks { get; init; }

Property Value

int

WorldName

public string WorldName { get; init; }

Property Value

string