FOvrProduct
()
|
This is the default constructor for the struct, which initializes the ovrProductHandle and TOvrMessageHandlePtr to their default values.
Signature
FOvrProduct::FOvrProduct() |
FOvrProduct
(
OvrHandle
, MessageHandlePtr
)
|
Copying values from an OVR handle to the array, and the originating message to prevent the handle from being freed.
Signature
FOvrProduct::FOvrProduct(ovrProductHandle OvrHandle, TOvrMessageHandlePtr MessageHandlePtr) Parameters OvrHandle: ovrProductHandleMessageHandlePtr: TOvrMessageHandlePtr |
Description
: FString |
The description for the product. The description should be meaningful and explanatory to help outline the product and its features.
Signature
FString FOvrProduct::Description |
FormattedPrice
: FString | |
Name
: FString |
The name of the product. This will be used as a the display name and should be aligned with the user facing title.
Signature
FString FOvrProduct::Name |
Price
: FOvrPrice |
The FOvrPrice of the product contains the currency code, the amount in hundredths, and the formatted string representation.
Signature
FOvrPrice FOvrProduct::Price |
SKU
: FString |
The unique string that you use to reference the product in your app. The SKU is case-sensitive and should match the SKU reference in your code.
Signature
FString FOvrProduct::SKU |
Type
: EOvrProductType |
The type of product. An In-app purchase (IAP) add-on can be EOvrProductType::DURABLE, EOvrProductType::CONSUMABLE, or a EOvrProductType::SUBSCRIPTION.
Signature
EOvrProductType FOvrProduct::Type |
Clear
()
|
Setting all values to their defaults, effectively clearing the struct.
Signature
void FOvrProduct::Clear() Returns void |
Update
(
OvrHandle
, MessageHandlePtr
)
|
Updating values from an OVR handle to the array, and the originating message to prevent the handle from being freed.
Signature
void FOvrProduct::Update(ovrProductHandle OvrHandle, TOvrMessageHandlePtr MessageHandlePtr) Parameters OvrHandle: ovrProductHandleMessageHandlePtr: TOvrMessageHandlePtrReturns void |