You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

108 lines
2.2 KiB

using ProtoCSStruct;
using Sog.Data;
using System;
using System.Collections.Generic;
namespace Racehorse
{
public class MatchSignUp : DataSeqSave
{
public long Uid { get; set; }
public int StrategyId { get; set; }
public int HiddenPoints { get; set; }
/// <summary>
/// 匹配好有值
/// </summary>
public int MatchNo { get; set; }
public int Level { get; set; }
public bool SendFlag { get; set; }
public string Nick { get; set; }
public MatchSignUp()
{
}
}
public class MatchSignUpSimp
{
public long Uid;
public int HiddenPoints;
public int level;
}
public class PvpMatchOne
{
public int courseId { get; set; }
public int Level { get; set; }
public PvpMatchOne()
{
courseId = 0;
Level = 0;
}
}
public class PvpMatchResult : DataSeqSave
{
public long Season { get; set; }
/// <summary>
/// 赛季第几次
/// </summary>
public int SeasonNo { get; set; }
public int courseId { get; set; } //赛马场id
public int level { get; set; } //赛马场id
public PvpMatchResult()
{
Season = 0;
SeasonNo = 0;
courseId = 0;
level = 0;
}
}
public class PvpDbInfo
{
/// <summary>
/// 报名结构 重启服务器需要加载
/// </summary>
public List<MatchSignUp> signUp;
public int MaxMatchNo { get; set; }
public int[] CourseList { get; set; }
public bool MatchFlag { get; set; }
public PvpDbInfo()
{
MaxMatchNo = 0;
CourseList = new int[RacehorseMatchData.CourseLength];
signUp = new List<MatchSignUp>();
MatchFlag = false;
}
}
/// <summary>
/// 匹配结构
/// </summary>
public class PvpDbMatch
{
public int matchNo { get; set; }
public List<MatchSignUp> pool { get; set; }
public PvpDbMatch()
{
matchNo = 0;
pool = new List<MatchSignUp>();
}
}
}