feat: Mod Adapter struct updates

This commit is contained in:
mrhid6 2024-12-06 22:34:18 +00:00
parent f8a322d5c1
commit b309136b5c
2 changed files with 10 additions and 1 deletions

View File

@ -8,4 +8,5 @@ enum class ERRDADSInventorySlotAccessInteraction : uint8
Ignore, Ignore,
ImportToNetworkFromSlot, ImportToNetworkFromSlot,
ExportFromNetworkToSlot, ExportFromNetworkToSlot,
}; LetPlayerDecide,
};

View File

@ -65,6 +65,10 @@ public:
*/ */
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly) UPROPERTY(EditDefaultsOnly, BlueprintReadOnly)
bool mAutomaticallySetFromSlotItemFilter = false; bool mAutomaticallySetFromSlotItemFilter = false;
/* This slot will represent the full inventory and will access all inventory slots */
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly)
bool mSlotRepresentsFullInventory = false;
}; };
USTRUCT(BlueprintType) USTRUCT(BlueprintType)
@ -88,4 +92,8 @@ public:
/* The Inventory slots to allow access to Digital Storage */ /* The Inventory slots to allow access to Digital Storage */
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly) UPROPERTY(EditDefaultsOnly, BlueprintReadOnly)
TArray<FRRDADSModAdapterInventorySlotAccess> mInventorySlots; TArray<FRRDADSModAdapterInventorySlotAccess> mInventorySlots;
/* Use the inventory on the universal adapter instead of the building adapter */
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly)
bool mUseAdapterInventory = false;
}; };