CommonPlayerSpawnInfo record struct
public readonly record struct CommonPlayerSpawnInfo : INetworkSerializable<CommonPlayerSpawnInfo>, IEquatable<CommonPlayerSpawnInfo>
In Obsidian.API.
Properties
public DeathLocation? DeathLocation { get; init; }public bool Debug { get; init; }public required string DimensionName { get; init; }public required int DimensionType { get; init; }public bool Flat { get; init; }public GameMode GameMode { get; init; }public long HashedSeed { get; init; }public int PortalCooldown { get; init; }PreviousGamemode
public GameMode? PreviousGamemode { get; init; }The game mode the player had before this one, if any, which the client's game mode switcher starts from.
public int SeaLevel { get; init; }Methods
public static CommonPlayerSpawnInfo Read(INetStreamReader reader);public static void Write(CommonPlayerSpawnInfo value, INetStreamWriter writer);