Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
U-lis committed Apr 5, 2024
1 parent dc7aeeb commit 6d7a869
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Lib9c/Model/State/AllRuneState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@

namespace Nekoyume.Model.State
{
/// <summary>
/// This is new version of rune state. This state stores all rune states of an avatar.
/// AllRuneState has all RuneStates as dictionary and has methods to get/set/update each RuneState.
/// Use this with <see cref="Nekoyume.Module.RuneStateModule"/>.
/// </summary>
public class AllRuneState : IState
{
private Dictionary<int, RuneState> Runes { get; }
Expand Down
3 changes: 3 additions & 0 deletions Lib9c/Module/RuneStateModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

namespace Nekoyume.Module
{
/// <summary>
/// RuneStateModule is the module to use RuneState/AllRuneState with account.
/// </summary>
public static class RuneStateModule
{
public static AllRuneState GetRuneState(this IWorldState worldState,
Expand Down

0 comments on commit 6d7a869

Please sign in to comment.