2026-07-17 16:55:22 +08:00

88 lines
3.1 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package resource
const (
TypeAvatarFrame = "avatar_frame"
TypeProfileCard = "profile_card"
TypeCoin = "coin"
TypeVehicle = "vehicle"
TypeChatBubble = "chat_bubble"
TypeBadge = "badge"
TypeFloatingScreen = "floating_screen"
TypeGift = "gift"
TypeMicSeatIcon = "mic_seat_icon"
TypeMicSeatAnimation = "mic_seat_animation"
// TypeRoomBorder 与 TypeRoomNameStyle 是房间级装扮目录类型;应用动作必须进入 Room Cell
// 不能复用 user_resource_equipment 把房间状态错误地挂到用户全局 appearance。
TypeRoomBorder = "room_border"
TypeRoomNameStyle = "room_name_style"
TypeEmojiPack = "emoji_pack"
// TypeVIPTrialCard 是可在背包中独立计时、单选佩戴的 VIP 体验卡。
// VIP 等级和有效期事实仍由 user_vip_trial_cards 保存,资源目录只负责素材和通用背包展示。
TypeVIPTrialCard = "vip_trial_card"
StatusActive = "active"
StatusDisabled = "disabled"
StatusDeleted = "deleted"
GrantStrategyWalletCredit = "wallet_credit"
GrantStrategyNewEntitlement = "new_entitlement"
GrantStrategyExtendExpiry = "extend_expiry"
GrantStrategyIncreaseQuantity = "increase_quantity"
GrantStrategySetActiveFlag = "set_active_flag"
GrantSubjectResource = "resource"
GrantSubjectGroup = "resource_group"
GrantSubjectGroupSnapshot = "resource_group_snapshot"
GrantSourceAdmin = "admin"
GrantSourceManagerCenter = "manager_center"
GrantSourceGrowthLevel = "growth_level"
GrantSourceAchievement = "achievement"
GrantSourceResourceShop = "resource_shop"
GrantSourceGameRobotInit = "game_robot_init"
// GrantSourceVIPPaid 与 GrantSourceVIPTrial 把两种 VIP 生效来源的 entitlement
// 完全隔离;任一来源到期或撤销都不能缩短另一来源仍有效的装扮权益。
GrantSourceVIPPaid = "vip_paid"
GrantSourceVIPTrial = "vip_trial"
GrantStatusDone = "succeeded"
GrantStatusRevoked = "revoked"
ResultWalletCredit = "wallet_credit"
ResultEntitlement = "entitlement"
GroupItemTypeResource = "resource"
GroupItemTypeWalletAsset = "wallet_asset"
GiftTypeNormal = "normal"
GiftTypeCP = "cp"
GiftTypeLucky = "lucky"
GiftTypeSuperLucky = "super_lucky"
GiftTypeExclusive = "exclusive"
GiftTypeNoble = "noble"
GiftTypeFlag = "flag"
GiftTypeActivity = "activity"
GiftTypeMagic = "magic"
GiftTypeCustom = "custom"
GiftTypeTabKeyNormal = "Gift"
GiftTypeTabKeyCP = "CP"
GiftTypeTabKeyLucky = "Lucky"
GiftTypeTabKeySuperLucky = "Super Lucky"
GiftTypeTabKeyExclusive = "Exclusive"
GiftTypeTabKeyNoble = "Noble"
GiftTypeTabKeyFlag = "Flag"
GiftTypeTabKeyActivity = "Activity"
GiftTypeTabKeyMagic = "Magic"
GiftTypeTabKeyCustom = "Custom"
GiftEffectAnimation = "animation"
GiftEffectMusic = "music"
GiftEffectGlobalBroadcast = "global_broadcast"
PriceTypeCoin = "coin"
PriceTypeFree = "free"
ShopDurationOneDay int32 = 1
ShopDurationThreeDays int32 = 3
ShopDurationSevenDays int32 = 7
)