Add persistent instance visits and validate sleeping spaces
clang PCH / build (push) Canceled after 0s
GCC PCH / build (push) Canceled after 0s

This commit is contained in:
Nico committed 2026-10-27 20:10:13 +01:00
1 parent 440c53acd7
commit e18a416bf4
22 files changed
+1631 -41

No files matched your search

@@ -0,0 +1,16 @@
-- Same database/transaction as characters.health and saved instance position.
CREATE TABLE IF NOT EXISTS vcore_adventure_instance_visit (
character_guid int unsigned NOT NULL,
location_key varchar(100) NOT NULL,
entry_trigger int unsigned NOT NULL,
exit_trigger int unsigned NOT NULL,
instance_map int unsigned NOT NULL,
instance_id int unsigned NOT NULL DEFAULT 0,
block_end bigint unsigned NOT NULL,
prepare_until bigint unsigned NOT NULL DEFAULT 0,
phase tinyint unsigned NOT NULL,
loss_percent tinyint unsigned NOT NULL,
injury_applied tinyint unsigned NOT NULL DEFAULT 0,
schedule tinyint unsigned NOT NULL DEFAULT 0,
PRIMARY KEY(character_guid)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;