103 lines
3.3 KiB
C#
Executable File
103 lines
3.3 KiB
C#
Executable File
using MongoDB.Bson;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace ET
|
|
{
|
|
[BsonIgnoreExtraElements]
|
|
public class PlayerData : Entity,ISerializeToEntity
|
|
{
|
|
public int MainStoryRecordId { get; set; }
|
|
/// <summary>
|
|
/// key =total value =add
|
|
/// </summary>
|
|
public KeyValuePair<int,int> hpAutoFullCapatial;
|
|
public KeyValuePair<int,int> mpAutoFullCapatial;
|
|
[BsonRepresentation(BsonType.Double, AllowTruncation = true)]
|
|
public float BattleExpSpeed { get; set; } = 1;
|
|
public long battleExpSpeedLeastTime;
|
|
[BsonRepresentation(BsonType.Double, AllowTruncation = true)]
|
|
public float IdleExpSpeed { get; set; } = 1;
|
|
|
|
public int trialLayer;
|
|
public int trialAndBossLayer=01_01_01_01;
|
|
|
|
public int trialCopyMostLayer = 01_01_01;
|
|
public bool hasReceiveTrialCopyReword;
|
|
public long mainstoryAITime;
|
|
public long mainstoryVIPAITime;
|
|
|
|
public long MarketLeastTime { get; set; }
|
|
|
|
[BsonRepresentation(BsonType.Double, AllowTruncation = true)]
|
|
public float MarketDiscount { get; set; }
|
|
public int MarketPeriod { get; set; }
|
|
|
|
public bool ForbidExp { get; set; }
|
|
public bool IsBattleIdle { get; set; }
|
|
public long LastOnlineTime { get; set; }
|
|
public int OnlineTime { get; set; }
|
|
public int OnlineRewardId { get; set; }
|
|
public bool IsNew { get; set; }
|
|
|
|
/// <summary>
|
|
/// key =CurrPoint ,value = AllPoint
|
|
/// </summary>
|
|
public KeyValuePair<int, int> CharacterPointKV { get; set; }
|
|
/// <summary>
|
|
/// key = currPoint, value = AllPoint
|
|
/// </summary>
|
|
public KeyValuePair<int, int> SkillPointKV { get; set; }
|
|
|
|
public int familyBossKeys = 2;
|
|
|
|
public int questAnswerCard = 1;
|
|
|
|
public int buyEnergyCount = 0;
|
|
/// <summary>
|
|
/// key = id,value =( curr,total )
|
|
/// </summary>
|
|
[BsonDictionaryOptions(MongoDB.Bson.Serialization.Options.DictionaryRepresentation.ArrayOfArrays)]
|
|
public Dictionary<int, KeyValuePair<int, int>> dropDic = new Dictionary<int, KeyValuePair<int, int>>();
|
|
|
|
/// <summary>
|
|
/// 积分
|
|
/// </summary>
|
|
public int personalScord;
|
|
/// <summary>
|
|
/// 挑战次数
|
|
/// </summary>
|
|
public int personalPvpCount;
|
|
|
|
public int currManulEquipMapLayer;
|
|
|
|
public int manulEquipMakeCount = 4;
|
|
|
|
public int bossEnergy = 10;
|
|
|
|
public List<KeyValuePair<int, int>> strengthCountList = new();
|
|
|
|
public int mapCoinCount = 10;
|
|
|
|
public int epicManulMakeCount = 0;
|
|
public int rareManulMakeCount = 0;
|
|
public int noSpaceTravelBossDay = 0;
|
|
|
|
public int petEatCount = 10;
|
|
public int petActive = 10;
|
|
public int petActionIndexFlag = 00_00_00;
|
|
|
|
public int travelVoucher = 50;
|
|
public int journeyOfDeathCount = 10;
|
|
|
|
public int lastGetSigninRewardDate =TimeHelper.GetTodayDay()-1;
|
|
public int signInCountInMonth = 0;
|
|
/// <summary>
|
|
/// 记录领取过的签到奖励在没月中的次数
|
|
/// </summary>
|
|
public List<int> signInGetRewardCountInMonthList = new List<int>(4);
|
|
}
|
|
}
|