]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Make YAML Linter validate server/client-only components (#26809)
authorTayrtahn <tayrtahn@gmail.com>
Fri, 19 Apr 2024 17:28:33 +0000 (13:28 -0400)
committerGitHub <noreply@github.com>
Fri, 19 Apr 2024 17:28:33 +0000 (13:28 -0400)
commit299da35c8758c408f2333d825a3e3c1243a87b6f
tree1d7561dfbd575ee49f722f74357e11d4e810ebcc
parent5b62724de0d18632dba7b5eff3d6b2fc9d1f3126
Make YAML Linter validate server/client-only components (#26809)

* YAML Linter now validates invalid fields in server-only and client-only components

* Update to change in engine PR

* Use reflection manager to get the lists of client/server assemblies.

Also made it use a hashset on type instead of the previous code.

* I'm dumb my bad.

* Fix 2 errors that snuck through, showing why we need this.

---------

Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
Content.YAMLLinter/Program.cs
Resources/Prototypes/Hydroponics/seeds.yml
Resources/Prototypes/Reagents/toxins.yml