Ensures game data integrity by validating foreign key references between YAML schemas and C# validator implementations.
Moorestech Schema Validator is a specialized skill designed for the Moorestech game development environment to prevent runtime crashes caused by invalid data references. Since the project's SourceGenerator does not automatically create validation logic from foreignKey definitions, this skill guides developers through the manual implementation of C# validation. It maps specific YAML schema files to their corresponding C# validator classes, provides code patterns for various data types (including arrays, optional fields, and nested references), and performs audits to ensure that every cross-reference in the game's master data is properly verified at load time.
주요 기능
01Provides implementation patterns for ItemGuid, FluidGuid, and BlockGuid validation
02Maps YAML schema files (blocks, items, fluids) to specific C# Validator classes
03Includes audit commands to count and compare schema definitions against validator code
04Guides handling of optional and nullable Guid types to prevent false validation errors
0563 GitHub stars
06Detects hidden foreignKey requirements in nested ref, array, and switch/case structures
사용 사례
01Verifying master data integrity before committing changes to the game engine
02Refactoring existing YAML schemas that involve complex cross-references
03Adding new master data properties with foreignKey constraints to game schemas