From 71f723f37e6c5e083d2ec65821c885d4bd5f9cd2 Mon Sep 17 00:00:00 2001 From: tyrosine1153 Date: Tue, 12 Nov 2024 17:59:01 +0900 Subject: [PATCH 1/2] bump lib9c --- nekoyume/Assets/_Scripts/Lib9c/lib9c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nekoyume/Assets/_Scripts/Lib9c/lib9c b/nekoyume/Assets/_Scripts/Lib9c/lib9c index f3e544bfc6..0adc4ea6a0 160000 --- a/nekoyume/Assets/_Scripts/Lib9c/lib9c +++ b/nekoyume/Assets/_Scripts/Lib9c/lib9c @@ -1 +1 @@ -Subproject commit f3e544bfc6580d21d288730c2e49b8aec19611fa +Subproject commit 0adc4ea6a0087a4a9c85f5446570a57163321b19 From 9cb09db411946c26183de3c757bdc78c7b821820 Mon Sep 17 00:00:00 2001 From: tyrosine1153 Date: Tue, 12 Nov 2024 17:59:13 +0900 Subject: [PATCH 2/2] resolve compile error --- nekoyume/Assets/_Scripts/Blockchain/ActionManager.cs | 6 +----- nekoyume/Assets/_Scripts/Blockchain/ActionRenderHandler.cs | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/nekoyume/Assets/_Scripts/Blockchain/ActionManager.cs b/nekoyume/Assets/_Scripts/Blockchain/ActionManager.cs index ca4f5fd5a6..cec82bce5e 100644 --- a/nekoyume/Assets/_Scripts/Blockchain/ActionManager.cs +++ b/nekoyume/Assets/_Scripts/Blockchain/ActionManager.cs @@ -1763,11 +1763,7 @@ public IObservable> ClaimGifts( Address avatarAddress, int giftId) { - var action = new ClaimGifts - { - AvatarAddress = avatarAddress, - GiftId = giftId, - }; + var action = new ClaimGifts(avatarAddress, giftId); ProcessAction(action); return _agent.ActionRenderer.EveryRender() .Timeout(ActionTimeout) diff --git a/nekoyume/Assets/_Scripts/Blockchain/ActionRenderHandler.cs b/nekoyume/Assets/_Scripts/Blockchain/ActionRenderHandler.cs index d8e323bc40..b8976daa0f 100644 --- a/nekoyume/Assets/_Scripts/Blockchain/ActionRenderHandler.cs +++ b/nekoyume/Assets/_Scripts/Blockchain/ActionRenderHandler.cs @@ -2844,7 +2844,7 @@ private void ResponseClaimGifts(ActionEvaluation eval) var costumeSheet = Game.Game.instance.TableSheets.CostumeItemSheet; var random = new LocalRandom(eval.RandomSeed); - var (itemId, quantity) = giftRow.Items.First(); + var (itemId, quantity, tradable) = giftRow.Items.First(); var costume = ItemFactory.CreateCostume(costumeSheet[itemId], random.GenerateRandomGuid()); Widget.Find().Show(costume);