chip-gameV3/Assets/Scripts/Common/Statistics/PlayerStatsRecord.cs
sega 8a6d23b77d Реорг Scripts
Разделено на 4 модуля
- Menu
- Gameplay
- Settings
- Common
2026-07-15 10:49:55 +03:00

34 lines
1.1 KiB
C#

using System;
public class PlayerStatsRecord
{
public int Id { get; set; }
public string PlayerName { get; set; }
public float CompletionTimeSec { get; set; }
public int MovesCount { get; set; }
public DateTime CompletedAt { get; set; }
public bool IsSynced { get; set; }
public bool IsBot { get; set; } // Новое поле
public PlayerStatsRecord() { }
public PlayerStatsRecord(string playerName, float completionTimeSec, int movesCount, bool isBot = false)
{
PlayerName = playerName;
CompletionTimeSec = completionTimeSec;
MovesCount = movesCount;
CompletedAt = DateTime.Now;
IsSynced = false;
IsBot = isBot; // Новый параметр
}
public PlayerStatsRecord(string playerName, float completionTimeSec, int movesCount, DateTime completedAt, bool isBot = false)
{
PlayerName = playerName;
CompletionTimeSec = completionTimeSec;
MovesCount = movesCount;
CompletedAt = completedAt;
IsSynced = false;
IsBot = isBot; // Новый параметр
}
}