feat: add items #wip
This commit is contained in:
19
Client/Domain/Events/ItemCreatedEvent.cs
Normal file
19
Client/Domain/Events/ItemCreatedEvent.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
19
Client/Domain/Events/ItemDeletedEvent.cs
Normal file
19
Client/Domain/Events/ItemDeletedEvent.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user