| | |
| | | using System; |
| | | using Cysharp.Threading.Tasks; |
| | | |
| | | public class PlayerBaseData |
| | | { |
| | |
| | | public uint ExpPoint; //扩充经验点数(亿) |
| | | public uint TotalExp; //总经验(小于亿部分) |
| | | public long curExp { get { return TotalExp + ExpPoint * Constants.ExpPointValue; } } |
| | | public uint FamilyId; //家族 |
| | | |
| | | uint m_FamilyId; |
| | | public uint FamilyId |
| | | { |
| | | get |
| | | { |
| | | return m_FamilyId; |
| | | } |
| | | set |
| | | { |
| | | var beforeFamilyId = m_FamilyId; |
| | | m_FamilyId = value; |
| | | if (beforeFamilyId == 0 && m_FamilyId != 0) |
| | | { |
| | | GuildManager.Instance.AfterEnterGuild().Forget(); |
| | | } |
| | | else if (beforeFamilyId != 0 && m_FamilyId == 0) |
| | | { |
| | | GuildManager.Instance.AfterQuitGuild(); |
| | | } |
| | | } |
| | | } |
| | | public string FamilyName; //家族名称 |
| | | public uint diamond; //仙玉 |
| | | public uint bindDiamond; //灵石 |
| | |
| | | |
| | | public int mapRealmSelect; //地图境界难度 |
| | | public int leaveFamilyTime; //离开家族时间 |
| | | public int leaveGuildInfo; //公会:主动离开次数*100 + 被踢次数*10 + 最后一次是否主动离开的,暂时最多累计记录到9次 |
| | | |
| | | public bool IsActive90Off = true; //代表默认激活0.1折 |
| | | public long treasurePotentialSp |
| | |
| | | spExtend = _serverInfo.ExAttr8; |
| | | bubbleId = _serverInfo.ExAttr10; |
| | | ExAttr11 = _serverInfo.ExAttr11; |
| | | leaveGuildInfo = (int)_serverInfo.ExAttr12; |
| | | ExAttr16 = _serverInfo.ExAttr16; |
| | | ServerGroupId = _serverInfo.ExAttr13; |
| | | faction = _serverInfo.Faction; |