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; } }
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); }
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); }