Skip to content

Add more example code in annotation #46

Add more example code in annotation

Add more example code in annotation #46

GitHub Actions / Patch Validator succeeded May 13, 2024 in 1s

No violations

Result 🔬Source 📝Violations 🛑Symbols / Files 📇Duration ⏰
Naming 🚫Reference ❌Overwrite ⛔
🟢 PassContent_G1.src000933 milliseconds
🟢 PassTextures0--14 milliseconds
Violations: 0/10. Duration: 458 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.