Skip to content

Remove underscore from prefix checks #37

Remove underscore from prefix checks

Remove underscore from prefix checks #37

GitHub Actions / Patch Validator succeeded May 2, 2024 in 0s

No violations

Result 🔬Source 📝Violations 🛑Symbols / Files 📇Duration ⏰
Naming 🚫Reference ❌Overwrite ⛔
🟢 PassContent_G1.src000930 milliseconds
🟢 PassTextures0--13 milliseconds
Violations: 0/10. Duration: 478 milliseconds.

See the check run for details.

Types of violations

  • Naming violations occur when global Daedalus symbols are declared (or resource files are named) without a patch-specific prefix in their name (e.g. Patch_Name_*, see below). This is important to ensure cross-mod compatibility.
  • Reference violations occur when Daedalus symbols are referenced that may not exist (i.e. "Unknown Identifier"). A patch cannot presuppose common symbols.
  • Overwrite violations occur when Daedalus symbols are declared that are not allowed to be overwritten. This is important to ensure proper function across mods.
Naming violations can be corrected by prefixing the names of all global symbols (i.e. symbols declared outside of functions, classes, instances, and prototypes) and the names of resource files (i.e. files under "_work/Data/") with one of the following prefixes (add more in the configuration).
  • PATCH_FOO_
  • PATCH_TESTING_
  • FOO_
  • TESTING_

Details

The patch validator checked 9 script symbols and 1 resource file.

For more details, see Ninja documentation.