Class
Item
: Interactable : ReferenceScript : MonoBehaviour : Behaviour : Component : Object : Objectimplements ISpawnable
0x00x0230
Members 55
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | info | ItemInfo | Public | — | |
| 0x08 | StatChanges | List<StatChange> | Public | — | |
| 0x01 | ProvidesImmunity | bool | Public | — | |
| 0x00D1 | 0x07 | padding / unreflected | |||
| 0x08 | StatImmunities | List<StatType> | Public | — | |
| 0x08 | DamageImmunities | List<DamageType> | Public | — | |
| 0x08 | attachedChestLoot | ChestLoot | Public+1 flags | — | |
| 0x08 | ItemIcon | Sprite | Public | — | |
| 0x08 | itemDescription | string | Public | — | |
| 0x01 | IncludeTalentDescriptions | bool | Public | — | |
| 0x01 | PlaceTalentDescriptionsBeforeItem | bool | Public | — | |
| 0x01 | CanBeCorrupted | bool | Public | — | |
| 0x01 | canBePickedUp | bool | Public | — | |
| 0x01 | canBeDropped | bool | Public | — | |
| 0x01 | CanUseLeftHanded | bool | Public | — | |
| 0x0106 | 0x02 | padding / unreflected | |||
| 0x04 | DropOnPlayerCount | int | Public | — | |
| 0x010C | 0x04 | padding / unreflected | |||
| 0x08 | DropDifficulties | List<Difficulty> | Public | — | |
| 0x08 | talentIDReferences | List<TalentScriptable> | Public | — | |
| 0x08 | talentInstances | List<TalentScriptable> | Public | — | |
| 0x08 | talentDupes | List<TalentScriptable> | Public | — | |
| 0x08 | spellIDReferences | List<Spell> | Public | — | |
| 0x08 | spellInstances | List<Spell> | Public+1 flags | — | |
| 0x04 | MaxDurability | int | Public | — | |
| 0x01 | LoseDurabilityOnTalentProc | bool | Public | — | |
| 0x01 | LoseDurabilityOnSpellCast | bool | Public | — | |
| 0x0146 | 0x02 | padding / unreflected | |||
| 0x08 | BreakSound | AudioClip | Public | — | |
| 0x08 | ExtraInventorySlots | List<SlotInitParams> | Public | — | |
| 0x08 | ParticlePoint | Transform | Public | — | |
| 0x08 | ColEvents | ColliderEvents | Public | — | |
| 0x08 | itemRigidbody | Rigidbody | Public | — | |
| 0x08 | FloorRange | FloorRange | Public | — | |
| 0x01 | CanBeSpawnedInExperimental | bool | Public | — | |
| 0x01 | SetCorrupted | bool | Public | — | |
| 0x017A | 0x06 | padding / unreflected | |||
| 0x08 | CorruptionEffect | MeshNormalEmitter | Public | — | |
| 0x08 | MeshRenderers | List<UnityEngine.MeshRenderer> | Public+1 flags | — | |
| 0x08 | MeshFilters | List<UnityEngine.MeshFilter> | Public+1 flags | — | |
| 0x08 | ParentEnt | Entity | Public+1 flags | — | |
| 0x01 | IsEquipped | bool | Public+1 flags | — | |
| 0x01 | RenderersEnabled | bool | Public+1 flags | — | |
| 0x01A2 | 0x06 | padding / unreflected | |||
| 0x08 | InSlots | List<ItemSlot> | Public+1 flags | — | |
| 0x08 | Torch | Torch | Public+1 flags | — | |
| 0x08 | Weapon | Weapon | Public+1 flags | — | |
| 0x08 | Armor | Armor | Public+1 flags | — | |
| 0x08 | Usable | Usable | Public+1 flags | — | |
| 0x08 | Modifiers | List<ItemModifier> | Public+1 flags | — | |
| 0x01 | IsNewLoot | bool | Public+1 flags | — | |
| 0x01D9 | 0x07 | padding / unreflected | |||
| 0x08 | DroppedByPlayer | Player | Public+1 flags | — | |
| 0x08 | <SavedInfo>k__BackingField | SavedItemInfo | Private | — | |
| 0x08 | OnLaunched | Action | Private | — | |
| 0x08 | newHolder | Entity | Private | — | |
| 0x01 | launchOnSpawn | bool | Private | — | |
| 0x0201 | 0x03 | padding / unreflected | |||
| 0x0C | launchDirection | Vector3 | Private | — | |
| 0x04 | launchMultipler | float | Private | — | |
| 0x0214 | 0x04 | padding / unreflected | |||
| 0x08 | respawnOutOfWorld | RespawnOutOfWorld | Private | — | |
| 0x08 | OnEquipped | Action<ItemEquipContext | Private | — | |
| 0x08 | OnPickedUp | Action<Player | Private | — | |
Inherited from Interactable 20
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | InteractableTypes | List<InteractableType> | Public | — | |
| 0x04 | crosshairType | CrossHairType | Public | — | |
| 0x10 | CrosshairColor | Color | Public | — | |
| 0x0044 | 0x04 | padding / unreflected | |||
| 0x08 | infoText | string | Public | — | |
| 0x01 | IncludeInteractKey | bool | Public | — | |
| 0x0051 | 0x07 | padding / unreflected | |||
| 0x08 | interactSound | AudioClip | Public | — | |
| 0x08 | InteractSounds | List<UnityEngine.AudioClip> | Public | — | |
| 0x08 | audioSource | AudioSource | Public | — | |
| 0x08 | view | PhotonView | Public | — | |
| 0x01 | DestroyOnInteract | bool | Public | — | |
| 0x0079 | 0x07 | padding / unreflected | |||
| 0x08 | DestroySounds | List<UnityEngine.AudioClip> | Public | — | |
| 0x04 | HoldInteractKeyDelay | float | Public | — | |
| 0x01 | IsHovered | bool | Public | — | |
| 0x008D | 0x03 | padding / unreflected | |||
| 0x08 | ShownInfoText | string | Public | — | |
| 0x01 | CanBeHovered | bool | Public | — | |
| 0x01 | CanBeInteractedWith | bool | Public | — | |
| 0x009A | 0x06 | padding / unreflected | |||
| 0x08 | OnInteractEvent | Action<Entity | Private | — | |
| 0x08 | OnDestroyEvent | Action<Interactable> | Private | — | |
| 0x08 | interSounds | List<UnityEngine.AudioClip> | 1 flags | — | |
| 0x04 | heldInteractTime | float | Private | — | |
Inherited from ReferenceScript 2
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | AssetId | string | Public | — | |
| 0x08 | Prefab | GameObject | Public | — |
Inherited from Object 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CachedPtr | long | Private | — | |
| 0x04 | OffsetOfInstanceIDInCPlusPlusObject | int | Static+1 flags | — | |
| — | 0x08 | objectIsNullMessage | string | PrivateStatic+1 flags | — |
| — | 0x08 | cloneDestroyedMessage | string | PrivateStatic+1 flags | — |
Functions 60
| Signature | Flags | Native | Params |
|---|---|---|---|
| bool HasDurability() | Private | 0x01 | |
| SavedItemInfo get_SavedInfo() | Public+1 flags | 0x08 | |
| void set_SavedInfo(SavedItemInfo value) | Private+1 flags | 0x08 | |
| Player get_ParentPlayer() | Public+1 flags | 0x08 | |
| void add_OnLaunched(Action value) | Public+1 flags | 0x08 | |
| void remove_OnLaunched(Action value) | Public+1 flags | 0x08 | |
| void Awake() | Public | 0x00 | |
| void OnEnable() | Private | 0x00 | |
| void Start() | Private | 0x00 | |
| void OnSpawned(EntitySpawn spawner, Random rand) | PublicFinal+2 flags | 0x08 | |
| void OnDisable() | Private | 0x00 | |
| void OnDestroy() | Public | 0x00 | |
| void RPCSetSavedInfo(SavedItemInfo savedInfo) | Public | 0x08 | |
| void SetSavedInfo(const byte[]& savedInfoBytes) | Public | 0x08 | |
| void SetSavedInfo(SavedItemInfo savedInfo) | Public | 0x08 | |
| void SetTalentInstances(SavedItemInfo savedInfo) | Private | 0x08 | |
| List<TalentScriptable> GetTalentInstances(SavedItemInfo savedInfo) | Public | 0x08 | |
| bool CanLootDrop(bool checkDifficulty, bool checkPlayerCount) | Public | 0x01 | |
| void OnHover(Entity interactor) | Public+1 flags | 0x08 | |
| void UpdateInteractMethod(Player player) | Private | 0x08 | |
| bool PressInteract(Entity interactor) | Public+1 flags | 0x08 | |
| bool OnInteract(Entity interactor) | Public+1 flags | 0x08 | |
| bool RefillPlayerTorch(Player player, bool doRefill) | Private | 0x08 | |
| void SetInSlot(ItemSlot slot, bool add) | Public | 0x08 | |
| void Equipped(const ItemEquipContext& context) | Public+2 flags | 0x18 | |
| void add_OnEquipped(Action<ItemEquipContext value) | Public+1 flags | 0x08 | |
| void remove_OnEquipped(Action<ItemEquipContext value) | Public+1 flags | 0x08 | |
| void EquippedRPC(const ItemEquipContext& context) | Public+2 flags | 0x18 | |
| void add_OnPickedUp(Action<Player value) | Public+1 flags | 0x08 | |
| void remove_OnPickedUp(Action<Player value) | Public+1 flags | 0x08 | |
| void PickedUp(Player player) | Public+2 flags | 0x08 | |
| void Dropped(Player player) | Public+2 flags | 0x08 | |
| void DupeTalent(TalentScriptable instance, int setPoints) | Public | 0x08 | |
| void RemoveDupe() | Public | 0x00 | |
| List<StatChange> GetStatChanges(SavedItemInfo savedInfo) | Public | 0x08 | |
| void OnTalentProcced(TalentScriptable talent, Player player) | Public | 0x08 | |
| void OnSpellCasted(Spell spell, Player player) | Public | 0x08 | |
| void ChangeDurability(int change) | Public | 0x04 | |
| void BreakItem(ItemSlot slot) | Public | 0x08 | |
| void CheckForCorruption(SavedItemInfo savedInfo) | Public | 0x08 | |
| void RPCAddExtraData(const string& key, float value, bool set) | Public | 0x08 | |
| void AddExtraData(const string& key, float value, bool set) | Public | 0x08 | |
| bool CanUseInLeftHand() | Public | 0x01 | |
| bool ShouldHoldUp() | Public | 0x01 | |
| bool HasItemType(const ItemType& type) | Public | 0x04 | |
| bool HasItemType(List<ItemType> oneOf) | Public | 0x08 | |
| void RPCSetChestLoot(bool isChestLoot, ChestLootParams clParams, bool isNewLoot) | Public | 0x08 | |
| void SetChestLoot(bool isChestLoot, ChestLootParams clParams, bool isNewLoot) | Public | 0x08 | |
| void LootDropped() | Public | 0x00 | |
| bool CanPickUp(Entity pickerUpper) | Public | 0x08 | |
| void ToPickUp(int pickerUpperID, bool playAnim, bool destroy, bool networked) | Public+2 flags | 0x04 | |
| void FailedPickUp() | Public | 0x00 | |
| void Throw(const Vector3& direction, float multipler) | Public+2 flags | 0x0C | |
| void EnableRenderers(bool enabled) | Public | 0x01 | |
| ParticleEffect PlayEffect(int prefabIndex, float playTime, Action onEnd) | Public | 0x08 | |
| Color GetRarityColor(const Rarity& rarity) | PublicStatic | 0x10 | |
| void .ctor() | Public+1 flags | 0x00 | |
| void <Awake>b__61_0(ItemModifier x) | Private | 0x08 | |
| void <OnDestroy>b__66_0(TalentScriptable x) | Private | 0x08 | |
| void <OnDestroy>b__66_1(Spell x) | Private | 0x08 |
Used by 129
types with a member, parameter or interface of this type<>c<>c<>c<>c<>c<>c<>c__DisplayClass12_0<>c__DisplayClass16_0<>c__DisplayClass17_0<>c__DisplayClass18_0<>c__DisplayClass1_0<>c__DisplayClass24_0<>c__DisplayClass26_0<>c__DisplayClass26_0<>c__DisplayClass27_0<>c__DisplayClass3_1<>c__DisplayClass40_0<>c__DisplayClass44_0<>c__DisplayClass4_0<>c__DisplayClass4_0<>c__DisplayClass559_0<>c__DisplayClass56_0<>c__DisplayClass570_0<>c__DisplayClass57_0<>c__DisplayClass67_0<>c__DisplayClass79_0<>c__DisplayClass9_0<>c__DisplayClass9_0<FloatReplacementCor>d__60<GiveItemDelay>d__29<PurifyItemCor>d__72<SinkConsumingItemCor>d__54<StealItemCor>d__25Action`1Action`2Action`2Action`2Action`2Action`3ArmorArraySortHelper`1AssetContainerBombBombasticRoomCampfireChestChestMimicConditionPartsCorruptionManagerDictionary`2Dictionary`2Dictionary`2Dictionary`2EmptyInternalEnumerator`1EntryEntryEntryEntryEnumeratorEnumeratorEqualityComparer`1FishingBobberFishingRodFunc`2GUIManagerHashSet`1ICollection`1IDictionary`2IDictionary`2IDictionary`2IDictionary`2IEnumerator`1IEqualityComparer`1IEquatable`1IList`1InternalEnumerator`1IReadOnlyDictionary`2IReadOnlyDictionary`2IReadOnlyDictionary`2IReadOnlyDictionary`2+49 more