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

#include <LootLockerServerCharacterRequest.h>

Data Fields

bool Is_rental = false
 Whether this item is a rental item.
 
FString Time_left = ""
 Optional: How much time (in seconds) that is left before this rental item expires.
 
FString Duration = ""
 Optional: Total duration (in seconds) that this rental item is rented for.
 
FString Is_active = ""
 Optional: Whether this rental item is currently active.
 

Field Documentation

◆ Duration

FString FLootLockerServerPlayerCharacterItemRentalData::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)

◆ Is_active

FString FLootLockerServerPlayerCharacterItemRentalData::Is_active = ""

Optional: Whether this rental item is currently active.

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 has a valid value and then you can (in code) use .ToBool() or (in blueprint) use a case insensitive string comparison for "true"

◆ Is_rental

bool FLootLockerServerPlayerCharacterItemRentalData::Is_rental = false

Whether this item is a rental item.

◆ Time_left

FString FLootLockerServerPlayerCharacterItemRentalData::Time_left = ""

Optional: How much time (in seconds) that is left before this rental item expires.

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)