mirror of
https://github.com/Walter-Sparrow/lunar-tear.git
synced 2026-07-02 05:43:41 +03:00
Initial commit
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
package model
|
||||
|
||||
type CharacterBoardEffectType int32
|
||||
|
||||
const (
|
||||
CharacterBoardEffectTypeUnknown CharacterBoardEffectType = 0
|
||||
CharacterBoardEffectTypeAbility CharacterBoardEffectType = 1
|
||||
CharacterBoardEffectTypeStatusUp CharacterBoardEffectType = 2
|
||||
)
|
||||
|
||||
type CharacterBoardStatusUpType int32
|
||||
|
||||
const (
|
||||
CharacterBoardStatusUpTypeUnknown CharacterBoardStatusUpType = 0
|
||||
CharacterBoardStatusUpTypeAgilityAdd CharacterBoardStatusUpType = 1
|
||||
CharacterBoardStatusUpTypeAgilityMultiply CharacterBoardStatusUpType = 2
|
||||
CharacterBoardStatusUpTypeAttackAdd CharacterBoardStatusUpType = 3
|
||||
CharacterBoardStatusUpTypeAttackMultiply CharacterBoardStatusUpType = 4
|
||||
CharacterBoardStatusUpTypeCritAttackAdd CharacterBoardStatusUpType = 5
|
||||
CharacterBoardStatusUpTypeCritRatioAdd CharacterBoardStatusUpType = 6
|
||||
CharacterBoardStatusUpTypeHpAdd CharacterBoardStatusUpType = 7
|
||||
CharacterBoardStatusUpTypeHpMultiply CharacterBoardStatusUpType = 8
|
||||
CharacterBoardStatusUpTypeVitalityAdd CharacterBoardStatusUpType = 9
|
||||
CharacterBoardStatusUpTypeVitalityMultiply CharacterBoardStatusUpType = 10
|
||||
)
|
||||
|
||||
type StatusCalculationType int32
|
||||
|
||||
const (
|
||||
StatusCalculationTypeUnknown StatusCalculationType = 0
|
||||
StatusCalculationTypeAdd StatusCalculationType = 1
|
||||
StatusCalculationTypeMultiply StatusCalculationType = 2
|
||||
)
|
||||
|
||||
func StatusUpTypeToCalcType(t CharacterBoardStatusUpType) StatusCalculationType {
|
||||
switch t {
|
||||
case CharacterBoardStatusUpTypeAgilityMultiply,
|
||||
CharacterBoardStatusUpTypeAttackMultiply,
|
||||
CharacterBoardStatusUpTypeHpMultiply,
|
||||
CharacterBoardStatusUpTypeVitalityMultiply:
|
||||
return StatusCalculationTypeMultiply
|
||||
default:
|
||||
return StatusCalculationTypeAdd
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package model
|
||||
|
||||
type DeckType int32
|
||||
|
||||
const (
|
||||
DeckTypeUnknown DeckType = 0
|
||||
DeckTypeQuest DeckType = 1
|
||||
DeckTypePvp DeckType = 2
|
||||
DeckTypeMulti DeckType = 3
|
||||
DeckTypeRestrictedQuest DeckType = 4
|
||||
DeckTypeBigHunt DeckType = 5
|
||||
DeckTypeRestrictedLimitContentQuest DeckType = 6
|
||||
)
|
||||
@@ -0,0 +1,13 @@
|
||||
package model
|
||||
|
||||
const (
|
||||
EffectTargetUnknown int32 = 0
|
||||
EffectTargetStaminaRecovery int32 = 1
|
||||
EffectTargetBattlePointRecovery int32 = 2
|
||||
)
|
||||
|
||||
const (
|
||||
EffectValueUnknown int32 = 0
|
||||
EffectValueFixed int32 = 1
|
||||
EffectValuePermil int32 = 2
|
||||
)
|
||||
@@ -0,0 +1,31 @@
|
||||
package model
|
||||
|
||||
type EvaluateConditionFunctionType int32
|
||||
|
||||
const (
|
||||
EvaluateConditionFunctionTypeUnknown EvaluateConditionFunctionType = 0
|
||||
EvaluateConditionFunctionTypeRecursion EvaluateConditionFunctionType = 1
|
||||
EvaluateConditionFunctionTypeCageTreasureHunt EvaluateConditionFunctionType = 2
|
||||
EvaluateConditionFunctionTypeCageIntervalDropItem EvaluateConditionFunctionType = 3
|
||||
EvaluateConditionFunctionTypeQuestClear EvaluateConditionFunctionType = 4
|
||||
EvaluateConditionFunctionTypeGimmickBitCount EvaluateConditionFunctionType = 5
|
||||
EvaluateConditionFunctionTypeWeaponAcquisition EvaluateConditionFunctionType = 6
|
||||
EvaluateConditionFunctionTypeTutorial EvaluateConditionFunctionType = 7
|
||||
EvaluateConditionFunctionTypeMissionClear EvaluateConditionFunctionType = 8
|
||||
EvaluateConditionFunctionTypeQuestMissionClear EvaluateConditionFunctionType = 9
|
||||
EvaluateConditionFunctionTypeOtherGimmickBitCount EvaluateConditionFunctionType = 10
|
||||
EvaluateConditionFunctionTypeQuestSceneChoice EvaluateConditionFunctionType = 11
|
||||
EvaluateConditionFunctionTypeQuestNotClear EvaluateConditionFunctionType = 12
|
||||
)
|
||||
|
||||
type EvaluateConditionEvaluateType int32
|
||||
|
||||
const (
|
||||
EvaluateConditionEvaluateTypeUnknown EvaluateConditionEvaluateType = 0
|
||||
EvaluateConditionEvaluateTypeAnd EvaluateConditionEvaluateType = 1
|
||||
EvaluateConditionEvaluateTypeOr EvaluateConditionEvaluateType = 2
|
||||
EvaluateConditionEvaluateTypeGE EvaluateConditionEvaluateType = 3
|
||||
EvaluateConditionEvaluateTypeIdContain EvaluateConditionEvaluateType = 4
|
||||
EvaluateConditionEvaluateTypeEQ EvaluateConditionEvaluateType = 5
|
||||
EvaluateConditionEvaluateTypeLE EvaluateConditionEvaluateType = 6
|
||||
)
|
||||
@@ -0,0 +1,121 @@
|
||||
package model
|
||||
|
||||
const (
|
||||
GachaLabelUnknown int32 = 0
|
||||
GachaLabelPremium int32 = 1
|
||||
GachaLabelEvent int32 = 2
|
||||
GachaLabelChapter int32 = 3
|
||||
GachaLabelPortalCage int32 = 4
|
||||
GachaLabelRecycle int32 = 5
|
||||
)
|
||||
|
||||
const (
|
||||
GachaModeUnknown int32 = 0
|
||||
GachaModeBasic int32 = 1
|
||||
GachaModeStepup int32 = 2
|
||||
GachaModeBox int32 = 3
|
||||
)
|
||||
|
||||
const (
|
||||
GachaUnlockUnknown int32 = 0
|
||||
GachaUnlockNone int32 = 1
|
||||
GachaUnlockUserRankGreaterOrEqual int32 = 2
|
||||
GachaUnlockWithinHoursFromGameStart int32 = 3
|
||||
GachaUnlockMainQuestClear int32 = 4
|
||||
GachaUnlockMainFunctionReleased int32 = 5
|
||||
)
|
||||
|
||||
const (
|
||||
GachaAutoResetUnknown int32 = 0
|
||||
GachaAutoResetNone int32 = 1
|
||||
GachaAutoResetDaily int32 = 2
|
||||
GachaAutoResetMonthly int32 = 3
|
||||
)
|
||||
|
||||
const (
|
||||
GachaDecorationUnknown int32 = 0
|
||||
GachaDecorationNormal int32 = 1
|
||||
GachaDecorationFestival int32 = 2
|
||||
)
|
||||
|
||||
const (
|
||||
GachaBadgeTypeNone int32 = 1
|
||||
)
|
||||
|
||||
const (
|
||||
PriceTypeUnknown int32 = 0
|
||||
PriceTypeConsumableItem int32 = 1
|
||||
PriceTypeGem int32 = 2
|
||||
PriceTypePaidGem int32 = 3
|
||||
PriceTypePlatformPayment int32 = 4
|
||||
)
|
||||
|
||||
const (
|
||||
BannerPrefixLimited = "limited_"
|
||||
BannerPrefixStepUp = "step_up_"
|
||||
BannerPrefixCommon = "common_"
|
||||
)
|
||||
|
||||
func IsMaterialBanner(labelType int32) bool {
|
||||
return labelType == GachaLabelChapter || labelType == GachaLabelRecycle || labelType == GachaLabelPortalCage
|
||||
}
|
||||
|
||||
const MomBannerDomainGacha int32 = 1
|
||||
|
||||
const StepUpGroupDivisor int32 = 1000
|
||||
|
||||
const (
|
||||
PityCeilingCount int32 = 200
|
||||
MedalCountCap int32 = 9999
|
||||
)
|
||||
|
||||
const (
|
||||
PremiumSinglePullPrice int32 = 300
|
||||
PremiumMultiPullPrice int32 = 3000
|
||||
PremiumMultiPullCount int32 = 10
|
||||
)
|
||||
|
||||
const (
|
||||
StepUpStep1Cost int32 = 2000
|
||||
StepUpStep3Cost int32 = 3000
|
||||
StepUpStep5Cost int32 = 5000
|
||||
StepUpFreeCost int32 = 0
|
||||
)
|
||||
|
||||
const (
|
||||
FeaturedRateUpPercent int = 35
|
||||
FeaturedRateUpDenom int = 100
|
||||
)
|
||||
|
||||
const (
|
||||
StepUpRateBoost float64 = 1.5
|
||||
StepUpRateMaxBoost float64 = 2.0
|
||||
)
|
||||
|
||||
const (
|
||||
DupGradeMin int32 = 2
|
||||
DupGradeRange int = 4
|
||||
)
|
||||
|
||||
type DupExchangeEntry struct {
|
||||
PossessionType int32
|
||||
PossessionId int32
|
||||
Count int32
|
||||
}
|
||||
|
||||
const DefaultDailyDrawLimit int32 = 5
|
||||
|
||||
const (
|
||||
BoxPoolMaxItems int = 50
|
||||
BoxPoolMinItems int = 5
|
||||
BoxItemDefaultMax int32 = 10
|
||||
BoxFallbackItemMax int32 = 20
|
||||
BoxFallbackItemId int32 = 100001
|
||||
)
|
||||
|
||||
const PhaseIdMultiplier int32 = 10
|
||||
|
||||
const (
|
||||
ConsumableIdPremiumTicket int32 = 1
|
||||
ConsumableIdChapterTicket int32 = 2
|
||||
)
|
||||
@@ -0,0 +1,21 @@
|
||||
package model
|
||||
|
||||
type MaterialType int32
|
||||
|
||||
const (
|
||||
MaterialTypeUnknown MaterialType = 0
|
||||
MaterialTypeWeaponEnhancement MaterialType = 10
|
||||
MaterialTypeCostumeEnhancement MaterialType = 20
|
||||
MaterialTypeCompanionEnhancement MaterialType = 30
|
||||
MaterialTypeWeaponSkillEnhancement MaterialType = 40
|
||||
MaterialTypeCostumeSkillEnhancement MaterialType = 50
|
||||
MaterialTypeCommonSkillEnhancement MaterialType = 60
|
||||
MaterialTypeWeaponEvolution MaterialType = 70
|
||||
MaterialTypeWeaponLimitBreak MaterialType = 80
|
||||
MaterialTypeCostumeLimitBreak MaterialType = 90
|
||||
MaterialTypeCharacterBoardRelease MaterialType = 100
|
||||
MaterialTypeCostumeAwaken MaterialType = 110
|
||||
MaterialTypeCharacterRebirth MaterialType = 120
|
||||
MaterialTypeWeaponAwaken MaterialType = 130
|
||||
MaterialTypeCostumeLotteryEffectUnlock MaterialType = 140
|
||||
)
|
||||
@@ -0,0 +1,14 @@
|
||||
package model
|
||||
|
||||
type NumericalFunctionType int32
|
||||
|
||||
const (
|
||||
NumericalFunctionTypeUnknown NumericalFunctionType = 0
|
||||
NumericalFunctionTypeLinear NumericalFunctionType = 1
|
||||
NumericalFunctionTypeMonomial NumericalFunctionType = 2
|
||||
NumericalFunctionTypeDuplexLinear NumericalFunctionType = 3
|
||||
NumericalFunctionTypeLinearPermil NumericalFunctionType = 4
|
||||
NumericalFunctionTypePolynomialThird NumericalFunctionType = 5
|
||||
NumericalFunctionTypePolynomialThirdPermil NumericalFunctionType = 6
|
||||
NumericalFunctionTypePartsMainOption NumericalFunctionType = 7
|
||||
)
|
||||
@@ -0,0 +1,23 @@
|
||||
package model
|
||||
|
||||
type PossessionType int32
|
||||
|
||||
const (
|
||||
PossessionTypeUnknown PossessionType = 0
|
||||
PossessionTypeCostume PossessionType = 1
|
||||
PossessionTypeWeapon PossessionType = 2
|
||||
PossessionTypeCompanion PossessionType = 3
|
||||
PossessionTypeParts PossessionType = 4
|
||||
PossessionTypeMaterial PossessionType = 5
|
||||
PossessionTypeConsumableItem PossessionType = 6
|
||||
PossessionTypeCostumeEnhanced PossessionType = 7
|
||||
PossessionTypeWeaponEnhanced PossessionType = 8
|
||||
PossessionTypeCompanionEnhanced PossessionType = 9
|
||||
PossessionTypePartsEnhanced PossessionType = 10
|
||||
PossessionTypePaidGem PossessionType = 11
|
||||
PossessionTypeFreeGem PossessionType = 12
|
||||
PossessionTypeImportantItem PossessionType = 13
|
||||
PossessionTypeThought PossessionType = 14
|
||||
PossessionTypeMissionPassPoint PossessionType = 15
|
||||
PossessionTypePremiumItem PossessionType = 16
|
||||
)
|
||||
@@ -0,0 +1,160 @@
|
||||
package model
|
||||
|
||||
import "fmt"
|
||||
|
||||
type QuestFlowType int32
|
||||
|
||||
const (
|
||||
QuestFlowTypeUnknown QuestFlowType = 0
|
||||
QuestFlowTypeMainFlow QuestFlowType = 1
|
||||
QuestFlowTypeSubFlow QuestFlowType = 2
|
||||
QuestFlowTypeReplayFlow QuestFlowType = 3
|
||||
QuestFlowTypeAnotherRouteReplayFlow QuestFlowType = 4
|
||||
)
|
||||
|
||||
func (t QuestFlowType) String() string {
|
||||
switch t {
|
||||
case QuestFlowTypeUnknown:
|
||||
return "unknown"
|
||||
case QuestFlowTypeMainFlow:
|
||||
return "main-flow"
|
||||
case QuestFlowTypeSubFlow:
|
||||
return "sub-flow"
|
||||
case QuestFlowTypeReplayFlow:
|
||||
return "replay-flow"
|
||||
case QuestFlowTypeAnotherRouteReplayFlow:
|
||||
return "another-route-replay-flow"
|
||||
default:
|
||||
return fmt.Sprintf("unknown-quest-flow(%d)", int32(t))
|
||||
}
|
||||
}
|
||||
|
||||
type QuestResultType int32
|
||||
|
||||
const (
|
||||
QuestResultTypeUnknown QuestResultType = 0
|
||||
QuestResultTypeNone QuestResultType = 1
|
||||
QuestResultTypeHalfResult QuestResultType = 2
|
||||
QuestResultTypeFullResult QuestResultType = 3
|
||||
)
|
||||
|
||||
type QuestSceneType int32
|
||||
|
||||
const (
|
||||
QuestSceneTypeUnknown QuestSceneType = 0
|
||||
QuestSceneTypeTower QuestSceneType = 1
|
||||
QuestSceneTypePictureBook QuestSceneType = 2
|
||||
QuestSceneTypeField QuestSceneType = 3
|
||||
QuestSceneTypeNovel QuestSceneType = 4
|
||||
QuestSceneTypeLimitContent QuestSceneType = 5
|
||||
)
|
||||
|
||||
type QuestMissionConditionType int
|
||||
|
||||
const (
|
||||
QuestMissionConditionTypeUnknown QuestMissionConditionType = 0
|
||||
QuestMissionConditionTypeLessThanOrEqualXPeopleNotAlive QuestMissionConditionType = 1
|
||||
QuestMissionConditionTypeMaxDamage QuestMissionConditionType = 2
|
||||
QuestMissionConditionTypeSpecifiedCostumeIsInDeck QuestMissionConditionType = 3
|
||||
QuestMissionConditionTypeSpecifiedCharacterIsInDeck QuestMissionConditionType = 4
|
||||
QuestMissionConditionTypeSpecifiedAttributeMainWeaponIsInDeck QuestMissionConditionType = 5
|
||||
QuestMissionConditionTypeGreaterThanOrEqualXCostumeSkillUseCount QuestMissionConditionType = 6
|
||||
QuestMissionConditionTypeGreaterThanOrEqualXWeaponSkillUseCount QuestMissionConditionType = 7
|
||||
QuestMissionConditionTypeGreaterThanOrEqualXCompanionSkillUseCount QuestMissionConditionType = 8
|
||||
QuestMissionConditionTypeCostumeSkillfulWeaponAllCharacter QuestMissionConditionType = 9
|
||||
QuestMissionConditionTypeCostumeSkillfulWeaponAnyCharacter QuestMissionConditionType = 10
|
||||
QuestMissionConditionTypeCostumeRarityEqAllCharacter QuestMissionConditionType = 11
|
||||
QuestMissionConditionTypeCostumeRarityGeAllCharacter QuestMissionConditionType = 12
|
||||
QuestMissionConditionTypeCostumeRarityLeAllCharacter QuestMissionConditionType = 13
|
||||
QuestMissionConditionTypeCostumeRarityEqAnyCharacter QuestMissionConditionType = 14
|
||||
QuestMissionConditionTypeCostumeRarityGeAnyCharacter QuestMissionConditionType = 15
|
||||
QuestMissionConditionTypeCostumeRarityLeAnyCharacter QuestMissionConditionType = 16
|
||||
QuestMissionConditionTypeWeaponEvolutionGroupId QuestMissionConditionType = 17
|
||||
QuestMissionConditionTypeSpecifiedAttributeWeaponIsInDeck QuestMissionConditionType = 18
|
||||
QuestMissionConditionTypeSpecifiedAttributeMainWeaponAllCharacter QuestMissionConditionType = 19
|
||||
QuestMissionConditionTypeSpecifiedAttributeWeaponAllCharacter QuestMissionConditionType = 20
|
||||
QuestMissionConditionTypeWeaponManSkillfulWeaponAllCharacter QuestMissionConditionType = 21
|
||||
QuestMissionConditionTypeWeaponSkillfulWeaponAllCharacter QuestMissionConditionType = 22
|
||||
QuestMissionConditionTypeWeaponManSkillfulWeaponAnyCharacter QuestMissionConditionType = 23
|
||||
QuestMissionConditionTypeWeaponSkillfulWeaponAnyCharacter QuestMissionConditionType = 24
|
||||
QuestMissionConditionTypeWeaponRarityEqAllCharacter QuestMissionConditionType = 25
|
||||
QuestMissionConditionTypeWeaponRarityGeAllCharacter QuestMissionConditionType = 26
|
||||
QuestMissionConditionTypeWeaponRarityLeAllCharacter QuestMissionConditionType = 27
|
||||
QuestMissionConditionTypeWeaponMainRarityEqAllCharacter QuestMissionConditionType = 28
|
||||
QuestMissionConditionTypeWeaponMainRarityGeAllCharacter QuestMissionConditionType = 29
|
||||
QuestMissionConditionTypeWeaponMainRarityLeAllCharacter QuestMissionConditionType = 30
|
||||
QuestMissionConditionTypeWeaponRarityEqAnyCharacter QuestMissionConditionType = 31
|
||||
QuestMissionConditionTypeWeaponRarityGeAnyCharacter QuestMissionConditionType = 32
|
||||
QuestMissionConditionTypeWeaponRarityLeAnyCharacter QuestMissionConditionType = 33
|
||||
QuestMissionConditionTypeWeaponMainRarityEqAnyCharacter QuestMissionConditionType = 34
|
||||
QuestMissionConditionTypeWeaponMainRarityGeAnyCharacter QuestMissionConditionType = 35
|
||||
QuestMissionConditionTypeWeaponMainRarityLeAnyCharacter QuestMissionConditionType = 36
|
||||
QuestMissionConditionTypeCompanionId QuestMissionConditionType = 37
|
||||
QuestMissionConditionTypeCompanionAttribute QuestMissionConditionType = 38
|
||||
QuestMissionConditionTypeCompanionCategory QuestMissionConditionType = 39
|
||||
QuestMissionConditionTypePartsId QuestMissionConditionType = 40
|
||||
QuestMissionConditionTypePartsGroupId QuestMissionConditionType = 41
|
||||
QuestMissionConditionTypePartsRarityEq QuestMissionConditionType = 42
|
||||
QuestMissionConditionTypePartsRarityGe QuestMissionConditionType = 43
|
||||
QuestMissionConditionTypePartsRarityLe QuestMissionConditionType = 44
|
||||
QuestMissionConditionTypeDeckPowerGe QuestMissionConditionType = 45
|
||||
QuestMissionConditionTypeDeckPowerLe QuestMissionConditionType = 46
|
||||
QuestMissionConditionTypeDeckCostumeNumEq QuestMissionConditionType = 47
|
||||
QuestMissionConditionTypeDeckCostumeNumGe QuestMissionConditionType = 48
|
||||
QuestMissionConditionTypeDeckCostumeNumLe QuestMissionConditionType = 49
|
||||
QuestMissionConditionTypeCriticalCountGe QuestMissionConditionType = 50
|
||||
QuestMissionConditionTypeMinHpPercentageGe QuestMissionConditionType = 51
|
||||
QuestMissionConditionTypeComboCountGe QuestMissionConditionType = 52
|
||||
QuestMissionConditionTypeComboMaxDamageGe QuestMissionConditionType = 53
|
||||
QuestMissionConditionTypeLessThanOrEqualXCostumeSkillUseCount QuestMissionConditionType = 54
|
||||
QuestMissionConditionTypeLessThanOrEqualXWeaponSkillUseCount QuestMissionConditionType = 55
|
||||
QuestMissionConditionTypeLessThanOrEqualXCompanionSkillUseCount QuestMissionConditionType = 56
|
||||
QuestMissionConditionTypeWithoutRecoverySkill QuestMissionConditionType = 57
|
||||
QuestMissionConditionTypeWithoutCostumeSkill QuestMissionConditionType = 58
|
||||
QuestMissionConditionTypeWithoutWeaponSkill QuestMissionConditionType = 59
|
||||
QuestMissionConditionTypeWithoutCompanionSkill QuestMissionConditionType = 60
|
||||
QuestMissionConditionTypeCharacterContainAll QuestMissionConditionType = 61
|
||||
QuestMissionConditionTypeCharacterContainAny QuestMissionConditionType = 62
|
||||
QuestMissionConditionTypeCostumeContainAll QuestMissionConditionType = 63
|
||||
QuestMissionConditionTypeCostumeContainAny QuestMissionConditionType = 64
|
||||
QuestMissionConditionTypeCostumeSkillfulWeaponContainAll QuestMissionConditionType = 65
|
||||
QuestMissionConditionTypeCostumeSkillfulWeaponContainAny QuestMissionConditionType = 66
|
||||
QuestMissionConditionTypeAttributeMainWeaponContainAll QuestMissionConditionType = 67
|
||||
QuestMissionConditionTypeAttributeMainWeaponContainAny QuestMissionConditionType = 68
|
||||
QuestMissionConditionTypeAttributeWeaponContainAll QuestMissionConditionType = 69
|
||||
QuestMissionConditionTypeAttributeWeaponContainAny QuestMissionConditionType = 70
|
||||
QuestMissionConditionTypeWeaponManSkillfulWeaponContainAll QuestMissionConditionType = 71
|
||||
QuestMissionConditionTypeWeaponManSkillfulWeaponContainAny QuestMissionConditionType = 72
|
||||
QuestMissionConditionTypeWeaponSkillfulWeaponContainAll QuestMissionConditionType = 73
|
||||
QuestMissionConditionTypeWeaponSkillfulWeaponContainAny QuestMissionConditionType = 74
|
||||
QuestMissionConditionTypeComplete QuestMissionConditionType = 9999
|
||||
)
|
||||
|
||||
type WeaponStoryReleaseConditionType int32
|
||||
|
||||
const (
|
||||
WeaponStoryReleaseConditionTypeUnknown WeaponStoryReleaseConditionType = 0
|
||||
WeaponStoryReleaseConditionTypeAcquisition WeaponStoryReleaseConditionType = 1
|
||||
WeaponStoryReleaseConditionTypeReachSpecifiedLevel WeaponStoryReleaseConditionType = 2
|
||||
WeaponStoryReleaseConditionTypeReachInitialMaxLevel WeaponStoryReleaseConditionType = 3
|
||||
WeaponStoryReleaseConditionTypeReachOnceEvolvedMaxLevel WeaponStoryReleaseConditionType = 4
|
||||
WeaponStoryReleaseConditionTypeReachSpecifiedEvolutionCount WeaponStoryReleaseConditionType = 5
|
||||
WeaponStoryReleaseConditionTypeQuestClear WeaponStoryReleaseConditionType = 6
|
||||
WeaponStoryReleaseConditionTypeMainFlowSceneProgress WeaponStoryReleaseConditionType = 7
|
||||
)
|
||||
|
||||
type UserQuestStateType int32
|
||||
|
||||
const (
|
||||
UserQuestStateTypeUnknown UserQuestStateType = 0
|
||||
UserQuestStateTypeActive UserQuestStateType = 1
|
||||
UserQuestStateTypeCleared UserQuestStateType = 2
|
||||
)
|
||||
|
||||
type SideStoryQuestStateType int32
|
||||
|
||||
const (
|
||||
SideStoryQuestStateUnknown SideStoryQuestStateType = 0
|
||||
SideStoryQuestStateActive SideStoryQuestStateType = 1
|
||||
SideStoryQuestStateCleared SideStoryQuestStateType = 2
|
||||
)
|
||||
@@ -0,0 +1,11 @@
|
||||
package model
|
||||
|
||||
type RarityType = int32
|
||||
|
||||
const (
|
||||
RarityNormal RarityType = 10
|
||||
RarityRare RarityType = 20
|
||||
RaritySRare RarityType = 30
|
||||
RaritySSRare RarityType = 40
|
||||
RarityLegend RarityType = 50
|
||||
)
|
||||
@@ -0,0 +1,9 @@
|
||||
package model
|
||||
|
||||
const (
|
||||
ShopGroupTypeUnknown int32 = 0
|
||||
ShopGroupTypePremiumShop int32 = 1
|
||||
ShopGroupTypeItemShop int32 = 3
|
||||
ShopGroupTypeExchangeShop int32 = 4
|
||||
ShopGroupTypeRecoveryShop int32 = 5
|
||||
)
|
||||
@@ -0,0 +1,23 @@
|
||||
package model
|
||||
|
||||
type StatusKindType int32
|
||||
|
||||
const (
|
||||
StatusKindTypeUnknown StatusKindType = 0
|
||||
StatusKindTypeAgility StatusKindType = 1
|
||||
StatusKindTypeAttack StatusKindType = 2
|
||||
StatusKindTypeCriticalAttack StatusKindType = 3
|
||||
StatusKindTypeCriticalRatio StatusKindType = 4
|
||||
StatusKindTypeEvasionRatio StatusKindType = 5
|
||||
StatusKindTypeHp StatusKindType = 6
|
||||
StatusKindTypeVitality StatusKindType = 7
|
||||
)
|
||||
|
||||
type CostumeAwakenEffectType int32
|
||||
|
||||
const (
|
||||
CostumeAwakenEffectTypeUnknown CostumeAwakenEffectType = 0
|
||||
CostumeAwakenEffectTypeStatusUp CostumeAwakenEffectType = 1
|
||||
CostumeAwakenEffectTypeAbility CostumeAwakenEffectType = 2
|
||||
CostumeAwakenEffectTypeItemAcquire CostumeAwakenEffectType = 3
|
||||
)
|
||||
@@ -0,0 +1,117 @@
|
||||
package model
|
||||
|
||||
type TutorialType int32
|
||||
|
||||
const (
|
||||
TutorialTypeUnknown TutorialType = 0
|
||||
TutorialTypeGameStart TutorialType = 1
|
||||
TutorialTypeMenuFirst TutorialType = 2
|
||||
TutorialTypeMenuSecond TutorialType = 3
|
||||
TutorialTypeBattleWeaponSkill TutorialType = 4
|
||||
TutorialTypeBattleCostumeSkill TutorialType = 5
|
||||
TutorialTypeBlackBird TutorialType = 6
|
||||
TutorialTypeEnhance TutorialType = 7
|
||||
TutorialTypeCompanion TutorialType = 8
|
||||
TutorialTypeParts TutorialType = 9
|
||||
TutorialTypeExplore TutorialType = 10
|
||||
TutorialTypePvp TutorialType = 11
|
||||
TutorialTypeMainQuestHard TutorialType = 12
|
||||
TutorialTypeMainQuestVeryHard TutorialType = 13
|
||||
TutorialTypeEventQuestFirst TutorialType = 14
|
||||
TutorialTypeEventQuestCharacter TutorialType = 15
|
||||
TutorialTypeEventQuestMarathon TutorialType = 16
|
||||
TutorialTypeEventQuestHunt TutorialType = 17
|
||||
TutorialTypeEventQuestDungeon TutorialType = 18
|
||||
TutorialTypeEventQuestDayOfTheWeek TutorialType = 19
|
||||
TutorialTypeEventQuestGuerrilla TutorialType = 20
|
||||
TutorialTypeEndContents TutorialType = 21
|
||||
TutorialTypeEndContentsQuest TutorialType = 22
|
||||
TutorialTypeExploreGame1 TutorialType = 23
|
||||
TutorialTypeExploreGame2 TutorialType = 24
|
||||
TutorialTypePortalCage TutorialType = 25
|
||||
TutorialTypePortalCageMainQuest TutorialType = 26
|
||||
TutorialTypeCage TutorialType = 27
|
||||
TutorialTypePortalCageDailyQuest TutorialType = 28
|
||||
TutorialTypePortalCageDailyGacha TutorialType = 29
|
||||
TutorialTypePortalCageDropItem TutorialType = 30
|
||||
TutorialTypePortalCageReachedLastScene TutorialType = 31
|
||||
TutorialTypePortalCageCharacter1 TutorialType = 32
|
||||
TutorialTypePortalCageCharacter2 TutorialType = 33
|
||||
TutorialTypePortalCageCharacter3 TutorialType = 34
|
||||
TutorialTypePortalCageCharacter4 TutorialType = 35
|
||||
TutorialTypePortalCageCharacter5 TutorialType = 36
|
||||
TutorialTypeBlackBirdCharacter1 TutorialType = 37
|
||||
TutorialTypeBlackBirdCharacter2 TutorialType = 38
|
||||
TutorialTypeBlackBirdCharacter3 TutorialType = 39
|
||||
TutorialTypeGohobi TutorialType = 40
|
||||
TutorialTypeGohobiDrop TutorialType = 41
|
||||
TutorialTypeBattleCancelEnemyCast1 TutorialType = 42
|
||||
TutorialTypeBattleCancelEnemyCast2 TutorialType = 43
|
||||
TutorialTypeLoseFirst TutorialType = 44
|
||||
TutorialTypeRewardGacha TutorialType = 45
|
||||
TutorialTypeBigWinBonusFirst TutorialType = 46
|
||||
TutorialTypeBigHunt TutorialType = 47
|
||||
TutorialTypeTripleDeck TutorialType = 48
|
||||
TutorialTypeCharacterBoard TutorialType = 49
|
||||
TutorialTypeCharacterBoardBasic TutorialType = 50
|
||||
TutorialTypeCharacterBoardBigHunt TutorialType = 51
|
||||
TutorialTypeWorldMap TutorialType = 52
|
||||
TutorialTypeMapItemFull TutorialType = 53
|
||||
TutorialTypeWorldMapBlackBird TutorialType = 54
|
||||
TutorialTypeWorldMapTreasure TutorialType = 55
|
||||
TutorialTypeBrokenObelisk TutorialType = 56
|
||||
TutorialTypeLoseFirstAfterChapter TutorialType = 57
|
||||
TutorialTypeReplayFlowSkip TutorialType = 58
|
||||
TutorialTypeWorldMapOutgame TutorialType = 59
|
||||
TutorialTypeBattleCertainKillSkill TutorialType = 60
|
||||
TutorialTypeSmartPhoneFirst TutorialType = 101
|
||||
TutorialTypePhotoFirst TutorialType = 102
|
||||
TutorialTypeDailyGacha TutorialType = 103
|
||||
TutorialTypePortalCageSeason TutorialType = 104
|
||||
TutorialTypeQuestSkip TutorialType = 201
|
||||
TutorialTypePortalCageChapter TutorialType = 202
|
||||
TutorialTypeCharacterBoardUnlock TutorialType = 301
|
||||
TutorialTypeBlackBirdSistersFirst TutorialType = 401
|
||||
TutorialTypeCostumeLevelBonus TutorialType = 501
|
||||
TutorialTypeWorldMapReport TutorialType = 601
|
||||
TutorialTypeBossSpecialEffect TutorialType = 701
|
||||
TutorialTypeEventQuestGuerrillaFree TutorialType = 801
|
||||
TutorialTypeExploreHard TutorialType = 901
|
||||
TutorialTypeCageMemory TutorialType = 1001
|
||||
TutorialTypeDressupCostume TutorialType = 1101
|
||||
TutorialTypeCostumeAwaken TutorialType = 1201
|
||||
TutorialTypeThoughtOrganization TutorialType = 1202
|
||||
TutorialTypeHideObelisk TutorialType = 1301
|
||||
TutorialTypeLimitContent TutorialType = 1302
|
||||
TutorialTypeFieldEffect TutorialType = 1303
|
||||
TutorialTypeLimitContentCage TutorialType = 1304
|
||||
TutorialTypeCharacterViewer TutorialType = 1305
|
||||
TutorialTypeRecycleGacha TutorialType = 1306
|
||||
TutorialTypeMomPoint TutorialType = 1401
|
||||
TutorialTypeStainedGlass TutorialType = 1402
|
||||
TutorialTypeCharacterRebirth TutorialType = 1501
|
||||
TutorialTypeWeaponAwaken TutorialType = 1502
|
||||
TutorialTypeEventQuestLabyrinth TutorialType = 1503
|
||||
TutorialTypeProperAttribute TutorialType = 1601
|
||||
TutorialTypeMissionPass TutorialType = 1701
|
||||
TutorialTypeWeaponAllOrganization TutorialType = 1702
|
||||
TutorialTypeCostumeLotteryEffect TutorialType = 1801
|
||||
TutorialTypeAnotherRoute TutorialType = 2001
|
||||
TutorialTypeDeleteCostumeFio TutorialType = 2101
|
||||
)
|
||||
|
||||
type TutorialUnlockConditionType int32
|
||||
|
||||
const (
|
||||
TutorialUnlockConditionTypeFunctionReleased TutorialUnlockConditionType = 1
|
||||
TutorialUnlockConditionTypeReachSpecifiedQuestScene TutorialUnlockConditionType = 2
|
||||
TutorialUnlockConditionTypeUntilReachSpecifiedScene TutorialUnlockConditionType = 3
|
||||
)
|
||||
|
||||
// TutorialPhase values are runtime-initialized in the client (static readonly),
|
||||
// so only observed values are listed here.
|
||||
type TutorialPhase int32
|
||||
|
||||
const (
|
||||
TutorialPhaseMomMenuEditDeck TutorialPhase = 20
|
||||
)
|
||||
Reference in New Issue
Block a user