9#ifndef gfCGameInventoryComponenthdr
10#define gfCGameInventoryComponenthdr
48 void selectionsRecreate(
fsStr& pLoadStr);
50 fsBool inventoryItemCreate(
const fsStr& pEntityName);
51 void consumedItemRemove(
const fsStr& pKeyName);
53 std::vector<fsStr> mInventory;
Definition fsCEntity.h:39
Definition gfCInventorySlotGui.h:18
Definition fsCUniqueId.h:21
fsIComponent(fsCEntity *pParent)
Definition fsIComponent.cpp:86
fsIMessageListenerComponent(fsCEntity *pParent)
Definition fsIMessageListenerComponent.cpp:9
static const fsStr mInventorySavedDataKey
Definition gfCGameInventoryComponent.h:26
friend class fsCComponentFactory
Definition gfCGameInventoryComponent.h:19
static const fsCUniqueId mInventoryCollectedMsg
Definition gfCGameInventoryComponent.h:23
void serialiseState()
Definition gfCGameInventoryComponent.cpp:36
void listenersDeregisterDo() override
Definition gfCGameInventoryComponent.cpp:60
void listenersRegisterDo() override
Definition gfCGameInventoryComponent.cpp:67
fsBool messageProcessDo(const fsCUniqueId &pMessageType, const fsIMessageDispatcher::sMessageParameters &pParam) override
Definition gfCGameInventoryComponent.cpp:87
static const fsCUniqueId mTypeId
Definition gfCGameInventoryComponent.h:25
fsStr inventoryDataGet() const
Definition gfCGameInventoryComponent.cpp:26
gfCGameInventoryComponent(fsCEntity *pParent)
Definition gfCGameInventoryComponent.cpp:136
virtual ~gfCGameInventoryComponent()
Definition gfCGameInventoryComponent.cpp:141
void deserialiseState()
Definition gfCGameInventoryComponent.cpp:41
static fsIComponent * create(fsCEntity *pParent)
Definition gfCGameInventoryComponent.cpp:129
bool fsBool
Definition fsBaseTypes.h:26
Definition fsIMessageDispatcher.h:32