From f44edddb5e9a56f636c3fd175b594e5ce8965e04 Mon Sep 17 00:00:00 2001 From: Abbysssal Date: Sat, 16 Dec 2023 14:35:03 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A=20Update=20my=20username?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- RogueLibsCore/Names/Localization/Localization.cs | 4 ++-- RogueLibsPatcher/RogueLibsPatcher.cs | 2 +- docs/advanced/hooks.mdx | 2 +- docs/getting-started/introduction.mdx | 2 +- docs/localization/custom-languages.mdx | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/RogueLibsCore/Names/Localization/Localization.cs b/RogueLibsCore/Names/Localization/Localization.cs index fb590166..e08339f1 100644 --- a/RogueLibsCore/Names/Localization/Localization.cs +++ b/RogueLibsCore/Names/Localization/Localization.cs @@ -47,7 +47,7 @@ private static bool PermitDownload() private static LanguageVersions? Versions; private static bool DownloadIndex() { - const string url = "https://raw.githubusercontent.com/SugarBarrel/RogueLibs/main/RogueLibsCore/Resources/locale.index.xml"; + const string url = "https://raw.githubusercontent.com/Chasmical/RogueLibs/main/RogueLibsCore/Resources/locale.index.xml"; string downloadPath = Path.Combine(localePath, ".vanilla.index.xml"); try { @@ -118,7 +118,7 @@ private static int ReadPrefix(XmlReader reader) } private static void UpdateLanguage(string language, string filePath, int newVersion) { - string url = $"https://raw.githubusercontent.com/SugarBarrel/RogueLibs/main/RogueLibsCore/Resources/locale.{language}.xml"; + string url = $"https://raw.githubusercontent.com/Chasmical/RogueLibs/main/RogueLibsCore/Resources/locale.{language}.xml"; string downloadPath = filePath + ".download"; WebClient web = new WebClient(); try diff --git a/RogueLibsPatcher/RogueLibsPatcher.cs b/RogueLibsPatcher/RogueLibsPatcher.cs index a932c40f..e22bc062 100644 --- a/RogueLibsPatcher/RogueLibsPatcher.cs +++ b/RogueLibsPatcher/RogueLibsPatcher.cs @@ -77,7 +77,7 @@ public static void PatchField(string typeName, string fieldName) if (type.Fields is null) Error(5, typeName); // Note: Do not use LINQ here. Apparently, some versions of Mono may be missing System.Func and System.Action. - // (see https://github.com/SugarBarrel/ECTD/issues/4) + // (see https://github.com/Chasmical/ECTD/issues/4) for (int i = 0, count = type.Fields.Count; i < count; i++) if (type.Fields[i].Name == fieldName) return; diff --git a/docs/advanced/hooks.mdx b/docs/advanced/hooks.mdx index 5241d48f..528b1a04 100644 --- a/docs/advanced/hooks.mdx +++ b/docs/advanced/hooks.mdx @@ -77,7 +77,7 @@ If you want to attach hooks to instances right when they are initialized, use [H ## Examples {#examples} :::info -Custom content classes (`CustomItem`, `CustomTrait`, `CustomEffect`, `CustomAbility` and others) are hooks, by the way. You can see the custom classes' implementation in [RogueLibs' source code](https://github.com/SugarBarrel/RogueLibs/tree/main/RogueLibsCore/Hooks). +Custom content classes (`CustomItem`, `CustomTrait`, `CustomEffect`, `CustomAbility` and others) are hooks, by the way. You can see the custom classes' implementation in [RogueLibs' source code](https://github.com/Chasmical/RogueLibs/tree/main/RogueLibsCore/Hooks). ::: diff --git a/docs/getting-started/introduction.mdx b/docs/getting-started/introduction.mdx index c4013da1..80a29249 100644 --- a/docs/getting-started/introduction.mdx +++ b/docs/getting-started/introduction.mdx @@ -11,7 +11,7 @@ description: Why should you use RogueLibs? Because it's really easy to use! Also - - Because it's really easy to use! Just check out some examples in [here](https://github.com/SugarBarrel/RogueLibs/tree/main/RogueLibsCore.Test/Tests). + Because it's really easy to use! Just check out some examples in [here](https://github.com/Chasmical/RogueLibs/tree/main/RogueLibsCore.Test/Tests). diff --git a/docs/localization/custom-languages.mdx b/docs/localization/custom-languages.mdx index c7cfbd88..e5385297 100644 --- a/docs/localization/custom-languages.mdx +++ b/docs/localization/custom-languages.mdx @@ -12,7 +12,7 @@ LanguageCode code = LanguageService.RegisterLanguageCode("japanese"); ``` :::info{title="Work-In-Progress"} -There hasn't been much progress on actually implementing custom languages. No one has ever translated the entire game to a different language, not yet included with SoR. When that time comes, feel free to [create an issue on GitHub](https://github.com/SugarBarrel/RogueLibs/issues/new/choose). +There hasn't been much progress on actually implementing custom languages. No one has ever translated the entire game to a different language, not yet included with SoR. When that time comes, feel free to [create an issue on GitHub](https://github.com/Chasmical/RogueLibs/issues/new/choose). ::: ## `LanguageService` {#languageservice}