Class PlayerJoined
Event listener args which handles SDG.Unturned.Provider.onServerConnected.
[EventModel(EventSynchronizationContext.Pure)]
public class PlayerJoined : PlayerEvent, IPlayerEvent, IActionLoggableEvent
- Inheritance
-
PlayerJoined
- Implements
- Inherited Members
Properties
IsNewPlayer
If this is the first time the player has joined the server.
public required bool IsNewPlayer { get; init; }
Property Value
SaveData
Save data of the player, or a fresh save data object if they're new.
public required BinaryPlayerSave SaveData { get; init; }
Property Value
Methods
GetActionLogEntry(IServiceProvider, ref ActionLogEntry[]?)
public ActionLogEntry GetActionLogEntry(IServiceProvider serviceProvider, ref ActionLogEntry[]? multipleEntries)
Parameters
serviceProviderIServiceProvidermultipleEntriesActionLogEntry[]