Files
2026-02-09 08:32:09 -05:00

26 lines
797 B
C#

using DataServer.Data.Entities;
using DataServer.Data.Enums;
using Server.Networking;
namespace GameServer.Dungeon;
/// <summary>
/// Tracks a player's dungeon session state
/// </summary>
public class DungeonPlayerSession
{
public Guid ConnectionId { get; set; }
public IConnection Connection { get; set; } = null!;
public ulong AccountId { get; set; }
public ulong CharacterId { get; set; }
public DungeonCharacter Character { get; set; } = null!;
public PlayerState State { get; set; } = PlayerState.InHub;
public Guid? CurrentDungeonId { get; set; }
public PlayerInstance? PlayerInstance { get; set; }
public Guid? InitialMobCatalogDungeonId { get; set; }
public bool IsEscaping { get; set; }
public long EscapeStartTick { get; set; }
}