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