using Fantasy;
using NBC;
using Fantasy.Entitas;
namespace NBF.Fishing2
{
public class MapUnitBasic : Entity
{
///
/// 昵称
///
public string NickName;
///
/// 头像
///
public string Head;
///
/// 国家
///
public string Country;
///
/// 等级
///
public int Level;
public void UpdateInfo(MapUnitInfo mapUnitInfo)
{
if (mapUnitInfo.RoleInfo == null) return;
NickName = mapUnitInfo.RoleInfo.NickName;
Head = mapUnitInfo.RoleInfo.Head;
Country = mapUnitInfo.RoleInfo.Country;
Level = mapUnitInfo.RoleInfo.Level;
}
}
}