Florian Morel 1 anno fa
parent
commit
c8ffb4a2e4
31 ha cambiato i file con 8902 aggiunte e 21 eliminazioni
  1. 13 8
      .gitignore
  2. BIN
      .vs/slnx.sqlite
  3. 1 1
      Dotnet/DataLayer/DataLayer.csproj
  4. 1619 0
      Dotnet/DataLayer/bin/Release/net9.0/DataLayer.deps.json
  5. BIN
      Dotnet/DataLayer/bin/Release/net9.0/DataLayer.dll
  6. BIN
      Dotnet/DataLayer/bin/Release/net9.0/DataLayer.pdb
  7. 14 0
      Dotnet/DataLayer/bin/Release/net9.0/DataLayer.runtimeconfig.json
  8. BIN
      Dotnet/DataLayer/bin/Release/net9.0/Domain.dll
  9. BIN
      Dotnet/DataLayer/bin/Release/net9.0/Domain.pdb
  10. BIN
      Dotnet/DataLayer/bin/Release/net9.0/Infrastructure.dll
  11. BIN
      Dotnet/DataLayer/bin/Release/net9.0/Infrastructure.pdb
  12. 1923 0
      Dotnet/DataLayer/bin/Release/net9.0/XML/01 - ldb.xml
  13. 1228 0
      Dotnet/DataLayer/bin/Release/net9.0/XML/02 - traité inquisitorial.xml
  14. 89 0
      Dotnet/DataLayer/bin/Release/net9.0/XML/03 - disciples des dieux sombres.xml
  15. 63 0
      Dotnet/DataLayer/bin/Release/net9.0/XML/04 - créatures et anathèmes.xml
  16. 432 0
      Dotnet/DataLayer/bin/Release/net9.0/XML/05 - inquisiteurs et radicaux.xml
  17. 1832 0
      Dotnet/DataLayer/bin/Release/net9.0/XML/06 - ascension.xml
  18. 797 0
      Dotnet/DataLayer/bin/Release/net9.0/XML/07 - le sang des martyrs.xml
  19. 434 0
      Dotnet/DataLayer/bin/Release/net9.0/XML/08 - chasseur de démons.xml
  20. 343 0
      Dotnet/DataLayer/bin/Release/net9.0/XML/09 - book of judgement.xml
  21. 10 0
      Dotnet/DataLayer/bin/Release/net9.0/XML/50 - perso.xml
  22. 27 0
      Dotnet/DataLayer/bin/Release/net9.0/XML/contrib - agent inquisitorial.xml
  23. 45 0
      Dotnet/DataLayer/bin/Release/net9.0/XML/contrib - agrimonde.xml
  24. 11 0
      Dotnet/DataLayer/bin/Release/net9.0/XMLTEST/01 - ldb.xml
  25. 1 1
      Dotnet/Deathwatch/Deathwatch.csproj
  26. 9 6
      Dotnet/Deathwatch/Pages/Weapon/Weapon.razor.cs
  27. 4 1
      Dotnet/Deathwatch/Pages/Weapon/WeaponList.razor.cs
  28. 1 1
      Dotnet/Domain/Domain.csproj
  29. 1 1
      Dotnet/Infrastructure/Infrastructure.csproj
  30. 1 1
      Dotnet/Services/Services.csproj
  31. 4 1
      Dotnet/Warhammer/Warhammer.csproj

+ 13 - 8
.gitignore

@@ -2,9 +2,8 @@ dice_roller.pyc
 .vscode
 .DS_Store
 __pycache__
-/Dotnet/Warhammer/bin/Debug/netcoreapp3.1
-/Dotnet/Warhammer/obj/Debug/netcoreapp3.1
-/Dotnet/Warhammer/obj/Release/netcoreapp3.1
+/Dotnet/Warhammer/bin/Debug/
+/Dotnet/Warhammer/obj/Debug/
 /Dotnet/Warhammer/obj
 /Dotnet/Warhammer/wwwroot
 /Dotnet/.vs/Warhammer
@@ -19,12 +18,11 @@ __pycache__
 /Dotnet/Services/obj
 /Dotnet/Warhammer/bin/Debug/net6.0
 /Dotnet/.vs/ProjectEvaluation
