修改打点

This commit is contained in:
oldpeper 2024-12-21 14:11:17 +08:00
parent 52b368f37a
commit 8b9d50eea8
6 changed files with 80 additions and 81 deletions

View File

@ -82,8 +82,8 @@ public class GameManager : MonoBehaviour
_tab.InitData();
_data.InitData();
firstPlay = true;
TT.ReportAnalytics<string>("10101");
DotData.ins.SendEvent("10101","");
TT.ReportAnalytics<string>("a10101");
DotData.ins.SendEvent("a10101","");
MainPanel.ins.ClosePanelEvent();
});
TT.SendToTAQ(new JsonData

View File

@ -13,16 +13,16 @@ public class EventSystem : MonoBehaviour
{
case 9:
lenght = maxLenght;
TT.ReportAnalytics<string>("10129");
DotData.ins.SendEvent("10129","");
TT.ReportAnalytics<string>("a10129");
DotData.ins.SendEvent("a10129","");
break;
case 1:
speed += data.Event1;
break;
case 2:
moveTime += data.Event1;
TT.ReportAnalytics<string>("10130");
DotData.ins.SendEvent("10130","");
TT.ReportAnalytics<string>("a10130");
DotData.ins.SendEvent("a10130","");
break;
case 3:
pointsRatio += data.Event1;

View File

@ -356,19 +356,18 @@ public class LevelPanel : MonoBehaviour
switch (levelID)
{
case 110012:
TT.ReportAnalytics<string>("10104");
DotData.ins.SendEvent("10104","");
TT.ReportAnalytics<string>("a10104");
DotData.ins.SendEvent("a10104","");
break;
case 110013:
TT.ReportAnalytics<string>("10106");
DotData.ins.SendEvent("10106","");
TT.ReportAnalytics<string>("a10106");
DotData.ins.SendEvent("a10106","");
break;
case 110015:
TT.ReportAnalytics<string>("10108");
DotData.ins.SendEvent("10108","");
TT.ReportAnalytics<string>("a10108");
DotData.ins.SendEvent("a10108","");
break;
}
DotData.ins.SendEvent("OpenLevel",levelID);
GameManager.ins.ResetLevel(levelID, () =>
{
aniIndex++;

View File

@ -60,24 +60,24 @@ public class LosePanel : MonoBehaviour
switch (DataManager.GTTAnalytics("AddTime"))
{
case 1:
TT.ReportAnalytics<string>("10131");
DotData.ins.SendEvent("10131","");
TT.ReportAnalytics<string>("a10131");
DotData.ins.SendEvent("a10131","");
break;
case 2:
TT.ReportAnalytics<string>("10132");
DotData.ins.SendEvent("10132","");
TT.ReportAnalytics<string>("a10132");
DotData.ins.SendEvent("a10132","");
break;
case 3:
TT.ReportAnalytics<string>("10133");
DotData.ins.SendEvent("10133","");
TT.ReportAnalytics<string>("a10133");
DotData.ins.SendEvent("a10133","");
break;
case 5:
TT.ReportAnalytics<string>("10134");
DotData.ins.SendEvent("10134","");
TT.ReportAnalytics<string>("a10134");
DotData.ins.SendEvent("a10134","");
break;
case 10:
TT.ReportAnalytics<string>("10135");
DotData.ins.SendEvent("10135","");
TT.ReportAnalytics<string>("a10135");
DotData.ins.SendEvent("a10135","");
break;
}
MainPanel.ins.AddTourPanel(10);

View File

@ -82,8 +82,8 @@ public class PackPanel : MonoBehaviour
private void CloseBeginner()
{
beginner.gameObject.SetActive(false);
TT.ReportAnalytics<string>("10102");
DotData.ins.SendEvent("10102","");
TT.ReportAnalytics<string>("a10102");
DotData.ins.SendEvent("a10102","");
}
private void SetSettingsObj()
@ -105,36 +105,36 @@ public class PackPanel : MonoBehaviour
switch (index)
{
case 1:
TT.ReportAnalytics<string>("10117");
DotData.ins.SendEvent("10117","");
TT.ReportAnalytics<string>("a10117");
DotData.ins.SendEvent("a10117","");
break;
case 2:
TT.ReportAnalytics<string>("10118");
DotData.ins.SendEvent("10118","");
TT.ReportAnalytics<string>("a10118");
DotData.ins.SendEvent("a10118","");
break;
}
DataManager.STTAnalytics("box",DataManager.GTTAnalytics("box")+1);
switch (DataManager.GTTAnalytics("box"))
{
case 1:
TT.ReportAnalytics<string>("10112");
DotData.ins.SendEvent("10112","");
TT.ReportAnalytics<string>("a10112");
DotData.ins.SendEvent("a10112","");
break;
case 2:
TT.ReportAnalytics<string>("10113");
DotData.ins.SendEvent("10113","");
TT.ReportAnalytics<string>("a10113");
DotData.ins.SendEvent("a10113","");
break;
case 3:
TT.ReportAnalytics<string>("10114");
DotData.ins.SendEvent("10114","");
TT.ReportAnalytics<string>("a10114");
DotData.ins.SendEvent("a10114","");
break;
case 5:
TT.ReportAnalytics<string>("10115");
DotData.ins.SendEvent("10115","");
TT.ReportAnalytics<string>("a10115");
DotData.ins.SendEvent("a10115","");
break;
case 10:
TT.ReportAnalytics<string>("10116");
DotData.ins.SendEvent("10116","");
TT.ReportAnalytics<string>("a10116");
DotData.ins.SendEvent("a10116","");
break;
}
GameManager.ins.index++;
@ -220,51 +220,51 @@ public class PackPanel : MonoBehaviour
{
if (MapManager.ins._unLockIndex==1)
{
TT.ReportAnalytics<string>("10125");
DotData.ins.SendEvent("10125","");
TT.ReportAnalytics<string>("a10125");
DotData.ins.SendEvent("a10125","");
}
if (MapManager.ins._unLockIndex==2)
{
TT.ReportAnalytics<string>("10126");
DotData.ins.SendEvent("10126","");
TT.ReportAnalytics<string>("a10126");
DotData.ins.SendEvent("a10126","");
}
if (MapManager.ins._unLockIndex==3)
{
TT.ReportAnalytics<string>("10127");
DotData.ins.SendEvent("10127","");
TT.ReportAnalytics<string>("a10127");
DotData.ins.SendEvent("a10127","");
}
if (MapManager.ins._unLockIndex==5)
{
TT.ReportAnalytics<string>("10128");
DotData.ins.SendEvent("10128","");
TT.ReportAnalytics<string>("a10128");
DotData.ins.SendEvent("a10128","");
}
DataManager.STTAnalytics("grid", DataManager.GTTAnalytics("grid")+1);
switch (DataManager.GTTAnalytics("grid"))
{
case 1:
TT.ReportAnalytics<string>("10119");
DotData.ins.SendEvent("10119","");
TT.ReportAnalytics<string>("a10119");
DotData.ins.SendEvent("a10119","");
break;
case 2:
TT.ReportAnalytics<string>("10120");
DotData.ins.SendEvent("10120","");
TT.ReportAnalytics<string>("a10120");
DotData.ins.SendEvent("a10120","");
break;
case 3:
TT.ReportAnalytics<string>("10121");
DotData.ins.SendEvent("10121","");
TT.ReportAnalytics<string>("a10121");
DotData.ins.SendEvent("a10121","");
break;
case 5:
TT.ReportAnalytics<string>("10122");
DotData.ins.SendEvent("10122","");
TT.ReportAnalytics<string>("a10122");
DotData.ins.SendEvent("a10122","");
break;
case 10:
TT.ReportAnalytics<string>("10123");
DotData.ins.SendEvent("10123","");
TT.ReportAnalytics<string>("a10123");
DotData.ins.SendEvent("a10123","");
break;
case 20:
TT.ReportAnalytics<string>("10124");
DotData.ins.SendEvent("10124","");
TT.ReportAnalytics<string>("a10124");
DotData.ins.SendEvent("a10124","");
break;
}
MapManager.ins.RandomUnlock();

View File

@ -29,28 +29,28 @@ public class WinPanel : MonoBehaviour
switch (id)
{
case 110011:
TT.ReportAnalytics<string>("10103");
DotData.ins.SendEvent("10103","");
TT.ReportAnalytics<string>("a10103");
DotData.ins.SendEvent("a10103","");
break;
case 110012:
TT.ReportAnalytics<string>("10105");
DotData.ins.SendEvent("10105","");
TT.ReportAnalytics<string>("a10105");
DotData.ins.SendEvent("a10105","");
break;
case 110013:
TT.ReportAnalytics<string>("10107");
DotData.ins.SendEvent("10107","");
TT.ReportAnalytics<string>("a10107");
DotData.ins.SendEvent("a10107","");
break;
case 110015:
TT.ReportAnalytics<string>("10109");
DotData.ins.SendEvent("10109","");
TT.ReportAnalytics<string>("a10109");
DotData.ins.SendEvent("a10109","");
break;
case 110025:
TT.ReportAnalytics<string>("10110");
DotData.ins.SendEvent("10110","");
TT.ReportAnalytics<string>("a10110");
DotData.ins.SendEvent("a10110","");
break;
case 110045:
TT.ReportAnalytics<string>("10111");
DotData.ins.SendEvent("10111","");
TT.ReportAnalytics<string>("a10111");
DotData.ins.SendEvent("a10111","");
break;
}
var data=JsonTab.Instance.tables.Level.Get(id);
@ -98,24 +98,24 @@ public class WinPanel : MonoBehaviour
switch (DataManager.GTTAnalytics("Double"))
{
case 1:
TT.ReportAnalytics<string>("10136");
DotData.ins.SendEvent("10136","");
TT.ReportAnalytics<string>("a10136");
DotData.ins.SendEvent("a10136","");
break;
case 2:
TT.ReportAnalytics<string>("10137");
DotData.ins.SendEvent("10137","");
TT.ReportAnalytics<string>("a10137");
DotData.ins.SendEvent("a10137","");
break;
case 3:
TT.ReportAnalytics<string>("10138");
DotData.ins.SendEvent("10138","");
TT.ReportAnalytics<string>("a10138");
DotData.ins.SendEvent("a10138","");
break;
case 5:
TT.ReportAnalytics<string>("10139");
DotData.ins.SendEvent("10139","");
TT.ReportAnalytics<string>("a10139");
DotData.ins.SendEvent("a10139","");
break;
case 10:
TT.ReportAnalytics<string>("10140");
DotData.ins.SendEvent("10140","");
TT.ReportAnalytics<string>("a10140");
DotData.ins.SendEvent("a10140","");
break;
}
MainPanel.ins.ClosePanelEvent();