Skip to content

Commit

Permalink
fix: warning disable CS0618 about CombinationSlotState.UnlockStage
Browse files Browse the repository at this point in the history
  • Loading branch information
sonohoshi authored and greymistcube committed Nov 7, 2023
1 parent 1d6e0f8 commit b0e1912
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ public CombinationSlotStateType()
nameof(CombinationSlotState.UnlockBlockIndex),
description: "Block index at the combination slot can be usable.",
resolve: context => context.Source.UnlockBlockIndex);
#pragma warning disable CS0618
Field<NonNullGraphType<IntGraphType>>(
nameof(CombinationSlotState.UnlockStage),
nameof(
CombinationSlotState.UnlockStage),
description: "Stage id at the combination slot unlock.",
resolve: context => context.Source.UnlockStage);
#pragma warning restore CS0618
Field<NonNullGraphType<LongGraphType>>(
nameof(CombinationSlotState.StartBlockIndex),
description: "Block index at the combination started.",
Expand Down

0 comments on commit b0e1912

Please sign in to comment.