| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- using System.Collections.Generic;
- using MongoDB.Bson.Serialization.Attributes;
- using MongoDB.Bson.Serialization.Options;
- namespace ET
- {
- //竞技场玩家数据
- public class ArenaRoleInfo : Entity, IAwake, ISerializeToEntity
- {
- public string StrId = "";
- /// <summary>
- /// 角色id
- /// </summary>
- public long RoleId = 0;
- /// <summary>
- /// 段位
- /// </summary>
- public int Grade = 0;
- /// <summary>
- /// 排名
- /// </summary>
- public int Rank = 0;
- /// <summary>
- /// 最高段位
- /// </summary>
- public int MaxGrade = 0;
- /// <summary>
- /// 最高排名
- /// </summary>
- public int MaxRank = 0;
- /// <summary>
- /// 换装信息
- /// </summary>
- public ArenaRoleDressupInfo[] DressupInfo = new ArenaRoleDressupInfo[3];
- [BsonDictionaryOptions(DictionaryRepresentation.ArrayOfArrays)]
- public Dictionary<int, long> SkillAttrTemp = new Dictionary<int, long>();
- //最后一次挑战时间, 用来发周奖励, 未挑战不发奖
- public long LastChallengeTime;
- //战力值
- public long[] FightPower = new long[3];
- //玩家周奖励, 赛季id_段位_排名_20240517, 奖励状态
- [BsonDictionaryOptions(DictionaryRepresentation.ArrayOfArrays)]
- public Dictionary<string, int> WeekRewardDic = new Dictionary<string, int>();
- //玩家赛季段位奖励,赛季id_段位,奖励状态
- [BsonDictionaryOptions(DictionaryRepresentation.ArrayOfArrays)]
- public Dictionary<string, int> SeasonGradeRewardDic = new Dictionary<string, int>();
- }
- }
|