Skip to content

Commit

Permalink
deploy: 4578ef1
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrosine1153 committed Oct 31, 2024
1 parent a809f35 commit 1cf0d6d
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 54 deletions.
44 changes: 4 additions & 40 deletions feature/claim-one-time-gift/api/Nekoyume.Action.ClaimGifts.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ <h2 class="section" id="constructors">Constructors

<h3 id="Nekoyume_Action_ClaimGifts__ctor" data-uid="Nekoyume.Action.ClaimGifts.#ctor">
ClaimGifts()
<a class="header-action link-secondary" title="View source" href="https://github.com/planetarium/lib9c/blob/feature/claim-one-time-gift/Lib9c/Action/ClaimGifts.cs/#L33"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/planetarium/lib9c/blob/feature/claim-one-time-gift/Lib9c/Action/ClaimGifts.cs/#L31"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand All @@ -224,7 +224,7 @@ <h3 id="Nekoyume_Action_ClaimGifts__ctor" data-uid="Nekoyume.Action.ClaimGifts.#

<h3 id="Nekoyume_Action_ClaimGifts__ctor_Libplanet_Crypto_Address_System_Int32_" data-uid="Nekoyume.Action.ClaimGifts.#ctor(Libplanet.Crypto.Address,System.Int32)">
ClaimGifts(Address, int)
<a class="header-action link-secondary" title="View source" href="https://github.com/planetarium/lib9c/blob/feature/claim-one-time-gift/Lib9c/Action/ClaimGifts.cs/#L27"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/planetarium/lib9c/blob/feature/claim-one-time-gift/Lib9c/Action/ClaimGifts.cs/#L25"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand Down Expand Up @@ -325,7 +325,7 @@ <h2 class="section" id="properties">Properties

<h3 id="Nekoyume_Action_ClaimGifts_PlainValueInternal" data-uid="Nekoyume.Action.ClaimGifts.PlainValueInternal">
PlainValueInternal
<a class="header-action link-secondary" title="View source" href="https://github.com/planetarium/lib9c/blob/feature/claim-one-time-gift/Lib9c/Action/ClaimGifts.cs/#L37"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/planetarium/lib9c/blob/feature/claim-one-time-gift/Lib9c/Action/ClaimGifts.cs/#L35"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand Down Expand Up @@ -356,42 +356,6 @@ <h2 class="section" id="methods">Methods
</h2>


<a id="Nekoyume_Action_ClaimGifts_ClaimedGiftIdsAddress_" data-uid="Nekoyume.Action.ClaimGifts.ClaimedGiftIdsAddress*"></a>

<h3 id="Nekoyume_Action_ClaimGifts_ClaimedGiftIdsAddress_Libplanet_Crypto_Address_" data-uid="Nekoyume.Action.ClaimGifts.ClaimedGiftIdsAddress(Libplanet.Crypto.Address)">
ClaimedGiftIdsAddress(Address)
<a class="header-action link-secondary" title="View source" href="https://github.com/planetarium/lib9c/blob/feature/claim-one-time-gift/Lib9c/Action/ClaimGifts.cs/#L24"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static Address ClaimedGiftIdsAddress(Address avatarAddress)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>avatarAddress</code> <span class="xref">Address</span></dt>
<dd></dd>
</dl>

<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><span class="xref">Address</span></dt>
<dd></dd>
</dl>











<a id="Nekoyume_Action_ClaimGifts_Execute_" data-uid="Nekoyume.Action.ClaimGifts.Execute*"></a>

<h3 id="Nekoyume_Action_ClaimGifts_Execute_Libplanet_Action_IActionContext_" data-uid="Nekoyume.Action.ClaimGifts.Execute(Libplanet.Action.IActionContext)">
Expand Down Expand Up @@ -481,7 +445,7 @@ <h4 class="section" id="Nekoyume_Action_ClaimGifts_Execute_Libplanet_Action_IAct

