63 lines
1.6 KiB
Plaintext
63 lines
1.6 KiB
Plaintext
|
#include enum.meta
|
||
|
|
||
|
struct ConfInventoryItem extends ConfBase
|
||
|
itemType : EnumItemType @default: "Type2"
|
||
|
slotType : EnumSlotType @default: "Slot2"
|
||
|
end
|
||
|
|
||
|
struct ConfConsumable extends ConfInventoryItem
|
||
|
type : EnumConsumable
|
||
|
end
|
||
|
|
||
|
struct ConfSkin extends ConfInventoryItem
|
||
|
path : string
|
||
|
end
|
||
|
|
||
|
struct ConfItemAmount
|
||
|
amount : uint32 @default: 0
|
||
|
protoId : uint32 @str2num @default: 0
|
||
|
end
|
||
|
|
||
|
struct ConfShopOffer
|
||
|
price : uint32
|
||
|
itemAmount : ConfItemAmount
|
||
|
end
|
||
|
|
||
|
struct ConfBaseMarketSection
|
||
|
previewPath : string
|
||
|
shopProto : uint32 @str2num
|
||
|
end
|
||
|
|
||
|
struct ConfBaseMarket extends ConfBase
|
||
|
needPurchaseConfirmation : bool @default: false
|
||
|
sections : ConfBaseMarketSection[] @default:[]
|
||
|
end
|
||
|
|
||
|
struct ConfBaseShopItem extends ConfShopOffer
|
||
|
previewPath : string @default: ""
|
||
|
openPreviewIcon : string @default: ""
|
||
|
hidedPreviewIcon : string @default: ""
|
||
|
grade : EnumGrade @default: "COMMON"
|
||
|
end
|
||
|
|
||
|
struct ConfSkinShopItem extends ConfBaseShopItem
|
||
|
end
|
||
|
|
||
|
struct ConfBaseShop extends ConfBase
|
||
|
shopType : EnumShopType
|
||
|
confItems : ConfBaseShopItem[] @virtual @default:[]
|
||
|
end
|
||
|
|
||
|
|
||
|
struct ConfLevelRewardItem
|
||
|
openPreviewIcon : string
|
||
|
hidedPreviewIcon : string
|
||
|
item : ConfBaseShopItem @virtual @default:{}
|
||
|
itemType : EnumShopType
|
||
|
end
|
||
|
|
||
|
struct ConfLevelItemRewards extends ConfBase
|
||
|
items : ConfLevelRewardItem[] @default: []
|
||
|
minProgressPerLevel : float
|
||
|
maxProgressPerLevel : float
|
||
|
end
|