2021-04-08 20:09:59 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace ET
|
|
|
|
|
{
|
2021-04-20 00:25:04 +08:00
|
|
|
|
public class GlobalVariable:Entity
|
2021-04-08 20:09:59 +08:00
|
|
|
|
{
|
|
|
|
|
|
2021-04-20 00:25:04 +08:00
|
|
|
|
public long UserId{ get; set; }
|
|
|
|
|
public long MyId{ get; set; }
|
|
|
|
|
public int MapId{ get; set; }
|
|
|
|
|
public int JobId{ get; set; }
|
|
|
|
|
public List<Vector4> PlayerPosList_BeforeBattle { get; set; } = new List<Vector4>();
|
|
|
|
|
public List<Vector4> EnermyPlayerPosList_BeforeBattle{ get; set; }= new List<Vector4>();
|
|
|
|
|
public long LeaderId { get=>this.ZoneScene().GetComponent<UnitComponent>().MyUnit.LeaderId; set=>this.ZoneScene().GetComponent<UnitComponent>().MyUnit.LeaderId=value; }
|
|
|
|
|
public long SelectBattleUnitId { get; set; }
|
|
|
|
|
public long SelectUnitId { get; set; }
|
|
|
|
|
public long SelectUnitHeadInfoId { get; set; }
|
2021-04-08 20:09:59 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否断线重连
|
|
|
|
|
/// </summary>
|
2021-04-20 00:25:04 +08:00
|
|
|
|
public bool isOnLine { get; internal set; }
|
|
|
|
|
public long Token { get; internal set; }
|
2021-04-08 20:09:59 +08:00
|
|
|
|
|
2021-04-20 00:25:04 +08:00
|
|
|
|
public bool IsMineCharacter{ get; set; }
|
|
|
|
|
public int petId{ get; set; }
|
2021-06-07 13:58:51 +08:00
|
|
|
|
public string loginVoucher{ get; set; }
|
2021-04-08 20:09:59 +08:00
|
|
|
|
}
|
|
|
|
|
}
|