public Item Reconstruct() { SmallBOD bod = null; if ( m_DeedType == BODType.Smith ) bod = new SmallSmithBOD( m_AmountCur, m_AmountMax, m_ItemType, m_Number, m_Graphic, m_RequireExceptional, m_Material ); else if ( m_DeedType == BODType.Tailor ) bod = new SmallTailorBOD( m_AmountCur, m_AmountMax, m_ItemType, m_Number, m_Graphic, m_RequireExceptional, m_Material ); // *** else if (m_DeedType == BODType.Hunter) bod = new SmallHuntBOD(m_AmountCur, m_AmountMax, m_ItemType, m_Number, m_Graphic, m_RequireExceptional, (int)m_Material); // *** return bod; }
public Item Reconstruct() { SmallBOD bod = null; if (m_DeedType == BODType.Smith) { bod = new SmallSmithBOD(m_AmountCur, m_AmountMax, m_ItemType, m_Number, m_Graphic, m_RequireExceptional, m_Material, m_Owner); } else if (m_DeedType == BODType.Tailor) { bod = new SmallTailorBOD(m_AmountCur, m_AmountMax, m_ItemType, m_Number, m_Graphic, m_RequireExceptional, m_Material, m_Owner); } // *** else if (m_DeedType == BODType.Hunter) { bod = new SmallHuntBOD(m_AmountCur, m_AmountMax, m_ItemType, m_Number, m_Graphic, m_RequireExceptional, (int)m_Material, m_Owner); } // *** return(bod); }