修改打点

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(); _tab.InitData();
_data.InitData(); _data.InitData();
firstPlay = true; firstPlay = true;
TT.ReportAnalytics<string>("10101"); TT.ReportAnalytics<string>("a10101");
DotData.ins.SendEvent("10101",""); DotData.ins.SendEvent("a10101","");
MainPanel.ins.ClosePanelEvent(); MainPanel.ins.ClosePanelEvent();
}); });
TT.SendToTAQ(new JsonData TT.SendToTAQ(new JsonData

View File

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

View File

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

View File

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

View File

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

View File

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