/// <summary> /// 构造函数 /// </summary> /// <param name="spellItemModel">Spell item model.</param> /// <param name="itemCount">Item count.</param> public SpellItem(SpellItemModel spellItemModel, int itemCount) { InitBaseProperties(spellItemModel); this.itemType = ItemType.SpellItem; this.spellItemType = spellItemModel.spellItemType; this.attachInfo_1 = spellItemModel.attachInfo_1; this.attachInfo_2 = spellItemModel.attachInfo_2; this.spell = spellItemModel.spell; this.phoneticSymbol = spellItemModel.phoneticSymbol; this.pronounciationURL = spellItemModel.pronounciationURL; this.itemCount = itemCount; }
public void SetItemType(SpellItemType i_itemType) { m_type = i_itemType; }