mirror of
https://github.com/Minecraft-Community-Edition/client.git
synced 2026-05-28 03:54:42 +00:00
Added World Type to DLC Offers
This commit is contained in:
@@ -57,7 +57,7 @@ UIScene_DLCMainMenu::UIScene_DLCMainMenu(int iPad, void *initData, UILayer *pare
|
||||
m_buttonListOffers.addItem(app.GetString(IDS_DLC_MENU_SKINPACKS), e_DLC_SkinPack);
|
||||
m_buttonListOffers.addItem(app.GetString(IDS_DLC_MENU_TEXTUREPACKS), e_DLC_TexturePacks);
|
||||
m_buttonListOffers.addItem(app.GetString(IDS_DLC_MENU_MASHUPPACKS), e_DLC_MashupPacks);
|
||||
m_buttonListOffers.addItem(app.GetString(IDS_DLC_MENU_WORLDS), e_DLC_Worlds);
|
||||
m_buttonListOffers.addItem("Worlds", e_DLC_Worlds);
|
||||
app.AddDLCRequest(e_Marketplace_Content);
|
||||
app.StartInstallDLCProcess(iPad);
|
||||
|
||||
@@ -74,6 +74,7 @@ UIScene_DLCMainMenu::UIScene_DLCMainMenu(int iPad, void *initData, UILayer *pare
|
||||
if (wcscmp(offer.wszType, L"SkinPack") == 0) eType = e_DLC_SkinPack;
|
||||
else if (wcscmp(offer.wszType, L"TexturePack") == 0) eType = e_DLC_TexturePacks;
|
||||
else if (wcscmp(offer.wszType, L"MashUp") == 0) eType = e_DLC_MashupPacks;
|
||||
else if (wcscmp(offer.wszType, L"World") == 0) eType = e_DLC_Worlds;
|
||||
|
||||
CMinecraftApp::RegisterW64DLC(
|
||||
eType,
|
||||
|
||||
Reference in New Issue
Block a user