Skip to main content

TowerAnalyticsReporter

A class in Root.Township, Features.Analytics.ClimbingTower.

Obsolete climbing tower analytics reporter. Its bodies are stubbed out in this build: Awake is empty, so Instance is never set, and ReportTowerAnalyticEvent does nothing.

Constructors​

MemberWhat it is
TowerAnalyticsReporter()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

2 private and internal fields
MemberWhat it is
private readonly Dictionary<string, object> eventDataProperty bag sent with each report.
private static TowerAnalyticsReporter instanceBacking field for Instance.

Properties​

MemberWhat it is
static TowerAnalyticsReporter Instance { get; }The singleton. Always null in this build because Awake never sets it.

Methods​

MemberWhat it is
void ReportTowerAnalyticEvent(IPlayer player, ClimbingTowerAnalyticEventType eventType, Vector3? reportedPosition = null)Empty in this build.
5 private and internal methods
MemberWhat it is
private void Awake()Empty, so the singleton is never assigned.
private void PostReport(string eventType, int playerId)Posts a generic analytics event with eventData for a player through the old API client. Nothing calls it.
private void RegisterServerHandlerEvent()Empty.
private void ReportPlayerLoggedInWithSpiritMode(IPlayer player)Reports a logged-in-with-spirit-mode event if the player has a current unlock. Not hooked up.
private void ReportPlayerLoggedOutWithSpiritMode(IPlayer player)Reports a logged-out-with-spirit-mode event if the player has a current unlock. Not hooked up.