<h3 id="Nekoyume_Action_ClaimGifts_LoadPlainValueInternal_System_Collections_Immutable_IImmutableDictionary_System_String_Bencodex_Types_IValue__" data-uid="Nekoyume.Action.ClaimGifts.LoadPlainValueInternal(System.Collections.Immutable.IImmutableDictionary{System.String,Bencodex.Types.IValue})">
LoadPlainValueInternal(IImmutableDictionary&lt;string, IValue&gt;)
<a class="header-action link-secondary" title="View source" href="https://github.com/planetarium/lib9c/blob/feature/claim-one-time-gift/Lib9c/Action/ClaimGifts.cs/#L41"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/planetarium/lib9c/blob/feature/claim-one-time-gift/Lib9c/Action/ClaimGifts.cs/#L40"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand Down
Binary file modified feature/claim-one-time-gift/api/toc.pdf
Binary file not shown.
Binary file modified feature/claim-one-time-gift/articles/currencies/toc.pdf
Binary file not shown.
Binary file modified feature/claim-one-time-gift/articles/system/avatar/toc.pdf
Binary file not shown.
Binary file modified feature/claim-one-time-gift/articles/system/toc.pdf
Binary file not shown.
Binary file modified feature/claim-one-time-gift/articles/toc.pdf
Binary file not shown.
Binary file modified feature/claim-one-time-gift/contributing/documentation/toc.pdf
Binary file not shown.
Binary file modified feature/claim-one-time-gift/contributing/toc.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion feature/claim-one-time-gift/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
"api/Nekoyume.Action.ClaimGifts.html": {
"href": "api/Nekoyume.Action.ClaimGifts.html",
"title": "Class ClaimGifts | Lib9c",
"keywords": "Class ClaimGifts Namespace Nekoyume.Action Assembly Lib9c.dll [ActionType(\"claim_gifts\")] public class ClaimGifts : GameAction, IAction Inheritance object ActionBase GameAction ClaimGifts Implements IAction Inherited Members GameAction.Id GameAction.PlainValue GameAction.LoadPlainValue(IValue) ActionBase.GoldCurrencyMock ActionBase.GetSignerAndOtherAddressesHex(IActionContext, params Address[]) ActionBase.LogError(IActionContext, string, params object[]) ActionBase.TryGetAdminState(IActionContext, out AdminState) ActionBase.CheckPermission(IActionContext) ActionBase.CheckObsolete(long, IActionContext) ActionBase.UseV100291Sheets(long) ActionBase.CheckActionAvailable(long, IActionContext) object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() Constructors ClaimGifts() public ClaimGifts() ClaimGifts(Address, int) public ClaimGifts(Address avatarAddress, int giftId) Parameters avatarAddress Address giftId int Fields AvatarAddress public Address AvatarAddress Field Value Address GiftId public int GiftId Field Value int Properties PlainValueInternal protected override IImmutableDictionary<string, IValue> PlainValueInternal { get; } Property Value IImmutableDictionary<string, IValue> Methods ClaimedGiftIdsAddress(Address) public static Address ClaimedGiftIdsAddress(Address avatarAddress) Parameters avatarAddress Address Returns Address Execute(IActionContext) Executes the main game logic of an action. This should be deterministic. Through the context object, it receives information such as a transaction signer, its states immediately before the execution, and a deterministic random seed. Other “bound” information resides in the action object in itself, as its properties (or fields). A returned Libplanet.Action.State.IWorld object functions as a delta which shifts from previous states to next states. public override IWorld Execute(IActionContext context) Parameters context IActionContext A context object containing addresses that signed the transaction, states immediately before the execution, and a PRNG object which produces deterministic random numbers. See Libplanet.Action.IActionContext for details. Returns IWorld A map of changed states (so-called \"dirty\"). Remarks This method should be deterministic: for structurally (member-wise) equal actions and Libplanet.Action.IActionContexts, the same result should be returned. Side effects should be avoided, because an action's Libplanet.Action.IAction.Execute(Libplanet.Action.IActionContext) method can be called more than once, the time it's called is difficult to predict. For changing in-memory game states or drawing graphics, implement the Blockchain.Renderers.IRenderer interface separately and attach it to a Blockchain.BlockChain instance. For randomness, never use Random nor any other PRNGs provided by other than Libplanet. Use IActionContext.Random instead. IActionContext.Random guarantees the same action has the consistent result for every node in the network. Also do not perform I/O operations such as file system access or networking. These bring an action indeterministic. You maybe fine to log messages for debugging purpose, but equivalent messages could be logged multiple times. Although it might be surprising, floating-point arithmetics are underspecified so that it can make different results on different machines, platforms, runtimes, compilers, and builds. Lastly, you need to be aware and keep in mind that there is a global state named CurrentCulture on .NET; if you format numbers, dates and times, currencies, or other such things into strings and parse these strings back these can rely on CurrentCulture, so that the same action make different results on two differently configured systems like Thai language and French language. In order to make these types of conversions deterministic, you have to explicitly pass InvariantCulture. For more on determinism in general, please read also Tendermint ABCI's docs on determinism. Lastly, you can conduct static analysis on your code using Libplanet.Analyzers. The analyzer can be enabled by adding its NuGet package into your project as a dependency. See Also IActionContext LoadPlainValueInternal(IImmutableDictionary<string, IValue>) protected override void LoadPlainValueInternal(IImmutableDictionary<string, IValue> plainValue) Parameters plainValue IImmutableDictionary<string, IValue>"
"keywords": "Class ClaimGifts Namespace Nekoyume.Action Assembly Lib9c.dll [ActionType(\"claim_gifts\")] public class ClaimGifts : GameAction, IAction Inheritance object ActionBase GameAction ClaimGifts Implements IAction Inherited Members GameAction.Id GameAction.PlainValue GameAction.LoadPlainValue(IValue) ActionBase.GoldCurrencyMock ActionBase.GetSignerAndOtherAddressesHex(IActionContext, params Address[]) ActionBase.LogError(IActionContext, string, params object[]) ActionBase.TryGetAdminState(IActionContext, out AdminState) ActionBase.CheckPermission(IActionContext) ActionBase.CheckObsolete(long, IActionContext) ActionBase.UseV100291Sheets(long) ActionBase.CheckActionAvailable(long, IActionContext) object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() Constructors ClaimGifts() public ClaimGifts() ClaimGifts(Address, int) public ClaimGifts(Address avatarAddress, int giftId) Parameters avatarAddress Address giftId int Fields AvatarAddress public Address AvatarAddress Field Value Address GiftId public int GiftId Field Value int Properties PlainValueInternal protected override IImmutableDictionary<string, IValue> PlainValueInternal { get; } Property Value IImmutableDictionary<string, IValue> Methods Execute(IActionContext) Executes the main game logic of an action. This should be deterministic. Through the context object, it receives information such as a transaction signer, its states immediately before the execution, and a deterministic random seed. Other “bound” information resides in the action object in itself, as its properties (or fields). A returned Libplanet.Action.State.IWorld object functions as a delta which shifts from previous states to next states. public override IWorld Execute(IActionContext context) Parameters context IActionContext A context object containing addresses that signed the transaction, states immediately before the execution, and a PRNG object which produces deterministic random numbers. See Libplanet.Action.IActionContext for details. Returns IWorld A map of changed states (so-called \"dirty\"). Remarks This method should be deterministic: for structurally (member-wise) equal actions and Libplanet.Action.IActionContexts, the same result should be returned. Side effects should be avoided, because an action's Libplanet.Action.IAction.Execute(Libplanet.Action.IActionContext) method can be called more than once, the time it's called is difficult to predict. For changing in-memory game states or drawing graphics, implement the Blockchain.Renderers.IRenderer interface separately and attach it to a Blockchain.BlockChain instance. For randomness, never use Random nor any other PRNGs provided by other than Libplanet. Use IActionContext.Random instead. IActionContext.Random guarantees the same action has the consistent result for every node in the network. Also do not perform I/O operations such as file system access or networking. These bring an action indeterministic. You maybe fine to log messages for debugging purpose, but equivalent messages could be logged multiple times. Although it might be surprising, floating-point arithmetics are underspecified so that it can make different results on different machines, platforms, runtimes, compilers, and builds. Lastly, you need to be aware and keep in mind that there is a global state named CurrentCulture on .NET; if you format numbers, dates and times, currencies, or other such things into strings and parse these strings back these can rely on CurrentCulture, so that the same action make different results on two differently configured systems like Thai language and French language. In order to make these types of conversions deterministic, you have to explicitly pass InvariantCulture. For more on determinism in general, please read also Tendermint ABCI's docs on determinism. Lastly, you can conduct static analysis on your code using Libplanet.Analyzers. The analyzer can be enabled by adding its NuGet package into your project as a dependency. See Also IActionContext LoadPlainValueInternal(IImmutableDictionary<string, IValue>) protected override void LoadPlainValueInternal(IImmutableDictionary<string, IValue> plainValue) Parameters plainValue IImmutableDictionary<string, IValue>"
},
"api/Nekoyume.Action.ClaimItems.html": {
"href": "api/Nekoyume.Action.ClaimItems.html",
Expand Down
Binary file modified feature/claim-one-time-gift/toc.pdf
Binary file not shown.
13 changes: 0 additions & 13 deletions feature/claim-one-time-gift/xrefmap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6311,19 +6311,6 @@ references:
commentId: F:Nekoyume.Action.ClaimGifts.AvatarAddress
fullName: Nekoyume.Action.ClaimGifts.AvatarAddress
nameWithType: ClaimGifts.AvatarAddress
- uid: Nekoyume.Action.ClaimGifts.ClaimedGiftIdsAddress(Libplanet.Crypto.Address)
name: ClaimedGiftIdsAddress(Address)
href: api/Nekoyume.Action.ClaimGifts.html#Nekoyume_Action_ClaimGifts_ClaimedGiftIdsAddress_Libplanet_Crypto_Address_
commentId: M:Nekoyume.Action.ClaimGifts.ClaimedGiftIdsAddress(Libplanet.Crypto.Address)
fullName: Nekoyume.Action.ClaimGifts.ClaimedGiftIdsAddress(Libplanet.Crypto.Address)
nameWithType: ClaimGifts.ClaimedGiftIdsAddress(Address)
- uid: Nekoyume.Action.ClaimGifts.ClaimedGiftIdsAddress*
name: ClaimedGiftIdsAddress
href: api/Nekoyume.Action.ClaimGifts.html#Nekoyume_Action_ClaimGifts_ClaimedGiftIdsAddress_
commentId: Overload:Nekoyume.Action.ClaimGifts.ClaimedGiftIdsAddress
isSpec: "True"
fullName: Nekoyume.Action.ClaimGifts.ClaimedGiftIdsAddress
nameWithType: ClaimGifts.ClaimedGiftIdsAddress
- uid: Nekoyume.Action.ClaimGifts.Execute(Libplanet.Action.IActionContext)
name: Execute(IActionContext)
href: api/Nekoyume.Action.ClaimGifts.html#Nekoyume_Action_ClaimGifts_Execute_Libplanet_Action_IActionContext_
Expand Down

0 comments on commit 1cf0d6d

Please sign in to comment.