From 386bf55a4f4ae569ab0e7f9e2d13523e40201801 Mon Sep 17 00:00:00 2001 From: moreal Date: Tue, 15 Oct 2024 19:45:11 +0900 Subject: [PATCH] Bump lib9c --- Lib9c | 2 +- .../GraphTypes/States/Models/AvatarStateTypeTest.cs | 4 ++-- .../GraphTypes/States/CombinationSlotStateType.cs | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Lib9c b/Lib9c index 810b1d86a..d72847989 160000 --- a/Lib9c +++ b/Lib9c @@ -1 +1 @@ -Subproject commit 810b1d86a3f11f9780c270671b845bfa7c8bd0a1 +Subproject commit d7284798938ba67750a05fd9e09317a550cff161 diff --git a/NineChronicles.Headless.Tests/GraphTypes/States/Models/AvatarStateTypeTest.cs b/NineChronicles.Headless.Tests/GraphTypes/States/Models/AvatarStateTypeTest.cs index 2bda35e0f..b2e54fc67 100644 --- a/NineChronicles.Headless.Tests/GraphTypes/States/Models/AvatarStateTypeTest.cs +++ b/NineChronicles.Headless.Tests/GraphTypes/States/Models/AvatarStateTypeTest.cs @@ -143,9 +143,9 @@ public async Task QueryActionPoint(bool modern, Dictionary expec ["combinationSlots"] = new World(MockWorldState.CreateModern()).GetAllCombinationSlotState(Fixtures.AvatarAddress).Select(x => new Dictionary { ["address"] = x.address.ToString(), - ["unlockBlockIndex"] = x.UnlockBlockIndex, + ["unlockBlockIndex"] = x.WorkCompleteBlockIndex, ["isUnlocked"] = x.IsUnlocked, - ["startBlockIndex"] = x.StartBlockIndex, + ["startBlockIndex"] = x.WorkStartBlockIndex, ["petId"] = x.PetId }).ToArray(), } diff --git a/NineChronicles.Headless/GraphTypes/States/CombinationSlotStateType.cs b/NineChronicles.Headless/GraphTypes/States/CombinationSlotStateType.cs index c83945f50..f798e4b59 100644 --- a/NineChronicles.Headless/GraphTypes/States/CombinationSlotStateType.cs +++ b/NineChronicles.Headless/GraphTypes/States/CombinationSlotStateType.cs @@ -13,13 +13,13 @@ public CombinationSlotStateType() description: "Address of combination slot.", resolve: context => context.Source.address); Field>( - nameof(CombinationSlotState.UnlockBlockIndex), + "unlockBlockIndex", description: "Block index at the combination slot can be usable.", - resolve: context => context.Source.UnlockBlockIndex); + resolve: context => context.Source.WorkCompleteBlockIndex); Field>( - nameof(CombinationSlotState.StartBlockIndex), + "startBlockIndex", description: "Block index at the combination started.", - resolve: context => context.Source.StartBlockIndex); + resolve: context => context.Source.WorkStartBlockIndex); Field( nameof(CombinationSlotState.PetId), description: "Pet id used in equipment",