feat: add items #wip

This commit is contained in:
k0t9i
2023-02-02 16:54:38 +04:00
parent 03423d0c41
commit c35f4e317a
14 changed files with 273 additions and 49 deletions

View File

@@ -0,0 +1,19 @@
using Client.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Client.Domain.Events
{
public class ItemCreatedEvent : EventInterface
{
public readonly BaseItem Item;
public ItemCreatedEvent(BaseItem item)
{
Item = item;
}
}
}

View File

@@ -0,0 +1,19 @@
using Client.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Client.Domain.Events
{
public class ItemDeletedEvent : EventInterface
{
public readonly uint Id;
public ItemDeletedEvent(uint id)
{
Id = id;
}
}
}