44 lines
823 B
C#
44 lines
823 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using static XPlugin.Data.JsonLiteDB.JsonLiteDB;
|
|
|
|
|
|
|
|
|
|
public enum TitleConditionType
|
|
{
|
|
SimpleMode,
|
|
BegForAbuseMode,
|
|
CompleteGame,
|
|
FailGame,
|
|
NoDie,
|
|
DoubleScoreToSecondPlayer, //得分为第二名两倍
|
|
MaxScore,
|
|
MinScore,
|
|
HitRate,//命中率最高
|
|
HitDamage,
|
|
GetPropMax,
|
|
MoveDistanceMax,
|
|
SingleMachineOrOnLine//单机
|
|
}
|
|
public class TitleConditionInfo
|
|
{
|
|
public int Id;
|
|
|
|
public string ConditionDesc;
|
|
|
|
/// <summary>
|
|
/// 是否达成条件
|
|
/// </summary>
|
|
public bool IsReach;
|
|
|
|
|
|
public TitleConditionInfo(TableReader table)
|
|
{
|
|
Id = table["ConditionId"].OptInt();
|
|
ConditionDesc = table["ConditionDesc"].OptString();
|
|
IsReach = table["IsReach"].OptBool();
|
|
}
|
|
}
|