From 6d7a869636ae1a0eb14bd883cf0e3377087c9b0b Mon Sep 17 00:00:00 2001 From: hyeon Date: Fri, 5 Apr 2024 14:33:10 +0900 Subject: [PATCH] Add docs --- Lib9c/Model/State/AllRuneState.cs | 5 +++++ Lib9c/Module/RuneStateModule.cs | 3 +++ 2 files changed, 8 insertions(+) diff --git a/Lib9c/Model/State/AllRuneState.cs b/Lib9c/Model/State/AllRuneState.cs index 96974c5dd4..47182c2a20 100644 --- a/Lib9c/Model/State/AllRuneState.cs +++ b/Lib9c/Model/State/AllRuneState.cs @@ -5,6 +5,11 @@ namespace Nekoyume.Model.State { + /// + /// 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 . + /// public class AllRuneState : IState { private Dictionary Runes { get; } diff --git a/Lib9c/Module/RuneStateModule.cs b/Lib9c/Module/RuneStateModule.cs index 391f018513..b8946e10c6 100644 --- a/Lib9c/Module/RuneStateModule.cs +++ b/Lib9c/Module/RuneStateModule.cs @@ -7,6 +7,9 @@ namespace Nekoyume.Module { + /// + /// RuneStateModule is the module to use RuneState/AllRuneState with account. + /// public static class RuneStateModule { public static AllRuneState GetRuneState(this IWorldState worldState,