Skip to main content

Execute_SendCommonGiftBox

Description

Randomly selects a gift box from the CommonGiftBoxList in the RelationshipDataAsset and sends it to the BaseObject entity.

Parameters

ParameterDescription
BaseObjectThe entity that will receive the gift box
S1CarriableObjectType enum name (e.g., Food, Furniture, Goods)
S2Additional parameter passed to GiftManager.SendGiftBox (optional)

Examples

DescriptionBaseObjectCommandS1S2
Send a random common food gift box to SelfSelfSendCommonGiftBoxFood
Send a random common furniture gift box to TargetTargetSendCommonGiftBoxFurniture
Send a random common goods gift box to SelfSelfSendCommonGiftBoxGoods