Skip to content

Improve clearvision #473

Improve clearvision

Improve clearvision #473

Triggered via pull request August 11, 2024 19:43
Status Failure
Total duration 3m 31s
Artifacts

codeql.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 10 warnings
analyze: lc-hax/Scripts/Modules/ClearVisionMod.cs#L10
'PlayerControllerB' does not contain a definition for 'IsDead' and no accessible extension method 'IsDead' accepting a first argument of type 'PlayerControllerB' could be found (are you missing a using directive or an assembly reference?)
analyze: lc-hax/Scripts/Modules/ClearVisionMod.cs#L52
'GameObject' does not contain a definition for 'GetOrAddComponent' and no accessible extension method 'GetOrAddComponent' accepting a first argument of type 'GameObject' could be found (are you missing a using directive or an assembly reference?)
analyze: lc-hax/Scripts/Modules/ClearVisionMod.cs#L58
'Light' does not contain a definition for 'GetOrAddComponent' and no accessible extension method 'GetOrAddComponent' accepting a first argument of type 'Light' could be found (are you missing a using directive or an assembly reference?)
analyze: lc-hax/Scripts/Modules/ClearVisionMod.cs#L10
'PlayerControllerB' does not contain a definition for 'IsDead' and no accessible extension method 'IsDead' accepting a first argument of type 'PlayerControllerB' could be found (are you missing a using directive or an assembly reference?)
analyze: lc-hax/Scripts/Modules/ClearVisionMod.cs#L52
'GameObject' does not contain a definition for 'GetOrAddComponent' and no accessible extension method 'GetOrAddComponent' accepting a first argument of type 'GameObject' could be found (are you missing a using directive or an assembly reference?)
analyze: lc-hax/Scripts/Modules/ClearVisionMod.cs#L58
'Light' does not contain a definition for 'GetOrAddComponent' and no accessible extension method 'GetOrAddComponent' accepting a first argument of type 'Light' could be found (are you missing a using directive or an assembly reference?)
analyze
Process completed with exit code 1.
analyze: lc-hax/Scripts/Modules/ClearVisionMod.cs#L36
Non-nullable property 'SunObject' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
analyze: lc-hax/Scripts/Modules/ClearVisionMod.cs#L37
Non-nullable property 'SunLight' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
analyze: lc-hax/Scripts/Modules/ClearVisionMod.cs#L38
Non-nullable property 'Data' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
analyze: lc-hax/Scripts/Modules/ClearVisionMod.cs#L72
Null check can be clarified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0150)
analyze: lc-hax/Scripts/Modules/ClearVisionMod.cs#L73
Null check can be clarified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0150)
analyze: lc-hax/Scripts/Modules/ClearVisionMod.cs#L74
Null check can be clarified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0150)
analyze: lc-hax/Scripts/Modules/ClearVisionMod.cs#L36
Non-nullable property 'SunObject' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
analyze: lc-hax/Scripts/Modules/ClearVisionMod.cs#L37
Non-nullable property 'SunLight' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
analyze: lc-hax/Scripts/Modules/ClearVisionMod.cs#L38
Non-nullable property 'Data' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
analyze: lc-hax/Scripts/Modules/ClearVisionMod.cs#L72
Null check can be clarified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0150)