Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restore Summon.HasNotification #6484

Merged
merged 2 commits into from
Nov 22, 2024
Merged

Conversation

sonohoshi
Copy link
Member

Description

  1. Summon 코드를 재작성하면서 날려먹었던 noti 코드를 현재 스펙에 맞게 재작성했습니다.

Related Links

resolve #6370

Screenshot

Image
Image

Copy link

@sonohoshi The versions of bundled Libplanet assemblies and Libplanet submodule vendored by Lib9c apparently do not match:

  • Libplanet submdoule:
  • Libplanet.Action.dll: 5.4.0
  • Libplanet.Common.dll: 5.4.0
  • Libplanet.Crypto.dll: 5.4.0
  • Libplanet.Mocks.dll: 5.4.0
  • Libplanet.RocksDBStore.dll: 5.4.0
  • Libplanet.Store.dll: 5.4.0
  • Libplanet.Types.dll: 5.4.0
  • Libplanet.dll: 5.4.0

Leave a comment in this pull_request with the following command to let the bot upgrade bundled Libplanet assemblies:

/update-libplanet-dlls

{
var costType = (CostType)summonRow.CostMaterial;
var cost = summonRow.CostMaterialCount;
result |= SimpleCostButton.CheckCostOfType(costType, cost);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true일 경우 바로 리턴해도 될 것 같습니다

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

그러네요 괜히 순회 더 하는것보다 그게 나을듯?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eugene-doobu Any 쓰게 바꿨습니다. 알아서 linq가 최적화 해주겠거니...

@sonohoshi sonohoshi merged commit c76ec7a into prepare/250.0.x Nov 22, 2024
2 checks passed
@sonohoshi sonohoshi deleted the bugfix/summon-noti branch November 22, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

[소환] 소환 재화가 없는 상태에서 워크샵 소환 버튼에 레드닷이 출력되는 현상
2 participants