forked from Ryan-rsm-McKenzie/CommonLibF4
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Scaleform IDs updated. * feat: NiController ID update. * feat: Actor IDs updated. * chore: Update 'BSInputEnableManager' IDs. * chore: More misc. IDs updated. feat: Functions delcared in BGSScene. * chore: More IDs updated. * chore: Single ID update. feat: ´Float´ & ´Float0To1´ added to BSRandom. * feat: Few more functions. * feat: Further implementation of BGSSceneAction classes. * feat: More RE/IDs. * chore: Update ID. * feat: More REing. * feat: Further REing & IDs. * feat: Further RE. * feat: Further RE. * fix: BSTList is fucked.
- Loading branch information
1 parent
7ed7ff5
commit d7dc506
Showing
6 changed files
with
163 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
#pragma once | ||
|
||
#include "RE/Bethesda/BGSInventoryInterface.h" | ||
#include "RE/Bethesda/BSTArray.h" | ||
#include "RE/Bethesda/BSTHashMap.h" | ||
#include "RE/Bethesda/BSTList.h" | ||
#include "RE/Bethesda/PipboyDataGroup.h" | ||
|
||
namespace RE | ||
{ | ||
class PipboyDataGroup; | ||
|
||
class PipboyInventoryData : | ||
public PipboyDataGroup, // 00 | ||
public BSTEventSink<BGSInventoryListEvent::Event>, // 98 | ||
public BSTEventSink<ActorEquipManagerEvent::Event>, // A0 | ||
public BSTEventSink<ActorValueEvents::ActorValueChangedEvent>, // A8 | ||
public BSTEventSink<PerkValueEvents::PerkEntryUpdatedEvent>, // B0 | ||
public BSTEventSink<PerkValueEvents::PerkValueChangedEvent>, // B8 | ||
public BSTEventSink<InventoryInterface::FavoriteChangedEvent>, // C0 | ||
public BSTEventSink<HolotapeStateChanged::Event>, // C8 | ||
public BSTEventSink<BGSInventoryItemEvent::Event>, // D0 | ||
public BSTEventSink<FavoriteMgr_Events::ComponentFavoriteEvent>, // D8 | ||
public BSTEventSink<PlayerDifficultySettingChanged::Event> // E0 | ||
{ | ||
public: | ||
enum ENTRY_TYPE | ||
{ | ||
ENTRY_INT = 0, | ||
ENTRY_FIXED_STRING, | ||
ENTRY_FLOAT | ||
}; | ||
|
||
enum SORT_ON_FIELD | ||
{ | ||
SOF_ALPHABETICALLY = 0, | ||
SOF_DAMAGE, | ||
SOF_ROF, | ||
SOF_RANGE, | ||
SOF_ACCURARY, | ||
SOF_VALUE, | ||
SOF_WEIGHT | ||
}; | ||
|
||
struct StackEntry | ||
{ | ||
PipboyObject* linkedObject; // 00 | ||
const InventoryInterface::Handle inventoryHandle; // 08 | ||
}; | ||
static_assert(sizeof(StackEntry) == 0x10); | ||
|
||
struct ItemEntry | ||
{ | ||
void* stackEntries; // 00 - BSTList<PipboyInventoryData::StackEntry*> | ||
}; | ||
static_assert(sizeof(ItemEntry) == 0x8); | ||
|
||
// members | ||
PipboyObject* inventoryObject; // E8 | ||
BSTHashMap<std::uint32_t, PipboyInventoryData::ItemEntry> itemEntries; // F0 | ||
BSTHashMap<const BGSComponent*, PipboyObject*> invComponents; // 120 | ||
BSTArray<PipboyObject*> sortedItems; // 150 | ||
BSTSet<ENUM_FORM_ID> queuedRepopulateCategories; // 168 | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters