private void InitHelpers()
 {
     Assert.IsNotNull(TextResourceHelper, "textResourceHelper not initialized in time");
     AssetDumpHelper        = AssetDumpHelper ?? CreatePluginHelper <AssetDumpHelper>();
     LocalizationDumpHelper = LocalizationDumpHelper ?? CreatePluginHelper <LocalizationDumpHelper>();
     Logger.LogDebug($"{TextResourceHelper}, {AssetDumpHelper}, {LocalizationDumpHelper}");
 }
        protected virtual bool TryDumpTitleSkillName(string assetBundleName, string assetName, AssetDumpColumnInfo _,
                                                     IDictionary <string, string> translations)
        {
            var titleSkillName = ManualLoadAsset <TitleSkillName>(assetBundleName, assetName, "abdata");

            if (titleSkillName is null)
            {
                return(false);
            }

            foreach (var entry in titleSkillName.param)
            {
                var key   = entry.name0;
                var value = entry.name1;
                ResourceHelper.AddLocalizationToResults(translations, key, value);
            }

            LocalizationDumpHelper?.AddAutoLocalizer(
                $"{assetBundleName.Replace(".unity3d", string.Empty)}/{Path.GetFileNameWithoutExtension(assetName)}",
                new Dictionary <string, string>(translations));
            return(true);
        }
 protected LocalizationDumpHelper(TextDump plugin) : base(plugin)
 {
     _instance = this;
 }