49 lines
No EOL
1.3 KiB
C#
49 lines
No EOL
1.3 KiB
C#
using System;
|
|
|
|
namespace ShiroginSDK.Runtime.Modules.Events
|
|
{
|
|
public static partial class ShiroginEvents
|
|
{
|
|
public static class Tutorial
|
|
{
|
|
[Serializable]
|
|
public class TutorialStartedEvent
|
|
{
|
|
public string TutorialId;
|
|
|
|
public TutorialStartedEvent(string id)
|
|
{
|
|
TutorialId = id;
|
|
}
|
|
}
|
|
|
|
[Serializable]
|
|
public class TutorialCompletedEvent
|
|
{
|
|
public string TutorialId;
|
|
public float Duration;
|
|
|
|
public TutorialCompletedEvent(string id, float duration)
|
|
{
|
|
TutorialId = id;
|
|
Duration = duration;
|
|
}
|
|
}
|
|
|
|
[Serializable]
|
|
public class TutorialAnalyticsEvent
|
|
{
|
|
public string TutorialId;
|
|
public float Duration;
|
|
public bool Completed;
|
|
|
|
public TutorialAnalyticsEvent(string id, float duration, bool completed)
|
|
{
|
|
TutorialId = id;
|
|
Duration = duration;
|
|
Completed = completed;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |