using NeonSprawl.Server.Game.Quests; namespace NeonSprawl.Server.Tests.Game.Quests; internal static class QuestCatalogTestPaths { internal static string DiscoverRepoQuestsDirectory() => QuestCatalogPathResolution.TryDiscoverQuestsDirectory(AppContext.BaseDirectory) ?? throw new InvalidOperationException( "Could not discover repo content/quests from AppContext.BaseDirectory; run tests from the neon-sprawl clone."); internal static string DiscoverRepoQuestDefSchemaPath() => QuestCatalogPathResolution.ResolveQuestDefSchemaPath( DiscoverRepoQuestsDirectory(), configuredSchemaPath: null, contentRootPath: string.Empty); internal static string DiscoverRepoQuestStepDefSchemaPath() => QuestCatalogPathResolution.ResolveQuestStepDefSchemaPath( DiscoverRepoQuestsDirectory(), configuredSchemaPath: null, contentRootPath: string.Empty); internal static string DiscoverRepoQuestObjectiveDefSchemaPath() => QuestCatalogPathResolution.ResolveQuestObjectiveDefSchemaPath( DiscoverRepoQuestsDirectory(), configuredSchemaPath: null, contentRootPath: string.Empty); internal static string DiscoverRepoRewardGrantRowSchemaPath() => QuestCatalogPathResolution.ResolveRewardGrantRowSchemaPath(DiscoverRepoQuestsDirectory()); internal static string DiscoverRepoQuestSkillXpGrantSchemaPath() => QuestCatalogPathResolution.ResolveQuestSkillXpGrantSchemaPath(DiscoverRepoQuestsDirectory()); internal static string DiscoverRepoQuestRewardBundleSchemaPath() => QuestCatalogPathResolution.ResolveQuestRewardBundleSchemaPath(DiscoverRepoQuestsDirectory()); }