迁移数据表到 Luban,移除 JsonNet、EnumUtility
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using SepCore.Definition;
|
||||
|
||||
namespace SepCore.Entity
|
||||
{
|
||||
[Serializable]
|
||||
public class PlayerData : TargetableObjectData
|
||||
{
|
||||
private int _maxExp;
|
||||
|
||||
public PlayerData(int entityId, string assetName = "Player") : base(assetName, entityId, CampType.Player)
|
||||
{
|
||||
MaxHealthBase = 100;
|
||||
}
|
||||
|
||||
public PlayerData(int entityId, int typeId) : this(entityId, "Player")
|
||||
{
|
||||
}
|
||||
|
||||
public override int MaxHealthBase { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user