Zdexby TheHolyOneZ
44,741 classes
Class

PlayerInventory

: PlayerSingleton`1 : MonoBehaviour : Behaviour : Component : Object : Object
ScheduleOne.PlayerScripts.PlayerInventory, Assembly-CSharp 0x00E0 (224 B) inherited 0x0020 Assembly-CSharp.dll
0x00x00E0

Members 33

OffsetSizeNameTypeFlagsDefault
—0x04InventorySlotCountintPublicStatic+1 flags8
—0x04LabelDisplayTimefloatPrivateStatic+1 flags1073741824
—0x04LabelFadeTimefloatPrivateStatic+1 flags1056964608
—0x04DiscardDurationfloatPrivateStatic+1 flags1067450368
0x01giveStartupItemsboolPrivate—
0x00210x07padding / unreflected
0x08startupItemsList<ScheduleOne.PlayerScripts.PlayerInventory.ItemAmount>Private—
0x08equipContainerTransformPrivate—
0x08hotbarSlotsList<ScheduleOne.PlayerScripts.HotbarSlot>Public—
0x08<cashSlot>k__BackingFieldCashSlotPrivate—
0x08<cashInstance>k__BackingFieldCashInstancePrivate—
0x08clipboardSlotClipboardSlotPrivate—
0x08slotUIsList<ScheduleOne.UI.ItemSlotUI>Private—
0x08equippableSlotsList<ScheduleOne.PlayerScripts.HotbarSlot>Private—
0x08discardSlotItemSlotPrivate—
0x08_holsterActionInputActionReferencePrivate—
0x08ItemVariablesList<ScheduleOne.PlayerScripts.PlayerInventory.ItemVariable>Public—
0x04_equippedSlotIndexintPrivate—
0x01<HotbarEnabled>k__BackingFieldboolPrivate—
0x01<EquippingEnabled>k__BackingFieldboolPrivate—
0x01<HolsterEnabled>k__BackingFieldboolPrivate—
0x00870x01padding / unreflected
0x08<Equippable>k__BackingFieldEquippablePrivate—
0x04<CurrentEquipTime>k__BackingFieldfloatPrivate—
0x00940x04padding / unreflected
0x08<AttachedScreen>k__BackingFieldUIScreenPrivate—
0x08onInventoryStateChangedAction<System.Boolean>Public—
0x08onEquippedSlotChangedAction<System.Int32>Public—
0x08onPreItemEquippedUnityEventPublic—
0x08onItemEquippedUnityEventPublic—
0x04PriorEquippedSlotIndexintPrivate—
0x04PreviousEquippedSlotIndexintPrivate—
0x01_managementSlotEnabledboolPrivate—
0x00C90x03padding / unreflected
0x04_currentDiscardTimefloatPrivate—
0x08uiPanelUIPanel1 flags—
0x08originalSelectedPanelUIPanel1 flags—
Inherited from PlayerSingleton`1 1
OffsetSizeNameTypeFlagsDefault
0x08instancePlayerInventoryPrivateStatic—
Inherited from MonoBehaviour 1
OffsetSizeNameTypeFlagsDefault
0x08m_CancellationTokenSourceCancellationTokenSourcePrivate—
Inherited from Object 4
OffsetSizeNameTypeFlagsDefault
0x08m_CachedPtrlongPrivate—
0x04OffsetOfInstanceIDInCPlusPlusObjectintStatic+1 flags—
—0x08objectIsNullMessagestringPrivateStatic+1 flags—
—0x08cloneDestroyedMessagestringPrivateStatic+1 flags—

Functions 57

SignatureFlagsNativeParams
int get_EquippableSlotCount()Private+1 flags0x04
Transform get_EquipContainer()PublicFinal+3 flags0x08
CashSlot get_cashSlot()Public+1 flags0x08
void set_cashSlot(CashSlot value)Private+1 flags0x08
List<ScheduleOne.UI.ItemSlotUI> get_SlotUIs()Public+1 flags0x08
CashInstance get_cashInstance()Public+1 flags0x08
void set_cashInstance(CashInstance value)2 flags0x08
int get_EquippedSlotIndex()Public+1 flags0x04
void set_EquippedSlotIndex(int value)Public+1 flags0x04
bool get_HotbarEnabled()Public+1 flags0x01
void set_HotbarEnabled(bool value)2 flags0x01
bool get_EquippingEnabled()Public+1 flags0x01
void set_EquippingEnabled(bool value)2 flags0x01
bool get_HolsterEnabled()Public+1 flags0x01
void set_HolsterEnabled(bool value)Public+1 flags0x01
Equippable get_Equippable()Public+1 flags0x08
void set_Equippable(Equippable value)2 flags0x08
float get_CurrentEquipTime()Public+1 flags0x04
void set_CurrentEquipTime(float value)Private+1 flags0x04
UIScreen get_AttachedScreen()Public+1 flags0x08
void set_AttachedScreen(UIScreen value)Private+1 flags0x08
HotbarSlot get_equippedSlot()Public+1 flags0x08
ItemInstance get_EquippedItem()Public+1 flags0x08
bool get_isAnythingEquipped()Public+1 flags0x01
HotbarSlot IndexAllSlots(int index)Public0x08
void Awake()2 flags0x00
void SetupInventoryUI()Private0x00
void RepositionUI()Private0x00
void Start()2 flags0x00
void GiveStartupItems()Private0x00
void Update()3 flags0x00
void UpdateHotbarSelection()Private0x00
void Equip(HotbarSlot slot)Public0x08
void SetInventoryEnabled(bool enabled)Public0x01
void SetEquippingEnabled(bool enabled)Public0x01
void AttachToScreen(UIScreen screen, bool alsoSelectInventoryPanel)Public0x08
void DetachFromScreen()Public0x00
void ClipboardAcquiredVarChange(bool newVal)Private0x01
void SetManagementClipboardEnabled(bool enabled)Public0x01
void SetViewmodelVisible(bool visible)Public0x01
bool CanItemFitInInventory(ItemInstance item, int quantity)Public0x08
void AddItemToInventory(ItemInstance item)Public0x08
uint GetAmountOfItem(const string& ID)Public0x08
void RemoveAmountOfItem(const string& ID, uint amount)Public0x08
void ClearInventory()Public0x00
void RemoveProductFromInventory(const EStealthLevel& maxStealth)Public0x04
void RemoveRandomItemsFromInventory()Public0x00
void SetEquippable(Equippable eq)Public0x08
void EquippedSlotChanged()Public0x00
void Reequip()Public0x00
List<ScheduleOne.ItemFramework.ItemSlot> GetAllInventorySlots()Public0x08
void HotbarSlotSelected(HotbarSlot slot)Private0x08
void UpdateInventoryVariables()Private0x00
void .ctor()Public+1 flags0x00
void <SetupInventoryUI>g__ControllerSelect|76_2(ItemSlotUI s)Private0x08
void <SetupInventoryUI>g__ControllerDeselect|76_3(ItemSlotUI s)Private0x08
void <Start>b__78_1()Private0x00

Used by 3

types with a member, parameter or interface of this type