Baptiste BAVEREL 2 years ago
parent ef8f42333f
commit 097990eb62

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -8,7 +8,7 @@
@for(int i = 0; i<40; i++) @for(int i = 0; i<40; i++)
{ {
<InventoryItem Item="InventoryItems[i]" nbElem="InventoryNbElems[i]" Index="i" NoDrop="false"/> <InventoryItem Index="i" NoDrop="false"/>
} }
</div> </div>

@ -1,6 +1,11 @@
using Microsoft.AspNetCore.Components; using BlazorApp1.Modals;
using BlazorApp1.Sevices; using BlazorApp1.Sevices;
using Blazored.LocalStorage;
using Blazored.Modal;
using Blazored.Modal.Services;
using Blazorise.DataGrid;
using Microsoft.AspNetCore.Components;
using Microsoft.Extensions.Localization;
namespace BlazorApp1.Components namespace BlazorApp1.Components
{ {
@ -13,21 +18,78 @@ namespace BlazorApp1.Components
public ItemDisplay CurrentEllement { get; set; } public ItemDisplay CurrentEllement { get; set; }
public List<Item> InventoryItems { get; set; } = new List<Item>() { null, null, null, null, null, null, null, null, null, null, [Inject]
public ILocalStorageService LocalStorage { get; set; }
public List<String> InventoryItems { get; set; } = new List<String>() { null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null null, null, null, null, null, null, null, null, null, null
}; };
public List<int> InventoryNbElems { get; set; } = new List<int>() { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, public List<int> InventoryNbElems { get; set; } = new List<int>() { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
}; };
public int CurrenttmpNbElem { get; set; } public int CurrenttmpNbElem { get; set; }
public void StateChange() public void StateChange()
{ {
StateHasChanged(); StateHasChanged();
LocalStorage.SetItemAsync("dataInv", InventoryItems);
LocalStorage.SetItemAsync("dataNbInv", InventoryNbElems);
}
protected override async Task OnInitializedAsync()
{
try
{
var currentNumberData = await LocalStorage.GetItemAsync<List<int>>("dataNbInv");
var currentData = await LocalStorage.GetItemAsync<List<String>>("dataInv");
if (currentData != null)
{
InventoryItems = await LocalStorage.GetItemAsync<List<String>>("dataInv");
}
if (currentNumberData != null )
{
InventoryNbElems = await LocalStorage.GetItemAsync<List<int>>("dataNbInv");
}
}
catch (Exception)
{
throw;
}
StateHasChanged();
}
public Item getItem(String name)
{
int indice = 0;
foreach (Item i in Items)
{
if (i.Name == name)
{
return Items[indice];
}
indice++;
}
return null;
}
public String getNameCurrentItem()
{
if (CurrentDragItem != null) {
return CurrentDragItem.Name;
}
return null;
} }
} }
} }

@ -11,8 +11,8 @@
{ {
var s = "/"; var s = "/";
//<img src="data:image/png;base64, @(Item.ImageBase64)" class="img-thumbnail" title="@Item.DisplayName" alt="@Item.DisplayName"/> //<img src="data:image/png;base64, @(Item.ImageBase64)" class="img-thumbnail" title="@Item.DisplayName" alt="@Item.DisplayName"/>
@Parent.InventoryNbElems[this.Index] @s @Parent.InventoryItems[this.Index].StackSize<br/> @Parent.InventoryNbElems[this.Index] @s @Parent.getItem(Parent.InventoryItems[this.Index]).StackSize<br/>
@Parent.InventoryItems[this.Index].DisplayName @Parent.InventoryItems[this.Index]
} }
</div> </div>

