Skip to content

optimize plugin loading (and other optimizations if I find them) #184

optimize plugin loading (and other optimizations if I find them)

optimize plugin loading (and other optimizations if I find them) #184

Triggered via pull request February 4, 2025 02:59
@XtraCubeXtraCube
synchronize #18
optimization
Status Success
Total duration 1m 10s
Artifacts 2

main.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: MiraAPI/Hud/CustomPlayerMenu.cs#L21
Non-nullable field 'PanelPrefab' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: MiraAPI/Hud/CustomPlayerMenu.cs#L31
Non-nullable field 'BackButton' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: MiraAPI/Hud/CustomPlayerMenu.cs#L33
Non-nullable field 'DefaultButtonSelected' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: MiraAPI/Hud/CustomPlayerMenu.cs#L35
Non-nullable field 'potentialVictims' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: MiraAPI/Hud/CustomPlayerMenu.cs#L45
Dereference of a possibly null reference.
build: MiraAPI/GameOptions/OptionTypes/ModdedOption.cs#L106
Non-nullable property 'Data' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: MiraAPI/Patches/Events/HudButtonEventPatches.cs#L17
'AdminButtonClickEvent' is obsolete: 'This class is deprecated. Use PlayerUseEvent instead.'
build: MiraAPI/Patches/Events/HudButtonEventPatches.cs#L26
'SabotageButtonClickEvent' is obsolete: 'This class is deprecated. Use PlayerOpenSabotageEvent instead.'
build: MiraAPI/Patches/Events/HudButtonEventPatches.cs#L35
'UseButtonClickEvent' is obsolete: 'This class is deprecated. Use PlayerUseEvent instead.'
build: MiraAPI/GameOptions/OptionTypes/ModdedEnumOption.cs#L166
Possible null reference argument for parameter 's' in 'byte[] Encoding.GetBytes(string s)'.

Artifacts

Produced during runtime
Name Size
AllOfUs.MiraAPI.nupkg
144 KB
MiraAPI.dll
122 KB