LootLocker Unreal SDK 11.1.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
FLootLockerEquipmentEquipRequest Struct Reference

Request to equip an inventory stack into an equipment slot on an entity. More...

#include <LootLockerEquipmentRequestHandler.h>

Data Fields

FString entity_type = "player"
 The entity the loadout hangs off.
FString source_id = ""
 The ULID of the entity.
FString slot_id = ""
 The ULID of the equipment slot to equip into.
FString inventory_id = ""
 The ULID of the inventory stack to equip.
int32 count = 0
 Optional: The amount to equip.
ELootLockerEquipmentReplaceMode replace = ELootLockerEquipmentReplaceMode::Unset
 Optional: Whether a stack already occupying the slot should be auto-unequipped.

Detailed Description

Request to equip an inventory stack into an equipment slot on an entity.

Field Documentation

◆ count

int32 FLootLockerEquipmentEquipRequest::count = 0

Optional: The amount to equip.

Left at 0 the whole stack is used, capped by the slot's max_items. Must not be negative.

◆ entity_type

FString FLootLockerEquipmentEquipRequest::entity_type = "player"

The entity the loadout hangs off.

Only "player" is resolvable today.

◆ inventory_id

FString FLootLockerEquipmentEquipRequest::inventory_id = ""

The ULID of the inventory stack to equip.

◆ replace

ELootLockerEquipmentReplaceMode FLootLockerEquipmentEquipRequest::replace = ELootLockerEquipmentReplaceMode::Unset

Optional: Whether a stack already occupying the slot should be auto-unequipped.

Left unset the server default applies.

◆ slot_id

FString FLootLockerEquipmentEquipRequest::slot_id = ""

The ULID of the equipment slot to equip into.

◆ source_id

FString FLootLockerEquipmentEquipRequest::source_id = ""

The ULID of the entity.

For the "player" entity type this is the player ULID.