/// <summary> /// Creates a HeadCatalogBrowser. Only used by the /// CAS (Create A Sim) screen. /// </summary> /// <param name="X">The X-coordinate of the HeadCatalogBrowser.</param> /// <param name="Y">The Y-coordinate of the HeadCatalogBrowser.</param> /// <param name="strID">The string ID of the HeadCatalogBrowser.</param> /// <returns>A new UICollectionViewer instance.</returns> public UICollectionViewer CreateHeadCatalogBrowser(int X, int Y, string strID) { //0x100000010 ./avatardata/heads/collections/ea_male_heads.col //0x200000010 ./avatardata/heads/collections/ea_female_heads.col UICollectionViewer viewer = new UICollectionViewer(X, Y, 39, 44, 6, 8, 33, 33, 2, 2, 3, 7, 0x100000010, 0x200000010, this, strID, m_ScreenMgr); m_UIElements.Add(viewer); return viewer; }
/// <summary> /// Creates a HeadCatalogBrowser. Only used by the /// CAS (Create A Sim) screen. /// </summary> /// <param name="X">The X-coordinate of the HeadCatalogBrowser.</param> /// <param name="Y">The Y-coordinate of the HeadCatalogBrowser.</param> /// <param name="strID">The string ID of the HeadCatalogBrowser.</param> /// <returns>A new UICollectionViewer instance.</returns> public UICollectionViewer CreateHeadCatalogBrowser(float X, float Y, string strID) { try { UICollectionViewer viewer = new UICollectionViewer(X, Y, 39, 44, 6, 8, 33, 33, 2, 2, 3, 7, (ulong)FileIDs.CollectionsFileIDs.ea_male_heads, (ulong)FileIDs.CollectionsFileIDs.ea_female_heads, this, strID, m_ScreenMgr); m_UIElements.Add(viewer); return viewer; } catch (Exception e) { Log.LogThis("Exception in UIScreen.CreateHeadCatalogBrowser!", eloglevel.error); return null; } }