Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yuko1101 committed Jun 1, 2023
1 parent 11fdf24 commit 0847929
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/models/character/Eidolon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ class Eidolon {
readonly client: StarRail;
/** */
readonly rank: number;
/** */
/**
* This is the icon of the eidolon, not the picture of the eidolon with the character in them.
* If you would like to get it, you can find it in `ui/ui3d/rank/_dependencies/textures`.
*/
readonly icon: ImageAssets;
/** */
readonly name: TextAssets;
Expand Down Expand Up @@ -43,6 +46,7 @@ class Eidolon {
this.icon = new ImageAssets(json.getAsString("IconPath"), this.client);

this.name = new TextAssets(getStableHash(json.getAsString("Name")), this.client);
// TODO: replace placeholders with numbers in Param
this.description = new TextAssets(getStableHash(json.getAsString("Desc")), this.client);
}
}
Expand Down

1 comment on commit 0847929

@vercel
Copy link

@vercel vercel bot commented on 0847929 Jun 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

starrail – ./

starrail-git-main-yuko1101.vercel.app
starrail-yuko1101.vercel.app
starrail.vercel.app

Please sign in to comment.