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

FOvrPrice Struct

The price of a FOvrProduct. A price contains a currency code, an amount in hundredths, and its formatted string representation. For example, a price with a currency code 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. For example, "USD", "GBP", "JPY".
Signature
FString FOvrPrice::Currency
Formatted : FString
The formatted string representation of the price, e.g., "$0.78". The value depends on the field FOvrPrice::Currency and field FOvrPrice::AmountInHundredths.
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