Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Decompiled source of REPO Korean Translation BETA v1.1.81
BepInEx/plugins/REPOKR.dll
Decompiled 10 months agousing System; using System.Diagnostics; using System.IO; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("MyUnityGameMod1")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("MyUnityGameMod1")] [assembly: AssemblyCopyright("Copyright © 2023")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("93c44d3d-4e31-4de0-ab50-eaa729259e00")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] [assembly: AssemblyVersion("1.0.0.0")] namespace CopyFontAssetBundle { [BepInPlugin("com.myname.copyfontassetbundle", "REFOKR", "1.0.0")] public class Plugin : BaseUnityPlugin { private void Awake() { ((BaseUnityPlugin)this).Logger.LogInfo((object)"한글 폰트 찾는중"); string sourcePath = Path.Combine(Paths.ConfigPath, "ko", "font2"); string targetPath = Path.Combine(Paths.GameRootPath, "font2"); CopyAssetBundle(sourcePath, targetPath); } private void CopyAssetBundle(string sourcePath, string targetPath) { try { if (!File.Exists(sourcePath)) { ((BaseUnityPlugin)this).Logger.LogError((object)("찾음: " + sourcePath)); } else if (!File.Exists(targetPath)) { File.Copy(sourcePath, targetPath); ((BaseUnityPlugin)this).Logger.LogInfo((object)("복사 중: " + targetPath)); } else { ((BaseUnityPlugin)this).Logger.LogInfo((object)"준비 완료"); } } catch (Exception ex) { ((BaseUnityPlugin)this).Logger.LogError((object)("Error copying AssetBundle: " + ex.Message)); } } } } namespace MyUnityGameMod1.MonoBehaviours { internal class MyUnityGameMod1Component : MonoBehaviour { public void Awake() { } public void Start() { } public void Update() { } public void LateUpdate() { } } }