42 lines
1011 B
C#
42 lines
1011 B
C#
using System;
|
|
using ClassicAssist.Data.Hotkeys;
|
|
using ClassicAssist.UI.Misc;
|
|
|
|
namespace ClassicAssist.Data.Organizer
|
|
{
|
|
public class OrganizerEntry : HotkeyEntry
|
|
{
|
|
private bool _complete;
|
|
private ObservableCollectionEx<OrganizerItem> _items = new ObservableCollectionEx<OrganizerItem>();
|
|
private bool _stack = true;
|
|
|
|
public Func<bool> IsRunning;
|
|
|
|
public bool Complete
|
|
{
|
|
get => _complete;
|
|
set => SetProperty( ref _complete, value );
|
|
}
|
|
|
|
public int DestinationContainer { get; set; }
|
|
|
|
public ObservableCollectionEx<OrganizerItem> Items
|
|
{
|
|
get => _items;
|
|
set => SetProperty( ref _items, value );
|
|
}
|
|
|
|
public int SourceContainer { get; set; }
|
|
|
|
public bool Stack
|
|
{
|
|
get => _stack;
|
|
set => SetProperty( ref _stack, value );
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return Name;
|
|
}
|
|
}
|
|
} |