Skip to content

Commit

Permalink
Updated enums from 2.81.0
Browse files Browse the repository at this point in the history
  • Loading branch information
squaresmile committed Oct 11, 2023
1 parent 74eea9c commit 31aef7c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
18 changes: 18 additions & 0 deletions app/schemas/gameenums.py
Original file line number Diff line number Diff line change
Expand Up @@ -2200,6 +2200,11 @@ class CondType(IntEnum):
COMPLETE_HEEL_PORTRAIT = 185
NOT_COMPLETE_HEEL_PORTRAIT = 186
CLASS_BOARD_SQUARE_RELEASED = 187
SVT_LEVEL_EXCHANGE_SVT = 188
SVT_LIMIT_EXCHANGE_SVT = 189
SKILL_LV_EXCHANGE_SVT = 190
SVT_FRIENDSHIP_EXCHANGE_SVT = 191
EXCHANGE_SVT = 192


class NiceCondType(StrEnum):
Expand Down Expand Up @@ -2390,6 +2395,11 @@ class NiceCondType(StrEnum):
completeHeelPortrait = "completeHeelPortrait"
notCompleteHeelPortrait = "notCompleteHeelPortrait"
classBoardSquareReleased = "classBoardSquareReleased"
svtLevelExchangeSvt = "svtLevelExchangeSvt"
svtLimitExchangeSvt = "svtLimitExchangeSvt"
skillLvExchangeSvt = "skillLvExchangeSvt"
svtFriendshipExchangeSvt = "svtFriendshipExchangeSvt"
exchangeSvt = "exchangeSvt"


COND_TYPE_NAME: dict[int, NiceCondType] = {
Expand Down Expand Up @@ -2578,6 +2588,11 @@ class NiceCondType(StrEnum):
185: NiceCondType.completeHeelPortrait,
186: NiceCondType.notCompleteHeelPortrait,
187: NiceCondType.classBoardSquareReleased,
188: NiceCondType.svtLevelExchangeSvt,
189: NiceCondType.svtLimitExchangeSvt,
190: NiceCondType.skillLvExchangeSvt,
191: NiceCondType.svtFriendshipExchangeSvt,
192: NiceCondType.exchangeSvt,
}


Expand Down Expand Up @@ -4643,6 +4658,7 @@ class CombineAdjustTargetType(IntEnum):
QUEST_FRIENDSHIP = 31
LARGE_SUCCESS_BY_CLASS = 32
SUPER_SUCCESS_BY_CLASS = 33
EXCHANGE_SVT = 34


class NiceCombineAdjustTarget(StrEnum):
Expand Down Expand Up @@ -4681,6 +4697,7 @@ class NiceCombineAdjustTarget(StrEnum):
questFriendship = "questFriendship"
largeSuccessByClass = "largeSuccessByClass"
superSuccessByClass = "superSuccessByClass"
exchangeSvt = "exchangeSvt"


COMBINE_ADJUST_TARGET_TYPE_NAME: dict[int, NiceCombineAdjustTarget] = {
Expand Down Expand Up @@ -4717,6 +4734,7 @@ class NiceCombineAdjustTarget(StrEnum):
31: NiceCombineAdjustTarget.questFriendship,
32: NiceCombineAdjustTarget.largeSuccessByClass,
33: NiceCombineAdjustTarget.superSuccessByClass,
34: NiceCombineAdjustTarget.exchangeSvt,
}


Expand Down
6 changes: 6 additions & 0 deletions scripts/enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,11 @@ export enum NiceCondType {
COMPLETE_HEEL_PORTRAIT = "completeHeelPortrait",
NOT_COMPLETE_HEEL_PORTRAIT = "notCompleteHeelPortrait",
CLASS_BOARD_SQUARE_RELEASED = "classBoardSquareReleased",
SVT_LEVEL_EXCHANGE_SVT = "svtLevelExchangeSvt",
SVT_LIMIT_EXCHANGE_SVT = "svtLimitExchangeSvt",
SKILL_LV_EXCHANGE_SVT = "skillLvExchangeSvt",
SVT_FRIENDSHIP_EXCHANGE_SVT = "svtFriendshipExchangeSvt",
EXCHANGE_SVT = "exchangeSvt",
}

export enum NiceVoiceCondType {
Expand Down Expand Up @@ -1617,6 +1622,7 @@ export enum NiceCombineAdjustTarget {
QUEST_FRIENDSHIP = "questFriendship",
LARGE_SUCCESS_BY_CLASS = "largeSuccessByClass",
SUPER_SUCCESS_BY_CLASS = "superSuccessByClass",
EXCHANGE_SVT = "exchangeSvt",
}

export enum NiceEventCombineCalc {
Expand Down

0 comments on commit 31aef7c

Please sign in to comment.