-/Dotnet/DeathwatchConsoleApp/bin/Debug/net6.0
-/Dotnet/DeathwatchConsoleApp/obj/Debug/net6.0
+/Dotnet/DeathwatchConsoleApp/bin
 /Dotnet/DeathwatchConsoleApp/obj
-/Dotnet/WebAssemblyFront/Client/bin/Debug/net6.0
-/Dotnet/WebAssemblyFront/Client/obj/Debug/net6.0
-/Dotnet/WebAssemblyFront/Client/obj
+/Dotnet/DeathwatchConsoleApp/obj
+/Dotnet/WebAssemblyFront/Client/bin/
+/Dotnet/WebAssemblyFront/Client/obj/
 /Dotnet/WebAssemblyFront/Server/bin/Debug/net6.0
 /Dotnet/WebAssemblyFront/Server/obj
 /Dotnet/WebAssemblyFront/Shared/obj
@@ -46,3 +44,10 @@ __pycache__
 /Dotnet/Deathwatch/Properties/PublishProfiles
 /Dotnet/Deathwatch/Properties/ServiceDependencies/Deathwatch - Web Deploy
 /Dotnet/Deathwatch/.config
+/Dotnet/DataLayer/bin/Debug/net9.0
+/Dotnet/Deathwatch/bin/Debug/net9.0
+/Dotnet/Deathwatch/bin/Release/net9.0
+/Dotnet/Domain/bin
+/Dotnet/Infrastructure/bin
+/Dotnet/Services/bin/Debug/net9.0
+/Dotnet/Services/bin/Release/net9.0

BIN
.vs/slnx.sqlite


+ 1 - 1
Dotnet/DataLayer/DataLayer.csproj

@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
 
   <PropertyGroup>
-    <TargetFramework>net8.0</TargetFramework>
+    <TargetFramework>net9.0</TargetFramework>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
   </PropertyGroup>

File diff suppressed because it is too large
+ 1619 - 0
Dotnet/DataLayer/bin/Release/net9.0/DataLayer.deps.json


BIN
Dotnet/DataLayer/bin/Release/net9.0/DataLayer.dll


BIN
Dotnet/DataLayer/bin/Release/net9.0/DataLayer.pdb


+ 14 - 0
Dotnet/DataLayer/bin/Release/net9.0/DataLayer.runtimeconfig.json

@@ -0,0 +1,14 @@
+{
+  "runtimeOptions": {
+    "tfm": "net9.0",
+    "framework": {
+      "name": "Microsoft.NETCore.App",
+      "version": "9.0.0"
+    },
+    "configProperties": {
+      "System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
+      "System.Reflection.NullabilityInfoContext.IsSupported": true,
+      "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
+    }
+  }
+}

BIN
Dotnet/DataLayer/bin/Release/net9.0/Domain.dll


BIN
Dotnet/DataLayer/bin/Release/net9.0/Domain.pdb


BIN
Dotnet/DataLayer/bin/Release/net9.0/Infrastructure.dll


BIN
Dotnet/DataLayer/bin/Release/net9.0/Infrastructure.pdb


File diff suppressed because it is too large
+ 1923 - 0
Dotnet/DataLayer/bin/Release/net9.0/XML/01 - ldb.xml


File diff suppressed because it is too large
+ 1228 - 0
Dotnet/DataLayer/bin/Release/net9.0/XML/02 - traité inquisitorial.xml


File diff suppressed because it is too large
+ 89 - 0
Dotnet/DataLayer/bin/Release/net9.0/XML/03 - disciples des dieux sombres.xml


File diff suppressed because it is too large
+ 63 - 0
Dotnet/DataLayer/bin/Release/net9.0/XML/04 - créatures et anathèmes.xml


File diff suppressed because it is too large
+ 432 - 0
Dotnet/DataLayer/bin/Release/net9.0/XML/05 - inquisiteurs et radicaux.xml


File diff suppressed because it is too large
+ 1832 - 0
Dotnet/DataLayer/bin/Release/net9.0/XML/06 - ascension.xml


File diff suppressed because it is too large
+ 797 - 0
Dotnet/DataLayer/bin/Release/net9.0/XML/07 - le sang des martyrs.xml


