1234567891011121314151617181920212223242526 |
-
- using XGame.Database;
- namespace FL.Data.Items
- {
- public class PartnerItemBase : IItemBase
- {
- private PartnerTable _table;
- //private ItemTable _itemTable;
- private PartnerAttributes _attributes;
- public int TableId => _table.Id;
- public EQualityLevel Quality => _table.Quality;
- public string Icon => _table.SkillIcon;
- public int Level => _attributes.Level;
- public void Init(int id)
- {
- _table = PartnerTableRepo.Get(id);
- //_itemTable = ItemTableRepo.Get(id);
- _attributes = PartnersData.Instance.GetPartnerAttrByTableId(id);
- }
- }
- }
|