/*
* 作者:吴隆健
* 日期: 2019-04-22
* 时间: 16:54
*
*/
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace GameData
{
///
/// 分值
///
public class FightScore : ICloneable
{
///
/// 数据库的id
///
public int id;
///
/// 竞技比赛id
///
public int clubid;
///
/// 玩法id
/// 从int 改为string 之前也没有使用上。
///
public string wayid;
///
/// 朋友房唯一码
///
public string weiyima;
///
/// 游戏的服务器id
///
public int game_serid;
///
/// 房间号
///
public int roomnum;
///
/// 开始时间
///
public DateTime startTime;
///
/// 结束时间
///
public DateTime endTime;
///
/// 开战次数
///
public int warCnt;
///
/// 打完多少盘
///
public int overCnt;
///
/// 耗卡数量 --xu add
///
public int CardNum;
///
/// 解散原因
///
public int Style;
///
/// 解散玩家ID
///
public int DisUserId;
///
/// 分值
///
public Player[] scores;
///
///
///
public FightScore() { }
///
/// 浅克隆
///
///
public object Clone()
{
return this.MemberwiseClone();
}
///
/// 玩家
///
public class Player
{
///
/// 用户唯一id
///
public int userid;
///
/// 名称
///
public string name;
///
/// 分值
///
public decimal score;
///
/// 玩家头像
///
public string photo;
///
/// 俱乐部id
///
public int clubId;
///
/// 俱乐部名字
///
public string clubName;
///
///
///
public Player() { }
///
///
///
///
///
///
public Player(int userid, string name, decimal score)
{
this.userid = userid;
this.name = name;
this.score = score;
}
}
}
}