File diff suppressed because it is too large
+ 434 - 0
Dotnet/DataLayer/bin/Release/net9.0/XML/08 - chasseur de démons.xml


File diff suppressed because it is too large
+ 343 - 0
Dotnet/DataLayer/bin/Release/net9.0/XML/09 - book of judgement.xml


+ 10 - 0
Dotnet/DataLayer/bin/Release/net9.0/XML/50 - perso.xml

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<root>
+  <extensions>
+    <extension id="dh50" nom="perso" auteur="perso" />
+  </extensions>
+  
+
+
+  </root>

+ 27 - 0
Dotnet/DataLayer/bin/Release/net9.0/XML/contrib - agent inquisitorial.xml

@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<root>
+  <extensions>
+    <extension id="dhai" nom="agent inquisitorial" auteur="pierrick" contrib="true" />
+  </extensions>
+  
+  <améliorations>
+    <amélioration id="dhai-amel01" catégorie="expérience vécue" souscatégorie="agent inquisitorial" promotion="1" type="comp" nom="codes secrets (acolyte)" cout="100" nb_max_ou_rang="1" />
+    <amélioration id="dhai-amel02" catégorie="expérience vécue" souscatégorie="agent inquisitorial" promotion="1" type="comp" nom="connaissances interdites (hérésie)" cout="100" nb_max_ou_rang="1" />
+    <amélioration id="dhai-amel03" catégorie="expérience vécue" souscatégorie="agent inquisitorial" promotion="1" type="comp" nom="connaissances interdites (inquisition)" cout="100" nb_max_ou_rang="1" />
+    <amélioration id="dhai-amel04" catégorie="expérience vécue" souscatégorie="agent inquisitorial" promotion="1" type="comp" nom="connaissances interdites (psykers)" cout="100" nb_max_ou_rang="1" />
+    <amélioration id="dhai-amel05" catégorie="expérience vécue" souscatégorie="agent inquisitorial" promotion="1" type="comp" nom="connaissances interdites (xenos)" cout="100" nb_max_ou_rang="1" />
+    <amélioration id="dhai-amel06" catégorie="expérience vécue" souscatégorie="agent inquisitorial" promotion="1" type="comp" nom="enquête" cout="100" nb_max_ou_rang="1" />
+    <amélioration id="dhai-amel07" catégorie="expérience vécue" souscatégorie="agent inquisitorial" promotion="1" type="comp" nom="langage secret (acolytes)" cout="100" nb_max_ou_rang="1" />
+    <amélioration id="dhai-amel08" catégorie="expérience vécue" souscatégorie="agent inquisitorial" promotion="1" type="comp" nom="psychologie" cout="100" nb_max_ou_rang="1" />
+    <amélioration id="dhai-amel09" catégorie="expérience vécue" souscatégorie="agent inquisitorial" promotion="1" type="comp" nom="vigilance" cout="100" nb_max_ou_rang="1" />
+    <amélioration id="dhai-amel10" catégorie="expérience vécue" souscatégorie="agent inquisitorial" promotion="1" type="comp" nom="alphabétisation" cout="200" nb_max_ou_rang="1" />
+    <amélioration id="dhai-amel11" catégorie="expérience vécue" souscatégorie="agent inquisitorial" promotion="1" type="talent" nom="haine (au choix)" cout="200" nb_max_ou_rang="1" />
+    <amélioration id="dhai-amel12" catégorie="expérience vécue" souscatégorie="agent inquisitorial" promotion="1" type="talent" nom="talentueux (au choix)" cout="200" nb_max_ou_rang="1" />
+  </améliorations>
+
+  <xp_vécues>
+    <xp_vécue id="dhai-xpvécue01" nom="agent inquisitorial" condition="-" effet="-" description="si un nombre considérable de nouvelles recrues disparait tragiquement en accomplissant son devoir, au service d'un inquisiteur, les acolytes survivants deviennent les dépositaires de connaissances et de compétences qui restent hors d'atteinte de la plupart des citoyens impériaux. seul le meneur de jeu peut proposer l'accès à cette expérience vécue." />
+  </xp_vécues>
+    
+  </root>

File diff suppressed because it is too large
+ 45 - 0
Dotnet/DataLayer/bin/Release/net9.0/XML/contrib - agrimonde.xml


