30 lines
1.1 KiB
C#
30 lines
1.1 KiB
C#
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<Vector4> PlayerPosList_BeforeBattle { get; set; } = new List<Vector4>();
|
|
public static List<Vector4> EnermyPlayerPosList_BeforeBattle{ get; set; }= new List<Vector4>();
|
|
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; }
|
|
/// <summary>
|
|
/// 是否断线重连
|
|
/// </summary>
|
|
public static bool isOnLine { get; internal set; }
|
|
public static long Token { get; internal set; }
|
|
|
|
public static bool IsMineCharacter;
|
|
public static int petId;
|
|
}
|
|
}
|