Skip to content

Commit

Permalink
📝 Shorten create function doc
Browse files Browse the repository at this point in the history
  • Loading branch information
bal7hazar committed Nov 13, 2024
1 parent 92ae132 commit 5de432c
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions packages/trophy/src/components/achievable.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,12 @@ mod AchievableComponent {
/// * `world`: The world storage.
/// * `id`: The achievement identifier, it should be unique.
/// * `hidden`: Speicify if you want the achievement to be hidden in the controller UI.
/// * `index`: The achievement index which is the page in which the achievement will be
/// displayed within the group.
/// * `index`: The achievement index which the page of the achievement group page.
/// * `points`: The achievement points to reward the player.
/// * `start`: The achievement start timestamp, it should be used for ephemeral
/// achievements, `0` for everlasting achievements.
/// * `end`: The achievement end timestamp, it should be used for ephemeral achievements,
/// `0` for everlasting achievements.
/// * `group`: The achievement group, it should be used to group achievements together (see
/// also `index` to define multiple pages).
/// * `icon`: The achievement icon, it should be a
/// [FontAwesome](https://fontawesome.com/icons) icon name (e.g. `fa-trophy`).
/// * `start`: The achievement start timestamp, `0` for everlasting achievements.
/// * `end`: The achievement end timestamp, `0` for everlasting achievements.
/// * `group`: The achievement group, it should be used to group achievements together.
/// * `icon`: The achievement icon, it should be a FontAwesome icon name (e.g. `fa-trophy`).
/// * `title`: The achievement title.
/// * `description`: The achievement global description.
/// * `tasks`: The achievement tasks (see also `Task` type).
Expand Down

0 comments on commit 5de432c

Please sign in to comment.