Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

Commit

Permalink
🚚 Update my username
Browse files Browse the repository at this point in the history
  • Loading branch information
Chasmical committed Dec 16, 2023
1 parent 5fbd81b commit f44eddd
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions RogueLibsCore/Names/Localization/Localization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion RogueLibsPatcher/RogueLibsPatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion docs/advanced/hooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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).
:::

<Tabs>
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: Why should you use RogueLibs? Because it's really easy to use! Also

- <span style={{ fontSize: "1.1em" }}>

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).

</span>

Expand Down
2 changes: 1 addition & 1 deletion docs/localization/custom-languages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit f44eddd

Please sign in to comment.