You've already forked taptap2024_GJ_chidouren
23 lines
490 B
C#
23 lines
490 B
C#
namespace System.Game.Account
|
|
{
|
|
public class GameHistoryLog
|
|
{
|
|
public int TotalCount;
|
|
|
|
public int SuccessCount;
|
|
|
|
public int FailCount;
|
|
|
|
|
|
public void Log(bool isSuccess)
|
|
{
|
|
this.TotalCount += 1;
|
|
if (isSuccess)
|
|
this.SuccessCount += 1;
|
|
else
|
|
this.FailCount += 1;
|
|
// SuccessCount += isSuccess ? 1 : 0;
|
|
// FailCount += isSuccess ? 0 : 1;
|
|
}
|
|
}
|
|
} |