示例#1
0
        public void SetFacialHair(int id)
        {
            TDCharacterAppearance data = TDCharacterAppearanceTable.GetAppearanceByID(AppearanceSlot.FacialHair, m_AppearanceData.sex, id);

            if (data != null)
            {
                m_FacialHair.SetSkin(m_AppearanceData.sex, (int)data.Appearance);
                m_AppearanceData.basicAppearance.facialHairID = id;
            }
        }
示例#2
0
        public void SetEyebrows(int id)
        {
            TDCharacterAppearance data = TDCharacterAppearanceTable.GetAppearanceByID(AppearanceSlot.EyeBrows, m_AppearanceData.sex, id);

            m_AppearanceData.basicAppearance.eyeBrows = m_Eyebrows.SetSkin(m_AppearanceData.sex, data != null ? (int)data.Appearance : -1);
        }
示例#3
0
        public void SetHead(int id)
        {
            TDCharacterAppearance data = TDCharacterAppearanceTable.GetAppearanceByID(AppearanceSlot.Head, m_AppearanceData.sex, id);

            m_AppearanceData.basicAppearance.headID = m_Head.SetSkin(m_AppearanceData.sex, data != null ? (int)data.Appearance : -1);
        }