65 lines
1.6 KiB
C#
65 lines
1.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using UserDomain.Entity;
|
|
|
|
namespace RedisService.Param
|
|
{
|
|
public class RedisGamePlayer
|
|
{
|
|
public string UserId { get; set; } = string.Empty;
|
|
|
|
public string UserName { get; set; } = string.Empty;
|
|
|
|
public string UserNumber { get; set; } = string.Empty;
|
|
|
|
public string Avatar { get; set; } = string.Empty;
|
|
|
|
public bool IsRedName { get; set; } = false;
|
|
|
|
public int Level { get; set; } = 0;
|
|
|
|
public long Exp { get; set; } = 0;
|
|
|
|
public long MaxExp { get; set; } = 0;
|
|
|
|
public int VipLevel { get; set; } = 0;
|
|
|
|
|
|
public string CId { get; set; } = string.Empty;
|
|
|
|
public long Gold { get; set; } = 0;
|
|
|
|
public int Diamond { get; set; } = 0;
|
|
|
|
public int Position { get; set; } = 0;
|
|
|
|
public string CannonId { get; set; } = string.Empty;
|
|
|
|
public string WingsId { get; set; } = string.Empty;
|
|
|
|
public string WarGodId { get; set; } = string.Empty;
|
|
|
|
public int CannonMultiple { get; set; } = 1;
|
|
|
|
public long BeginCoin { get; set; } = 0;
|
|
|
|
public long MaxGold { get; set; } = 0;
|
|
|
|
public long BeginTime { get; set; } = 0;
|
|
public int State { get; set; } = 0;
|
|
|
|
public PlayerFactor PlayerFactor { get; set; } = new PlayerFactor();
|
|
|
|
public long TotalRechargeGold { get; set; } = 0;
|
|
|
|
public long SafeBoxGold { get; set; } = 0;
|
|
|
|
public bool IsBot { get; set; } = false;
|
|
|
|
public bool IsAfk { get; set; } = false;
|
|
}
|
|
}
|