feat: create creature interface

This commit is contained in:
k0t9i
2023-01-31 15:14:19 +04:00
parent b8b92b7cf8
commit 31febdd341
16 changed files with 279 additions and 275 deletions

View File

@@ -7,13 +7,13 @@ using System.Threading.Tasks;
namespace Client.Domain.Events
{
public class NpcCreatedEvent : EventInterface
public class CreatureCreatedEvent : EventInterface
{
public readonly NPC NPC;
public readonly CreatureInterface Creature;
public NpcCreatedEvent(NPC npc)
public CreatureCreatedEvent(CreatureInterface creature)
{
NPC = npc;
Creature = creature;
}
}
}

View File

@@ -7,11 +7,11 @@ using System.Threading.Tasks;
namespace Client.Domain.Events
{
public class NpcDeletedEvent : EventInterface
public class CreatureDeletedEvent : EventInterface
{
public readonly uint Id;
public NpcDeletedEvent(uint id)
public CreatureDeletedEvent(uint id)
{
Id = id;
}