100 lines
2.3 KiB
C#
100 lines
2.3 KiB
C#
// ***********************************************************************
|
|
// Assembly : Unity
|
|
// Author : Kimch
|
|
// Created : 2018-2-8
|
|
// Description :
|
|
// Last Modified By : Kimch
|
|
// Last Modified On :
|
|
// ***********************************************************************
|
|
// <copyright file= "GlobalVar" company=""></copyright>
|
|
// <summary></summary>
|
|
// ***********************************************************************
|
|
using CodeStage.AntiCheat.ObscuredTypes;
|
|
using System.Collections.Generic;
|
|
|
|
namespace G
|
|
{
|
|
/// <summary>
|
|
/// 全局变量
|
|
/// </summary>
|
|
public static class GlobalVar
|
|
{
|
|
/// <summary>
|
|
/// 新用户
|
|
/// </summary>
|
|
public static bool IsNewPlayer = false;
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public static bool FirstInitGame = true;
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public static bool IsBattling = false;
|
|
/// <summary>
|
|
/// 当前游戏死亡次数
|
|
/// </summary>
|
|
public static int DeathCount = 0;
|
|
public static int ShowUnlockSystemLevelId = 0;
|
|
public static ObscuredFloat TitleStudyDouble = 0.9f;
|
|
public static ObscuredFloat PropSellAddition = 0f;
|
|
/// <summary>
|
|
/// 关卡Id
|
|
/// </summary>
|
|
public static int EnterLevelId
|
|
{
|
|
get => _EnterLevelId;
|
|
set => _EnterLevelId = value;
|
|
}
|
|
private static ObscuredInt _EnterLevelId;
|
|
/// <summary>
|
|
/// 路段序号
|
|
/// </summary>
|
|
public static int EnterStageIndex
|
|
{
|
|
get => _EnterStageIndex;
|
|
set => _EnterStageIndex = value;
|
|
}
|
|
private static ObscuredInt _EnterStageIndex;
|
|
/// <summary>
|
|
/// 关卡系数
|
|
/// </summary>
|
|
public static int EnterLevelFactor
|
|
{
|
|
get => _EnterLevelFactor;
|
|
set => _EnterLevelFactor = value;
|
|
}
|
|
private static ObscuredInt _EnterLevelFactor;
|
|
|
|
/// <summary>
|
|
/// 战斗速度
|
|
/// </summary>
|
|
public static float BattleSpeed
|
|
{
|
|
get => _BattleSpeed;
|
|
set => _BattleSpeed = value;
|
|
}
|
|
private static ObscuredFloat _BattleSpeed = 1f;
|
|
/// <summary>
|
|
/// 葫芦加成
|
|
/// </summary>
|
|
public static int BuffAddition
|
|
{
|
|
get => _BuffAddition;
|
|
set => _BuffAddition = value;
|
|
}
|
|
private static ObscuredInt _BuffAddition = 2;
|
|
|
|
public static bool BagPageShow;
|
|
|
|
public static readonly List<ObscuredInt> SavePlayingStateData = new List<ObscuredInt>();
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public static void Reset()
|
|
{
|
|
}
|
|
}
|
|
}
|