Skip to content

Commit

Permalink
Added new enums from 2.94.0
Browse files Browse the repository at this point in the history
  • Loading branch information
squaresmile committed Jun 28, 2024
1 parent 9056fd6 commit 012b246
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
6 changes: 4 additions & 2 deletions packages/api-connector/src/Enum/Cond.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,10 @@ export enum CondType {
LATEST_QUEST_PHASE_EQUAL = "latestQuestPhaseEqual",
NOT_LATEST_QUEST_PHASE_EQUAL = "notLatestQuestPhaseEqual",
PURCHASE_SHOP_NUM = "purchaseShopNum",
MISSION_ACHIEVE_NUM_BELOW = "missionAchieveNumBelow",
MISSION_ACHIEVE_NUM_ABOVE = "missionAchieveNumAbove",
EVENT_TRADE_TOTAL_NUM = "eventTradeTotalNum",
LIMITED_MISSION_ACHIEVE_NUM_BELOW = "limitedMissionAchieveNumBelow",
LIMITED_MISSION_ACHIEVE_NUM_ABOVE = "limitedMissionAchieveNumAbove",
NOT_SVT_VOICE_PLAYED = "notSvtVoicePlayed",
}

export default CondType;
2 changes: 2 additions & 0 deletions packages/api-connector/src/Schema/Combine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,6 @@ export enum CombineAdjustTarget {
QUEST_FRIENDSHIP = "questFriendship",
LARGE_SUCCESS_BY_CLASS = "largeSuccessByClass",
SUPER_SUCCESS_BY_CLASS = "superSuccessByClass",
EXCHANGE_SVT = "exchangeSvt",
QUEST_ITEM_FIRST_TIME = "questItemFirstTime",
}
2 changes: 2 additions & 0 deletions packages/api-connector/src/Schema/DataVal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ interface BaseDataVal {
ShortenBuffHalfTurnInOpponentTurn?: number;
ExtendBuffHalfTurnInPartyTurn?: number;
ShortenBuffHalfTurnInPartyTurn?: number;
LinkageBuffGrantSuccessEvenIfOtherFailed?: number;
}

export interface DataVal extends BaseDataVal {
Expand Down Expand Up @@ -356,4 +357,5 @@ export enum DataValField {
SHORTEN_BUFF_HALF_TURN_IN_OPPONENT_TURN = "ShortenBuffHalfTurnInOpponentTurn",
EXTEND_BUFF_HALF_TURN_IN_PARTY_TURN = "ExtendBuffHalfTurnInPartyTurn",
SHORTEN_BUFF_HALF_TURN_IN_PARTY_TURN = "ShortenBuffHalfTurnInPartyTurn",
LINKAGE_BUFF_GRANT_SUCCESS_EVEN_IF_OTHER_FAILED = "LinkageBuffGrantSuccessEvenIfOtherFailed",
}
4 changes: 3 additions & 1 deletion packages/api-connector/src/Schema/Frequency.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
export enum FrequencyType {
NONE = "none",
ONCE = "once",
ONCE_UNTIL_REBOOT = "onceUntilReboot",
EVERY_TIME = "everyTime",
VALENTINE = "valentine",
EVERY_TIME_AFTER = "everyTimeAfter",
NONE = "none",
EVERY_TIME_BEFORE = "everyTimeBefore",
ONCE_UNTIL_REMIND = "onceUntilRemind",
}
1 change: 1 addition & 0 deletions packages/api-connector/src/Schema/Profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export enum ProfileVoiceType {
EVENT_EXPEDITION = "eventExpedition",
EVENT_RECIPE = "eventRecipe",
EVENT_FORTIFICATION = "eventFortification",
EVENT_TRADE = "eventTrade",
SUM = "sum",
}

Expand Down

0 comments on commit 012b246

Please sign in to comment.