19 lines
671 B
C#
19 lines
671 B
C#
using Cysharp.Threading.Tasks;
|
|
|
|
namespace DanieleMarotta.RiversongCodeShowcase
|
|
{
|
|
public interface IAnalyticsService
|
|
{
|
|
UniTask InitializeAsync();
|
|
|
|
void RecordSessionStarted(string sessionId);
|
|
|
|
void RecordBuildingConstructionCompleted(string sessionId, string buildingName);
|
|
|
|
void RecordHouseUpgraded(string sessionId, string buildingName, int fromTier, int toTier);
|
|
|
|
void RecordHeartbeat(string sessionId, int heartbeatIndex, float playtimeSeconds, int totalBuildingsPlaced, int population);
|
|
|
|
void RecordDemoCompleted(string sessionId, float playtimeSeconds, int totalWeeks, int population, float happiness);
|
|
}
|
|
} |