wip
This commit is contained in:
@@ -7,12 +7,14 @@ public class Entity
|
||||
private static int _idGenerator = 0;
|
||||
public int EntityId { get; private set; }
|
||||
public uint OwnerId { get; private set; }
|
||||
public ushort EntityType { get; private set; }
|
||||
public byte[] State { get; set; }
|
||||
public Dictionary<int, byte[]> Properties { get; set; }
|
||||
|
||||
public Entity(uint ownerId)
|
||||
public Entity(uint ownerId, ushort entityType)
|
||||
{
|
||||
OwnerId = ownerId;
|
||||
EntityType = entityType;
|
||||
EntityId = _idGenerator++;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user