|
|
|
@ -14,6 +14,7 @@ using Microsoft.AspNetCore.Components.Forms;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using Microsoft.JSInterop;
|
|
|
|
|
using System.Collections.Specialized;
|
|
|
|
|
using Microsoft.AspNetCore.Components.Web;
|
|
|
|
|
|
|
|
|
|
namespace ValblazeProject.Pages
|
|
|
|
|
{
|
|
|
|
@ -49,6 +50,8 @@ namespace ValblazeProject.Pages
|
|
|
|
|
private int totalSizeByPage = 10;
|
|
|
|
|
private bool _trie = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Autre
|
|
|
|
|
public ObservableCollection<CraftingAction> Actions { get; set; }
|
|
|
|
|
|
|
|
|
|
public Item CurrentDragItem { get; set; }
|
|
|
|
@ -65,10 +68,24 @@ namespace ValblazeProject.Pages
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Drag
|
|
|
|
|
internal void OnDragEnter() { }
|
|
|
|
|
internal void OnDragStart() { }
|
|
|
|
|
internal void OnDrop() { }
|
|
|
|
|
internal void OnDragLeave() { }
|
|
|
|
|
private CraftingItem Drag;
|
|
|
|
|
|
|
|
|
|
public void OnDragEnter()
|
|
|
|
|
{
|
|
|
|
|
Drag.OnDragEnter();
|
|
|
|
|
}
|
|
|
|
|
public void OnDragStart()
|
|
|
|
|
{
|
|
|
|
|
Drag.OnDragStart();
|
|
|
|
|
}
|
|
|
|
|
public void OnDrop()
|
|
|
|
|
{
|
|
|
|
|
Drag.OnDrop();
|
|
|
|
|
}
|
|
|
|
|
public void OnDragLeave()
|
|
|
|
|
{
|
|
|
|
|
Drag.OnDragLeave();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/******************* Attribut modifier *******************/
|
|
|
|
|