mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-09-25 06:21:14 +00:00
nuke telemetry recording calls
This commit is contained in:
-4
@@ -205,10 +205,6 @@ void IUIScene_StartGame::UpdateCurrentTexturePack(int iSlot) {
|
||||
uint64_t ullOfferID_Full;
|
||||
app.GetDLCFullOfferIDForPackID(ListItem.iData, &ullOfferID_Full);
|
||||
|
||||
TelemetryManager->RecordUpsellPresented(ProfileManager.GetPrimaryPad(),
|
||||
eSet_UpsellID_Texture_DLC,
|
||||
ullOfferID_Full & 0xFFFFFFFF);
|
||||
|
||||
unsigned int uiIDA[3];
|
||||
|
||||
uiIDA[0] = IDS_TEXTUREPACK_FULLVERSION;
|
||||
|
||||
-5
@@ -150,8 +150,6 @@ UIScene_CreateWorldMenu::UIScene_CreateWorldMenu(int iPad, void* initData,
|
||||
CHECKFORAVAILABLETEXTUREPACKS_TIMER_TIME);
|
||||
#endif
|
||||
|
||||
TelemetryManager->RecordMenuShown(m_iPad, eUIScene_CreateWorldMenu, 0);
|
||||
|
||||
// block input if we're waiting for DLC to install, and wipe the saves list.
|
||||
// The end of dlc mounting custom message will fill the list again
|
||||
if (app.StartInstallDLCProcess(m_iPad) == true) {
|
||||
@@ -389,9 +387,6 @@ void UIScene_CreateWorldMenu::StartSharedLaunchFlow() {
|
||||
app.GetDLCFullOfferIDForPackID(m_MoreOptionsParams.dwTexturePack,
|
||||
&ullOfferID_Full);
|
||||
|
||||
TelemetryManager->RecordUpsellPresented(
|
||||
ProfileManager.GetPrimaryPad(), eSet_UpsellID_Texture_DLC,
|
||||
ullOfferID_Full & 0xFFFFFFFF);
|
||||
#endif
|
||||
|
||||
unsigned int uiIDA[2];
|
||||
|
||||
-2
@@ -19,8 +19,6 @@ UIScene_DLCMainMenu::UIScene_DLCMainMenu(int iPad, void* initData,
|
||||
if (m_loadedResolution == eSceneResolution_1080) {
|
||||
m_labelXboxStore.init(L"");
|
||||
}
|
||||
|
||||
TelemetryManager->RecordMenuShown(iPad, eUIScene_DLCMainMenu, 0);
|
||||
}
|
||||
|
||||
UIScene_DLCMainMenu::~UIScene_DLCMainMenu() {
|
||||
|
||||
-1
@@ -27,7 +27,6 @@ UIScene_DLCOffersMenu::UIScene_DLCOffersMenu(int iPad, void* initData,
|
||||
m_buttonListOffers.init(eControl_OffersList);
|
||||
m_labelHTMLSellText.init(L" ");
|
||||
m_labelPriceTag.init(L" ");
|
||||
TelemetryManager->RecordMenuShown(m_iPad, eUIScene_DLCOffersMenu, 0);
|
||||
|
||||
m_bHasPurchased = false;
|
||||
m_bIsSelected = false;
|
||||
|
||||
-2
@@ -145,8 +145,6 @@ void UIScene_JoinMenu::tick() {
|
||||
// Alert the app the we want to be informed of ethernet connections
|
||||
app.SetLiveLinkRequired(true);
|
||||
|
||||
TelemetryManager->RecordMenuShown(m_iPad, eUIScene_JoinMenu, 0);
|
||||
|
||||
addTimer(UPDATE_PLAYERS_TIMER_ID, UPDATE_PLAYERS_TIMER_TIME);
|
||||
}
|
||||
|
||||
|
||||
-11
@@ -189,7 +189,6 @@ UIScene_LoadMenu::UIScene_LoadMenu(int iPad, void* initData,
|
||||
} else {
|
||||
}
|
||||
|
||||
TelemetryManager->RecordMenuShown(m_iPad, eUIScene_LoadMenu, 0);
|
||||
m_iTexturePacksNotInstalled = 0;
|
||||
|
||||
// block input if we're waiting for DLC to install, and wipe the saves list.
|
||||
@@ -547,10 +546,6 @@ void UIScene_LoadMenu::StartSharedLaunchFlow() {
|
||||
uint64_t ullOfferID_Full;
|
||||
app.GetDLCFullOfferIDForPackID(m_MoreOptionsParams.dwTexturePack,
|
||||
&ullOfferID_Full);
|
||||
|
||||
TelemetryManager->RecordUpsellPresented(
|
||||
ProfileManager.GetPrimaryPad(), eSet_UpsellID_Texture_DLC,
|
||||
ullOfferID_Full & 0xFFFFFFFF);
|
||||
#endif
|
||||
|
||||
unsigned int uiIDA[2];
|
||||
@@ -1050,12 +1045,6 @@ void UIScene_LoadMenu::StartGameFromSave(UIScene_LoadMenu* pClass,
|
||||
int32_t saveOrCheckpointId = 0;
|
||||
bool validSave =
|
||||
StorageManager.GetSaveUniqueNumber(&saveOrCheckpointId);
|
||||
TelemetryManager->RecordLevelResume(
|
||||
pClass->m_iPad, eSen_FriendOrMatch_Playing_With_Invited_Friends,
|
||||
eSen_CompeteOrCoop_Coop_and_Competitive,
|
||||
app.GetGameSettings(pClass->m_iPad, eGameSetting_Difficulty),
|
||||
app.GetLocalPlayerCount(), g_NetworkManager.GetOnlinePlayerCount(),
|
||||
saveOrCheckpointId);
|
||||
} else {
|
||||
StorageManager.ResetSaveData();
|
||||
// Make our next save default to the name of the level
|
||||
|
||||
-2
@@ -958,8 +958,6 @@ void UIScene_MainMenu::RunUnlockOrDLC(int iPad) {
|
||||
// check that the commerce is in the right state to be able to
|
||||
// display the full version purchase - if the user is fast with the
|
||||
// trial version, it can still be retrieving the product list
|
||||
TelemetryManager->RecordUpsellPresented(
|
||||
iPad, eSen_UpsellID_Full_Version_Of_Game, app.m_dwOfferID);
|
||||
ProfileManager.DisplayFullVersionPurchase(
|
||||
false, iPad, eSen_UpsellID_Full_Version_Of_Game);
|
||||
}
|
||||
|
||||
-3
@@ -45,9 +45,6 @@ void UIScene_TrialExitUpsell::handleInput(int iPad, int key, bool repeat,
|
||||
|
||||
// 4J-PB - need to check this user can access the store
|
||||
{
|
||||
TelemetryManager->RecordUpsellPresented(
|
||||
iPad, eSen_UpsellID_Full_Version_Of_Game,
|
||||
app.m_dwOfferID);
|
||||
ProfileManager.DisplayFullVersionPurchase(
|
||||
false, iPad, eSen_UpsellID_Full_Version_Of_Game);
|
||||
}
|
||||
|
||||
-6
@@ -161,9 +161,6 @@ UIScene_HowToPlay::UIScene_HowToPlay(int iPad, void* initData,
|
||||
(EHowToPlayPage)((uiInitData >> 16) &
|
||||
0xFFFu); // Ignores MSB which is set to 1!
|
||||
|
||||
TelemetryManager->RecordMenuShown(
|
||||
m_iPad, eUIScene_HowToPlay, (ETelemetry_HowToPlay_SubMenuId)eStartPage);
|
||||
|
||||
StartPage(eStartPage);
|
||||
}
|
||||
|
||||
@@ -325,7 +322,4 @@ void UIScene_HowToPlay::StartPage(EHowToPlayPage ePage) {
|
||||
delete[] stringVal;
|
||||
|
||||
updateTooltips();
|
||||
|
||||
TelemetryManager->RecordMenuShown(m_iPad, eUIScene_HowToPlay,
|
||||
(ETelemetry_HowToPlay_SubMenuId)ePage);
|
||||
}
|
||||
|
||||
-10
@@ -93,8 +93,6 @@ void UIScene_DeathMenu::handlePress(F64 controlId, F64 childId) {
|
||||
playTime = (int)pMinecraft->localplayers[m_iPad]
|
||||
->getSessionTimer();
|
||||
}
|
||||
TelemetryManager->RecordLevelExit(
|
||||
m_iPad, eSen_LevelExitStatus_Failed);
|
||||
|
||||
if (StorageManager.GetSaveDisabled()) {
|
||||
uiIDA[0] = IDS_CONFIRM_CANCEL;
|
||||
@@ -127,17 +125,12 @@ void UIScene_DeathMenu::handlePress(F64 controlId, F64 childId) {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
TelemetryManager->RecordLevelExit(
|
||||
m_iPad, eSen_LevelExitStatus_Failed);
|
||||
|
||||
// just exit the player
|
||||
app.SetAction(m_iPad, eAppAction_ExitPlayer);
|
||||
}
|
||||
} else {
|
||||
// is it the primary player exiting?
|
||||
if (m_iPad == ProfileManager.GetPrimaryPad()) {
|
||||
TelemetryManager->RecordLevelExit(
|
||||
m_iPad, eSen_LevelExitStatus_Failed);
|
||||
|
||||
// adjust the trial time played
|
||||
ui.ReduceTrialTimerValue();
|
||||
@@ -152,9 +145,6 @@ void UIScene_DeathMenu::handlePress(F64 controlId, F64 childId) {
|
||||
&IUIScene_PauseMenu::ExitGameDialogReturned,
|
||||
(void*)GetCallbackUniqueId());
|
||||
} else {
|
||||
TelemetryManager->RecordLevelExit(
|
||||
m_iPad, eSen_LevelExitStatus_Failed);
|
||||
|
||||
// just exit the player
|
||||
app.SetAction(m_iPad, eAppAction_ExitPlayer);
|
||||
}
|
||||
|
||||
-9
@@ -54,9 +54,6 @@ UIScene_PauseMenu::UIScene_PauseMenu(int iPad, void* initData,
|
||||
eXuiServerAction_PauseServer, (void*)true);
|
||||
}
|
||||
|
||||
TelemetryManager->RecordMenuShown(m_iPad, eUIScene_PauseMenu, 0);
|
||||
TelemetryManager->RecordPauseOrInactive(m_iPad);
|
||||
|
||||
Minecraft* pMinecraft = Minecraft::GetInstance();
|
||||
if (pMinecraft != nullptr && pMinecraft->localgameModes[iPad] != nullptr) {
|
||||
TutorialMode* gameMode =
|
||||
@@ -390,9 +387,6 @@ void UIScene_PauseMenu::handlePress(F64 controlId, F64 childId) {
|
||||
->getSessionTimer();
|
||||
}
|
||||
|
||||
TelemetryManager->RecordLevelExit(
|
||||
m_iPad, eSen_LevelExitStatus_Exited);
|
||||
|
||||
// just exit the player
|
||||
app.SetAction(m_iPad, eAppAction_ExitPlayer);
|
||||
}
|
||||
@@ -425,9 +419,6 @@ void UIScene_PauseMenu::handlePress(F64 controlId, F64 childId) {
|
||||
->getSessionTimer();
|
||||
}
|
||||
|
||||
TelemetryManager->RecordLevelExit(
|
||||
m_iPad, eSen_LevelExitStatus_Exited);
|
||||
|
||||
// just exit the player
|
||||
app.SetAction(m_iPad, eAppAction_ExitPlayer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user