+ 11 - 0
Dotnet/DataLayer/bin/Release/net9.0/XMLTEST/01 - ldb.xml

@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<root>
+  <extensions>
+    <extension id="dh01" nom="livre de base"/>
+  </extensions>
+  <améliorations>
+    <amélioration id="01-amel2431" catégorie="technoprêtre" souscatégorie="magos explorator" promotion="8" type="compétence" nom="expression artistique (musicien)" cout="300" nb_max_ou_rang="1" />
+    <amélioration id="01-amel2432" catégorie="technoprêtre" souscatégorie="magos explorator" promotion="8" type="compétence" nom="marchandage" cout="300" nb_max_ou_rang="2" />
+  </améliorations>
+</root>

+ 1 - 1
Dotnet/Deathwatch/Deathwatch.csproj

@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk.Web">
 
   <PropertyGroup>
-    <TargetFramework>net8.0</TargetFramework>
+    <TargetFramework>net9.0</TargetFramework>
     <Nullable>enable</Nullable>
     <ImplicitUsings>enable</ImplicitUsings>
     <UserSecretsId>3d27d4ae-e623-43b1-a332-1d451621f1b4</UserSecretsId>

+ 9 - 6
Dotnet/Deathwatch/Pages/Weapon/Weapon.razor.cs

@@ -9,17 +9,20 @@ namespace Deathwatch.Pages.Weapon
         public Arme Arme { get; set; }
         public bool ShowDetails { get; set; }
 
-        private void OnStateChanged() => InvokeAsync(StateHasChanged);
-
         public Weapon()
         {
 
         }
 
-        public Weapon(Arme arme)
-        {
-            Arme = arme;
-        }
+        //public override Task SetParametersAsync(ParameterView parameters)
+        //{
+        //    return base.SetParametersAsync(parameters);
+        //}
+
+        //public Weapon(Arme arme)
+        //{
+        //    Arme = arme;
+        //}
 
         public void ToggleDescription()
         {

+ 4 - 1
Dotnet/Deathwatch/Pages/Weapon/WeaponList.razor.cs

@@ -16,7 +16,10 @@ namespace Deathwatch.Pages.Weapon
         protected override async Task OnInitializedAsync()
         {
             var armes = (await WeaponRepository?.GetAll()).OrderBy(a => a.Nom).ToList();
-            armes.ForEach(a => Weapons.Add(new Weapon(a)));
+            armes.ForEach(a => Weapons.Add(new Weapon
+            {
+                Arme = a
+            }));
             SelectedWeapon = Weapons.FirstOrDefault();
         }
 

+ 1 - 1
Dotnet/Domain/Domain.csproj

@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
 
   <PropertyGroup>
-    <TargetFramework>net8.0</TargetFramework>
+    <TargetFramework>net9.0</TargetFramework>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
   </PropertyGroup>

+ 1 - 1
Dotnet/Infrastructure/Infrastructure.csproj

@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
 
   <PropertyGroup>
-    <TargetFramework>net8.0</TargetFramework>
+    <TargetFramework>net9.0</TargetFramework>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
   </PropertyGroup>

+ 1 - 1
Dotnet/Services/Services.csproj

@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
 
   <PropertyGroup>
-    <TargetFramework>net8.0</TargetFramework>
+    <TargetFramework>net9.0</TargetFramework>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>
   </PropertyGroup>

+ 4 - 1
Dotnet/Warhammer/Warhammer.csproj

@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk.Web">
 
   <PropertyGroup>
-    <TargetFramework>net8.0</TargetFramework>
+    <TargetFramework>net9.0</TargetFramework>
     <CopyRefAssembliesToPublishDirectory>false</CopyRefAssembliesToPublishDirectory>
     <StartupObject>Warhammer.Program</StartupObject>
   </PropertyGroup>
@@ -26,7 +26,10 @@
   </ItemGroup>
 
   <ItemGroup>
+    <PackageReference Include="MessagePack" Version="2.5.187" />
     <PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="6.0.11" />
+    <PackageReference Include="NuGet.Common" Version="6.12.1" />
+    <PackageReference Include="NuGet.Packaging" Version="6.12.1" />
     <PackageReference Include="Swashbuckle.AspNetCore" Version="6.3.0" />
   </ItemGroup>