using System; using System.Collections.Generic; using UnityEngine; namespace ET { public class GlobalVariable:Entity { public long UserId{ get; set; } public long MyId{ get; set; } public int MapId{ get; set; } public int JobId{ get; set; } public List PlayerPosList_BeforeBattle { get; set; } = new List(); public List EnermyPlayerPosList_BeforeBattle{ get; set; }= new List(); public long LeaderId { get=>this.ZoneScene().GetComponent().MyUnit.LeaderId; set=>this.ZoneScene().GetComponent().MyUnit.LeaderId=value; } public long SelectBattleUnitId { get; set; } public long SelectUnitId { get; set; } public long SelectUnitHeadInfoId { get; set; } /// /// 是否断线重连 /// public bool isOnLine { get; internal set; } public long Token { get; internal set; } public bool IsMineCharacter{ get; set; } public int petId{ get; set; } } }