LootLocker Unreal Server SDK 6.5.0
Server-side backend SDK for Unreal Engine
Loading...
Searching...
No Matches
FLootLockerServerAssetRentalOption Struct Reference

#include <LootLockerServerAssetRequest.h>

Data Fields

int Id = 0
 The id of this rental option.
 
FString Name = ""
 The name of this rental option.
 
FString Duration = ""
 Optional: Total duration (in seconds) that this rental item is rented for.
 
int Price = 0
 The price of this rental option.
 
FString Sales_price = ""
 Optional: A sales price of this rental option.
 
TMap< FString, FString > Links
 Collection of links related to this rental option.
 

Field Documentation

◆ Duration

FString FLootLockerServerAssetRentalOption::Duration = ""

Optional: Total duration (in seconds) that this rental item is rented for.

This variable is optional meaning it may or may not exist, which is why it's a string. To get the value from it you should first check if it is valid (for example using .IsNumeric() and then get the value from it (for example using FCString::Atoi)

◆ Id

int FLootLockerServerAssetRentalOption::Id = 0

The id of this rental option.

◆ Links

TMap<FString, FString> FLootLockerServerAssetRentalOption::Links

Collection of links related to this rental option.

◆ Name

FString FLootLockerServerAssetRentalOption::Name = ""

The name of this rental option.

◆ Price

int FLootLockerServerAssetRentalOption::Price = 0

The price of this rental option.

◆ Sales_price

FString FLootLockerServerAssetRentalOption::Sales_price = ""

Optional: A sales price of this rental option.

If it is not null, then there is a sale for this item and this price should be used instead of Price

This variable is optional meaning it may or may not exist, which is why it's a string. To get the value from it you should first check if it is valid (for example using .IsNumeric() and then get the value from it (for example using FCString::Atoi)