@ -7,22 +7,16 @@ namespace BlazorApp1.Components
[Parameter] [Parameter]
public int Index { get; set; } public int Index { get; set; }
[Parameter]
public Item Item { get; set; }
[Parameter] [Parameter]
public bool NoDrop { get; set; } public bool NoDrop { get; set; }
[Parameter]
public int nbElem { get; set; }
[CascadingParameter] [CascadingParameter]
public Inventory Parent { get; set; } public Inventory Parent { get; set; }
public void setItem(Item item) public void setItem(Item item)
{ {
Parent.InventoryItems[this.Index] = item; Parent.InventoryItems[this.Index] = item.Name;
} }
public void setNbElement(int nbElement) public void setNbElement(int nbElement)
@ -35,7 +29,7 @@ namespace BlazorApp1.Components
StateHasChanged(); StateHasChanged();
} }
public Item getItem() public String getItem()
{ {
return Parent.InventoryItems[this.Index]; return Parent.InventoryItems[this.Index];
} }
@ -76,23 +70,25 @@ namespace BlazorApp1.Components
if (this.Index == Parent.CurrentEllement.getIndex()) if (this.Index == Parent.CurrentEllement.getIndex())
{ {
Parent.InventoryItems[this.Index] = Parent.CurrentDragItem; Parent.InventoryItems[this.Index] = Parent.getNameCurrentItem();
Parent.InventoryNbElems[this.Index] = Parent.CurrenttmpNbElem; Parent.InventoryNbElems[this.Index] = Parent.CurrenttmpNbElem;
} }
else if (Parent.InventoryItems[this.Index] is not null) else if (Parent.InventoryItems[this.Index] is not null)
{ {
if (Parent.InventoryItems[this.Index].Equals(Parent.CurrentDragItem)) if (Parent.InventoryItems[this.Index].Equals(Parent.getNameCurrentItem()))
{ {
if (Parent.InventoryNbElems[this.Index] < Parent.InventoryItems[this.Index].StackSize && Parent.CurrentEllement.getTypeID() == "ListItem") int StackSize = Parent.getItem(Parent.InventoryItems[this.Index]).StackSize;
if (Parent.InventoryNbElems[this.Index] < StackSize && Parent.CurrentEllement.getTypeID() == "ListItem")
{ {
Parent.InventoryNbElems[this.Index]++; Parent.InventoryNbElems[this.Index]++;
} }
else if (Parent.InventoryNbElems[this.Index] + Parent.CurrenttmpNbElem > Parent.InventoryItems[this.Index].StackSize && Parent.CurrentEllement.getTypeID() == "InventoryItem") else if (Parent.InventoryNbElems[this.Index] + Parent.CurrenttmpNbElem > StackSize && Parent.CurrentEllement.getTypeID() == "InventoryItem")
{ {
int tmp = Parent.InventoryNbElems[this.Index] + Parent.CurrenttmpNbElem; int tmp = Parent.InventoryNbElems[this.Index] + Parent.CurrenttmpNbElem;
Parent.InventoryNbElems[this.Index] = Parent.InventoryItems[this.Index].StackSize; Parent.InventoryNbElems[this.Index] = StackSize;
Parent.InventoryItems[Parent.CurrentEllement.getIndex()] = Parent.CurrentDragItem; Parent.InventoryItems[Parent.CurrentEllement.getIndex()] = Parent.getNameCurrentItem();
Parent.InventoryNbElems[Parent.CurrentEllement.getIndex()] =tmp - Parent.InventoryItems[this.Index].StackSize; Parent.InventoryNbElems[Parent.CurrentEllement.getIndex()] =tmp - StackSize;
} }
else if (Parent.CurrentEllement.getTypeID() == "InventoryItem") else if (Parent.CurrentEllement.getTypeID() == "InventoryItem")
{ {
@ -105,7 +101,7 @@ namespace BlazorApp1.Components
int indice = -1; int indice = -1;
for (int i = 0; i < 40; i++) for (int i = 0; i < 40; i++)
{ {
if (Parent.InventoryItems[this.Index].Equals(Parent.InventoryItems[i]) && Parent.InventoryNbElems[i] < Parent.InventoryItems[i].StackSize) { if (Parent.InventoryItems[this.Index].Equals(Parent.InventoryItems[i]) && Parent.InventoryNbElems[i] < Parent.getItem(Parent.InventoryItems[i]).StackSize) {
Parent.InventoryNbElems[i]++; Parent.InventoryNbElems[i]++;
indice = -1; indice = -1;
break; break;
@ -130,18 +126,18 @@ namespace BlazorApp1.Components
Parent.InventoryNbElems[this.Index] = Parent.CurrenttmpNbElem; Parent.InventoryNbElems[this.Index] = Parent.CurrenttmpNbElem;
Parent.InventoryNbElems[Parent.CurrentEllement.getIndex()] = tmp; Parent.InventoryNbElems[Parent.CurrentEllement.getIndex()] = tmp;
Item tmpI = Parent.InventoryItems[this.Index]; String tmpI = Parent.InventoryItems[this.Index];
Parent.InventoryItems[this.Index] = Parent.CurrentDragItem; Parent.InventoryItems[this.Index] = Parent.getNameCurrentItem();
Parent.InventoryItems[Parent.CurrentEllement.getIndex()]=tmpI; Parent.InventoryItems[Parent.CurrentEllement.getIndex()]=tmpI;
} }
} }
} }
else else
{ {
Item tmp = Parent.InventoryItems[this.Index]; String tmp = Parent.InventoryItems[this.Index];
int tmpNb = Parent.InventoryNbElems[this.Index]; int tmpNb = Parent.InventoryNbElems[this.Index];
Parent.InventoryItems[this.Index] = Parent.CurrentDragItem; Parent.InventoryItems[this.Index] = Parent.getNameCurrentItem();
Parent.InventoryNbElems[this.Index] = Parent.CurrenttmpNbElem; Parent.InventoryNbElems[this.Index] = Parent.CurrenttmpNbElem;
if (Parent.CurrentEllement.getTypeID() == "InventoryItem") if (Parent.CurrentEllement.getTypeID() == "InventoryItem")
@ -162,7 +158,7 @@ namespace BlazorApp1.Components
private void OnDragStart() private void OnDragStart()
{ {
Parent.CurrentDragItem = Parent.InventoryItems[this.Index]; Parent.CurrentDragItem = Parent.getItem(Parent.InventoryItems[this.Index]);
Parent.CurrentEllement = this; Parent.CurrentEllement = this;
Parent.CurrenttmpNbElem = Parent.InventoryNbElems[this.Index]; Parent.CurrenttmpNbElem = Parent.InventoryNbElems[this.Index];

@ -4,7 +4,7 @@
{ {
String getTypeID(); String getTypeID();
Item getItem(); String getItem();
int getNbElement(); int getNbElement();

@ -25,9 +25,9 @@ namespace BlazorApp1.Components
StateHasChanged(); StateHasChanged();
} }
public Item getItem() public String getItem()
{ {
return Item; return Item.Name;
} }
public int getNbElement() public int getNbElement()

File diff suppressed because one or more lines are too long

@ -1,58 +1,3 @@
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\appsettings.Development.json
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\appsettings.json
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\BlazorApp1.staticwebassets.runtime.json
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\BlazorApp1.exe
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\BlazorApp1.deps.json
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\BlazorApp1.runtimeconfig.json
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\BlazorApp1.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\BlazorApp1.pdb
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.csproj.AssemblyReference.cache
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.AssemblyInfoInputs.cache
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.AssemblyInfo.cs
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.csproj.CoreCompileInputs.cache
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.MvcApplicationPartsAssemblyInfo.cache
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.RazorAssemblyInfo.cache
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.RazorAssemblyInfo.cs
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\staticwebassets.build.json
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\staticwebassets.development.json
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\scopedcss\Shared\MainLayout.razor.rz.scp.css
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\scopedcss\Shared\NavMenu.razor.rz.scp.css
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\scopedcss\bundle\BlazorApp1.styles.css
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\scopedcss\projectbundle\BlazorApp1.bundle.scp.css
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\refint\BlazorApp1.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.pdb
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.genruntimeconfig.cache
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\ref\BlazorApp1.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\Blazorise.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\Blazorise.Bootstrap.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\Blazorise.DataGrid.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\Blazorise.Icons.FontAwesome.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.AspNetCore.Authorization.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.AspNetCore.Components.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.AspNetCore.Components.Forms.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.AspNetCore.Components.Web.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.AspNetCore.Metadata.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.Extensions.Logging.Abstractions.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.JSInterop.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\System.IO.Pipelines.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.csproj.CopyComplete
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\Blazored.LocalStorage.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\Blazored.Modal.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.JSInterop.WebAssembly.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.Extensions.Localization.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.Extensions.Localization.Abstractions.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.Extensions.Options.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.Extensions.Primitives.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\bin\Debug\net6.0\fr-FR\BlazorApp1.resources.dll
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.Resources.Pages.List.resources
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.Resources.Pages.List.fr-FR.resources
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.csproj.GenerateResource.cache
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\fr-FR\BlazorApp1.resources.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\scopedcss\Components\Crafting.razor.rz.scp.css
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\scopedcss\Components\CraftingItem.razor.rz.scp.css
C:\Users\babaverel\Source\Repos\Blazor2\BlazorApp1\bin\Debug\net6.0\appsettings.Development.json C:\Users\babaverel\Source\Repos\Blazor2\BlazorApp1\bin\Debug\net6.0\appsettings.Development.json
C:\Users\babaverel\Source\Repos\Blazor2\BlazorApp1\bin\Debug\net6.0\appsettings.json C:\Users\babaverel\Source\Repos\Blazor2\BlazorApp1\bin\Debug\net6.0\appsettings.json
C:\Users\babaverel\Source\Repos\Blazor2\BlazorApp1\bin\Debug\net6.0\BlazorApp1.staticwebassets.runtime.json C:\Users\babaverel\Source\Repos\Blazor2\BlazorApp1\bin\Debug\net6.0\BlazorApp1.staticwebassets.runtime.json
@ -108,6 +53,61 @@ C:\Users\babaverel\Source\Repos\Blazor2\BlazorApp1\obj\Debug\net6.0\refint\Blazo
C:\Users\babaverel\Source\Repos\Blazor2\BlazorApp1\obj\Debug\net6.0\BlazorApp1.pdb C:\Users\babaverel\Source\Repos\Blazor2\BlazorApp1\obj\Debug\net6.0\BlazorApp1.pdb
C:\Users\babaverel\Source\Repos\Blazor2\BlazorApp1\obj\Debug\net6.0\BlazorApp1.genruntimeconfig.cache C:\Users\babaverel\Source\Repos\Blazor2\BlazorApp1\obj\Debug\net6.0\BlazorApp1.genruntimeconfig.cache
C:\Users\babaverel\Source\Repos\Blazor2\BlazorApp1\obj\Debug\net6.0\ref\BlazorApp1.dll C:\Users\babaverel\Source\Repos\Blazor2\BlazorApp1\obj\Debug\net6.0\ref\BlazorApp1.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\scopedcss\Components\InventoryItem.razor.rz.scp.css C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\appsettings.Development.json
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\appsettings.json
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\BlazorApp1.staticwebassets.runtime.json
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\BlazorApp1.exe
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\BlazorApp1.deps.json
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\BlazorApp1.runtimeconfig.json
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\BlazorApp1.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\BlazorApp1.pdb
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\fr-FR\BlazorApp1.resources.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\Blazored.LocalStorage.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\Blazored.Modal.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\Blazorise.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\Blazorise.Bootstrap.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\Blazorise.DataGrid.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\Blazorise.Icons.FontAwesome.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.AspNetCore.Authorization.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.AspNetCore.Components.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.AspNetCore.Components.Forms.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.AspNetCore.Components.Web.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.AspNetCore.Metadata.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.Extensions.Localization.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.Extensions.Localization.Abstractions.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.Extensions.Logging.Abstractions.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.Extensions.Options.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.Extensions.Primitives.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.JSInterop.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\Microsoft.JSInterop.WebAssembly.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\bin\Debug\net6.0\System.IO.Pipelines.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.csproj.AssemblyReference.cache
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.Resources.Pages.List.resources
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.Resources.Pages.List.fr-FR.resources
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.csproj.GenerateResource.cache
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.AssemblyInfoInputs.cache
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.AssemblyInfo.cs
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.csproj.CoreCompileInputs.cache
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.MvcApplicationPartsAssemblyInfo.cache
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.RazorAssemblyInfo.cache
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.RazorAssemblyInfo.cs
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\fr-FR\BlazorApp1.resources.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\staticwebassets.build.json
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\staticwebassets.development.json
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\scopedcss\Components\Crafting.razor.rz.scp.css
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\scopedcss\Components\CraftingItem.razor.rz.scp.css
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\scopedcss\Shared\MainLayout.razor.rz.scp.css
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\scopedcss\Shared\NavMenu.razor.rz.scp.css
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\scopedcss\Components\Inventory.razor.rz.scp.css C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\scopedcss\Components\Inventory.razor.rz.scp.css
C:\Users\babaverel\Source\Repos\Blazor\BlazorApp1\obj\Debug\net6.0\scopedcss\Components\ListItem.razor.rz.scp.css C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\scopedcss\Components\ListItem.razor.rz.scp.css
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\scopedcss\Components\InventoryItem.razor.rz.scp.css
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\scopedcss\bundle\BlazorApp1.styles.css
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\scopedcss\projectbundle\BlazorApp1.bundle.scp.css
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.csproj.CopyComplete
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\refint\BlazorApp1.dll
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.pdb
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\BlazorApp1.genruntimeconfig.cache
C:\Users\babaverel\source\repos\Blazor\BlazorApp1\obj\Debug\net6.0\ref\BlazorApp1.dll

File diff suppressed because one or more lines are too long

@ -1,6 +1,6 @@
{ {
"Version": 1, "Version": 1,
"Hash": "6MjJLovO6/0sYX7wwIGu5OWkWf+Z+U+RnB8Y8kc/nPA=", "Hash": "z2R11RcqvFCoMotCMP68MeJtn5taLhwwHKNPj3qzsLk=",
"Source": "BlazorApp1", "Source": "BlazorApp1",
"BasePath": "_content/BlazorApp1", "BasePath": "_content/BlazorApp1",
"Mode": "Default", "Mode": "Default",
@ -968,6 +968,23 @@
"CopyToPublishDirectory": "PreserveNewest", "CopyToPublishDirectory": "PreserveNewest",
"OriginalItemSpec": "wwwroot\\fake-data.json" "OriginalItemSpec": "wwwroot\\fake-data.json"
}, },
{
"Identity": "C:\\Users\\babaverel\\source\\repos\\Blazor\\BlazorApp1\\wwwroot\\fake-data-inventory.json",
"SourceId": "BlazorApp1",
"SourceType": "Discovered",
"ContentRoot": "C:\\Users\\babaverel\\source\\repos\\Blazor\\BlazorApp1\\wwwroot\\",
"BasePath": "_content/BlazorApp1",
"RelativePath": "fake-data-inventory.json",
"AssetKind": "All",
"AssetMode": "All",
"AssetRole": "Primary",
"RelatedAsset": "",
"AssetTraitName": "",
"AssetTraitValue": "",
"CopyToOutputDirectory": "Never",
"CopyToPublishDirectory": "PreserveNewest",
"OriginalItemSpec": "wwwroot\\fake-data-inventory.json"
},
{ {
"Identity": "C:\\Users\\babaverel\\source\\repos\\Blazor\\BlazorApp1\\wwwroot\\favicon.ico", "Identity": "C:\\Users\\babaverel\\source\\repos\\Blazor\\BlazorApp1\\wwwroot\\favicon.ico",
"SourceId": "BlazorApp1", "SourceId": "BlazorApp1",

File diff suppressed because one or more lines are too long

@ -199,3 +199,32 @@
2.0 2.0
2.0 2.0
2.0 2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0

@ -0,0 +1,77 @@
{
[
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
{
"Id": 4,
"DisplayName": "Cobblestone",
"Name": "cobblestone",
"StackSize": 64,
"MaxDurability": 0,
"EnchantCategories": [],
"RepairWith": [],
"CreatedDate": "0001-01-01T00:00:00",
"UpdatedDate": null,
"ImageBase64": null
},
null,
null,
null,
null,
null,
null,
null,
null,
{
"Id": 4,
"DisplayName": "Cobblestone",
"Name": "cobblestone",
"StackSize": 64,
"MaxDurability": 0,
"EnchantCategories": [],
"RepairWith": [],
"CreatedDate": "0001-01-01T00:00:00",
"UpdatedDate": null,
"ImageBase64": null
},
{
"Id": 4,
"DisplayName": "Cobblestone",
"Name": "cobblestone",
"StackSize": 64,
"MaxDurability": 0,
"EnchantCategories": [],
"RepairWith": [],
"CreatedDate": "0001-01-01T00:00:00",
"UpdatedDate": null,
"ImageBase64": null
}
]
}

@ -1 +1 @@
5c8455510f8981a8236fa4ed734ad1db8aa8035c e35172263aad90d495784aab2a7d87c636b58058

File diff suppressed because one or more lines are too long

@ -11,3 +11,5 @@
2.0 2.0
2.0 2.0
2.0 2.0
2.0
2.0

Loading…
Cancel
Save