private static void CreateData()
 {
     if (personalDataAll == null)
     {
         personalDataAll    = Personal.GetAllDatas(false);
         personalDataEnable = Personal.GetAllDatas(true);
     }
 }
Esempio n. 2
0
        private List GetPersonalInfo()
        {
            var datas = new List();

            foreach (Personal.Data data in Personal.GetAllDatas(true))
            {
                datas.Add(new Dict {
                    ["id"] = data.id, ["name"] = data.uniqueName
                });
            }

            return(datas);
        }
        public void Start()
        {
            MyLog.LogMessage("Start");
            MyLog.LogInfo("=== DebugLilly ===");
            MyLog.LogDarkBlue("=== GetGameInfo st ===");

            MyLog.LogInfo("StoreDirectoryPath : " + GameMain.Instance.SerializeStorageManager.StoreDirectoryPath);


            try
            {
                MyLog.LogInfo("GameMain.Instance.CMSystem.CM3D2Path : " + GameMain.Instance.CMSystem.CM3D2Path);

                // MyLog.LogInfo("GameUty.IsEnabledCompatibilityMode : " + GameUty.IsEnabledCompatibilityMode);
            }
            catch (Exception e)
            {
                MyLog.LogWarning("Start:" + e.ToString());
            }


            MyLog.LogMessage("성격");
            try
            {
                foreach (var item in Personal.GetAllDatas(false))
                {
                    MyLog.LogMessage("Personal:", item.id, item.replaceText, item.uniqueName, item.drawName, item.termName);//
                }
            }
            catch (Exception e)
            {
                MyLog.LogWarning("Personal:" + e.ToString());
            }

            MyLog.LogDarkBlue("=== GetGameInfo ed ===");
        }
Esempio n. 4
0
        public void Awake()
        {
            //MyLog.LogMessage("Awake", string.Format("{0:0.000} ", stopwatch.Elapsed.ToString()));

            MyLog.LogInfo("=== DebugLilly ===");
            MyLog.LogDarkBlue("=== GetGameInfo st ===");

            MyLog.LogInfo("Application.installerName : " + Application.installerName);
            MyLog.LogInfo("Application.version : " + Application.version);
            MyLog.LogInfo("Application.unityVersion : " + Application.unityVersion);
            MyLog.LogInfo("Application.companyName : " + Application.companyName);
            MyLog.LogInfo("Application.dataPath : " + Application.dataPath);

            MyLog.LogInfo("Environment.CurrentDirectory : " + Environment.CurrentDirectory);
            MyLog.LogInfo("Environment.SystemDirectory : " + Environment.SystemDirectory);
            MyLog.LogInfo("Environment.ApplicationData : " + Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData));
            MyLog.LogInfo("Environment.CommonApplicationData : " + Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData));
            MyLog.LogInfo("Environment.LocalApplicationData : " + Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData));
            MyLog.LogInfo("Environment.Personal : " + Environment.GetFolderPath(Environment.SpecialFolder.Personal));
            MyLog.LogInfo("Environment.History : " + Environment.GetFolderPath(Environment.SpecialFolder.History));
            MyLog.LogInfo("Environment.Desktop : " + Environment.GetFolderPath(Environment.SpecialFolder.Desktop));
            MyLog.LogInfo("Environment.Programs : " + Environment.GetFolderPath(Environment.SpecialFolder.Programs));

            MyLog.LogInfo("StoreDirectoryPath : " + GameMain.Instance.SerializeStorageManager.StoreDirectoryPath);

            MyLog.LogInfo("UTY.gameProjectPath : " + UTY.gameProjectPath);
            MyLog.LogInfo("UTY.gameDataPath : " + UTY.gameDataPath);


            MyLog.LogInfo("GameMain.Instance.CMSystem.CM3D2Path : " + GameMain.Instance.CMSystem.CM3D2Path);

            MyLog.LogInfo("GameUty.IsEnabledCompatibilityMode : " + GameUty.IsEnabledCompatibilityMode);

            MyLog.LogInfo("Product.windowTitel : " + Product.windowTitel);

            MyLog.LogInfo("Product.enabeldAdditionalRelation : " + Product.enabeldAdditionalRelation);
            MyLog.LogInfo("Product.enabledSpecialRelation : " + Product.enabledSpecialRelation);

            MyLog.LogInfo("Product.isEnglish : " + Product.isEnglish);
            MyLog.LogInfo("Product.isJapan : " + Product.isJapan);
            MyLog.LogInfo("Product.isPublic : " + Product.isPublic);

            MyLog.LogInfo("Product.lockDLCSiteLink : " + Product.lockDLCSiteLink);

            MyLog.LogInfo("Product.defaultLanguage : " + Product.defaultLanguage);
            MyLog.LogInfo("Product.supportMultiLanguage : " + Product.supportMultiLanguage);
            MyLog.LogInfo("Product.systemLanguage : " + Product.systemLanguage);

            MyLog.LogInfo("Product.type : " + Product.type);

            Type type = typeof(Misc);

            foreach (var item in type.GetFields())
            {
                MyLog.LogInfo(type.Name, item.Name, item.GetValue(null));
            }

            /*
             * 추출 안됨
             * MyLog.LogInfo("GUI.skin.customStyles");
             *
             * if (GUI.skin?.customStyles != null)
             * {
             *  foreach (var item in GUI.skin.customStyles)
             *  {
             *      MyLog.LogMessage(
             *          item.name
             *          , item.fixedWidth
             *          , item.fixedHeight
             *          , item.stretchWidth
             *          , item.stretchHeight
             *          , item.font.name
             *          , item.fontSize
             *          , item.fontStyle
             *          );
             *  }
             * }
             * else
             * {
             *  MyLog.LogInfo("GUI.skin null");
             * }
             */
            MyLog.LogInfo();


            MyLog.LogMessage("성격");
            try
            {
                foreach (var item in Personal.GetAllDatas(false))
                {
                    MyLog.LogMessage("Personal:", item.id, item.replaceText, item.uniqueName, item.drawName, item.termName);//
                }
            }
            catch (Exception e)
            {
                MyLog.LogWarning("Personal:" + e.ToString());
            }

            MyLog.LogDarkBlue("=== GetGameInfo ed ===");
            LogFolder(UTY.gameProjectPath);
            LogFolder(UTY.gameProjectPath + @"\lilly");
            LogFolder(UTY.gameProjectPath + @"\BepInEx\plugins");
            LogFolder(UTY.gameProjectPath + @"\Sybaris");
            LogFolder(UTY.gameProjectPath + @"\Sybaris\UnityInjector");
        }