Dungeon and Crafting

This commit is contained in:
dingo
2025-12-28 10:11:08 -05:00
parent 0189690f9a
commit ac03b07bea
2 changed files with 36 additions and 22 deletions
+3
View File
@@ -19,6 +19,9 @@ public class DungeonInstance
public ulong CreatorCharacterId { get; set; }
public string CreatorName { get; set; } = "";
// V2 Layout with visual tiles (null if generated with V1)
public DungeonLayoutV2? LayoutV2 { get; set; }
// Auto-join window (5 minutes)
public DateTime JoinWindowEnd => CreatedAt.AddMinutes(5);
public bool IsJoinWindowOpen => DateTime.UtcNow < JoinWindowEnd;