API reference
API reference
Select your platform
No SDKs available
No versions available

FOvrPrice Struct

The price of a FOvrProduct. A price with a currency of "USD" and an amount in hundredths of 99 has a formatted string of "$0.99".

Constructors

FOvrPrice ()
This is the default constructor for the struct, which initializes the ovrPriceHandle and TOvrMessageHandlePtr to their default values.
Signature
FOvrPrice::FOvrPrice()
FOvrPrice ( OvrHandle , MessageHandlePtr )
Copying values from an OVR handle to the array, and the originating message to prevent the handle from being freed.
Signature
FOvrPrice::FOvrPrice(ovrPriceHandle OvrHandle, TOvrMessageHandlePtr MessageHandlePtr)
Parameters
OvrHandle: ovrPriceHandle
MessageHandlePtr: TOvrMessageHandlePtr

Fields

AmountInHundredths : int32
The price of the product in hundredths of currency units.
Signature
int32 FOvrPrice::AmountInHundredths
Currency : FString
The ISO 4217 currency code for the price of the product.
Signature
FString FOvrPrice::Currency
Formatted : FString
The formatted string representation of the price.
Signature
FString FOvrPrice::Formatted

Member Functions

Clear ()
Setting all values to their defaults, effectively clearing the struct.
Signature
void FOvrPrice::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 FOvrPrice::Update(ovrPriceHandle OvrHandle, TOvrMessageHandlePtr MessageHandlePtr)
Parameters
OvrHandle: ovrPriceHandle
MessageHandlePtr: TOvrMessageHandlePtr
Returns
void