Skip to content

feat: ✨ finish UI and basic front-end logic #71

feat: ✨ finish UI and basic front-end logic

feat: ✨ finish UI and basic front-end logic #71

Triggered via pull request October 28, 2023 15:46
@Grange007Grange007
synchronize #15
dev
Status Failure
Total duration 13m 1s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 10 warnings
dotnet-build: logic/Server/Program.cs#L23
A namespace cannot directly contain members such as fields, methods or statements
dotnet-build: logic/Server/Program.cs#L23
A namespace cannot directly contain members such as fields, methods or statements
dotnet-build
Process completed with exit code 1.
dotnet-build: logic/GameClass/GameObj/Team.cs#L116
Non-nullable field 'birthPointList' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
dotnet-build: logic/GameClass/GameObj/Team.cs#L116
Non-nullable field 'home' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
dotnet-build: logic/GameClass/GameObj/Ship.cs#L171
Non-nullable property 'Armor' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
dotnet-build: logic/GameClass/GameObj/Ship.cs#L171
Non-nullable property 'Shield' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
dotnet-build: logic/GameClass/GameObj/Ship.cs#L171
Non-nullable property 'BulletNum' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
dotnet-build: logic/GameClass/GameObj/Team.cs#L16
Field 'Team.birthPointList' is never assigned to, and will always have its default value null
dotnet-build: logic/Client/MainPage.xaml.cs#L588
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
dotnet-build: logic/Client/MainPage.xaml.cs#L374
The variable 'ex' is declared but never used
dotnet-build: logic/Client/GameStatusBar.xaml.cs#L7
Field 'GameStatusBar.lengthOfHp1Slide' is never assigned to, and will always have its default value 0
dotnet-build: logic/Client/MainPage.xaml.cs#L588
Field 'MainPage.responseStream' is never assigned to, and will always have its default value null