// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved.
#pragma once
#include "Engine/Core/Types/BaseTypes.h"
///
/// Editor user analytics reporting and telemetry service.
///
class EditorAnalytics
{
public:
///
/// Determines whether analytics session is active.
///
static bool IsSessionActive();
///
/// Starts the session.
///
static void StartSession();
///
/// Ends the session.
///
static void EndSession();
///
/// Sends the custom event.
///
/// The event name.
/// The event parameters (key and value pairs).
static void SendEvent(const char* name, Span> parameters);
};