1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- using UnityEngine;
- using ET;
- using LitJson;
- namespace GFGGame
- {
- public class GameGlobal
- {
- //开服时间,单位毫秒
- public static long OpenServerTime;
- public static bool isVisitor = false;
- public static string cfgName;
- //防沉迷开关
- public static bool antiAddiction = true;
- public static long userId = 0;
- public static int userAge = 0;
- public static bool skipGuide;
- public static bool skipCheckOpen;//跳过功能开启检查
- public static bool isEnterGame = false;
- //ET
- public static Scene zoneScene;
- /// <summary>
- /// 初始数据是否已处理
- /// </summary>
- public static bool PreDataInited;
- //其他数据已处理
- public static bool AfterDataInited;
- public static NumericComponent myNumericComponent;
- public static int lastLoginTime;//上次登录时间
- public static bool AutoSevenDayLoginView = true;
- public static bool AutoDailySignView = true;
- public static bool AutoSpecialOfferGiftBoxView = true;
- public static bool AutoAcitivtyTipsLoginView = true;
- public static bool AutoMonthlyCardView = true;
- public static bool AutoNewPlayersTips = true;
- public static bool NewPlayerOnceTips = true;
- public static bool AutoZGTHDCTips = true;
- public static bool AutoZGTHTips = true;
- public static bool AutoPearRebateTips = true;
- public static bool AutoZCJBTips = true;
- //用于标记自动检测打开界面流程已执行完毕
- public static bool AutoShowCompleted;
- //平台
- public static int platformId = 1;
- //最大显示充值物品的订单时间差
- public static int maxShowOrderTime = GameConst.DEFAULT_MAX_ORDER_TIME;
- //游戏暂停时间
- public static long pauseTime;
- //提示过的版本不再提示
- public static string promotedVersion;
- public static void Init()
- {
- cfgName = LauncherConfig.cfgName + "_in";
- }
- public static string version
- {
- get
- {
- return Application.version + "." + VersionController.Instance.PackageVersion;
- }
- }
- }
- }
|