Class
Chest
: Interactable : ReferenceScript : MonoBehaviour : Behaviour : Component : Object : Objectimplements IActivatable
0x00x0180
Members 28
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | chestType | ChestType | Public | — | |
| 0x01 | LootCanBeModified | bool | Public | — | |
| 0x00C5 | 0x03 | padding / unreflected | |||
| 0x08 | chestLootParams | ChestLootParams | Public | — | |
| 0x08 | rollLootTable | RollRandomObject | Public | — | |
| 0x08 | LootTable | LootTable | Public | — | |
| 0x04 | ChooseLootCount | int | Public | — | |
| 0x01 | RollSameRarity | bool | Public | — | |
| 0x00E5 | 0x03 | padding / unreflected | |||
| 0x08 | LootSpawnPoints | List<UnityEngine.Transform> | Public | — | |
| 0x08 | chestOpenSound | AudioClip | Public | — | |
| 0x01 | UseScriptOpenAnim | bool | Public | — | |
| 0x00F9 | 0x07 | padding / unreflected | |||
| 0x08 | OpenTop | Transform | Public | — | |
| 0x08 | OpenKeyframes | List<Pair<UnityEngine.Vector3 | Public | — | |
| 0x08 | animator | Animator | Public | — | |
| 0x08 | OpenAnimClip | AnimationClip | Public | — | |
| 0x08 | lockRigidbody | Rigidbody | Public | — | |
| 0x08 | DisableOnOpened | List<UnityEngine.Collider> | Public | — | |
| 0x01 | IsOpenable | bool | Public | — | |
| 0x01 | IsOpened | bool | Public | — | |
| 0x0132 | 0x06 | padding / unreflected | |||
| 0x08 | OpenedByPlayer | Player | Public | — | |
| 0x08 | Loots | List<Interactable> | Public | — | |
| 0x01 | <IsActivated>k__BackingField | bool | Private | — | |
| 0x0149 | 0x07 | padding / unreflected | |||
| 0x08 | <LinkedActivatables>k__BackingField | List<IActivatable> | Private | — | |
| 0x08 | OnOpened | Action<Chest | Private | — | |
| 0x08 | OnOpenAnim | Action<Chest | Private | — | |
| 0x08 | OnActivated | Action<IActivatable> | Private | — | |
| 0x08 | openAnimManaged | ManagedCoroutine | Private | — | |
| 0x04 | lootedCount | int | Private | — | |
| 0x01 | lootSet | bool | Private | — | |
| 0x017D | 0x03 | unreflected bytes to end of Chest | |||
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 29
| Signature | Flags | Native | Params |
|---|---|---|---|
| bool get_HasLoot() | Public+1 flags | 0x01 | |
| bool get_HasSingleLoot() | Public+1 flags | 0x01 | |
| Interactable get_SingleLoot() | Public+1 flags | 0x08 | |
| bool get_IsActivated() | PublicFinal+3 flags | 0x01 | |
| void set_IsActivated(bool value) | PublicFinal+3 flags | 0x01 | |
| List<IActivatable> get_LinkedActivatables() | PublicFinal+3 flags | 0x08 | |
| void set_LinkedActivatables(List<IActivatable> value) | PublicFinal+3 flags | 0x08 | |
| void add_OnOpened(Action<Chest value) | Public+1 flags | 0x08 | |
| void remove_OnOpened(Action<Chest value) | Public+1 flags | 0x08 | |
| void add_OnOpenAnim(Action<Chest value) | Public+1 flags | 0x08 | |
| void remove_OnOpenAnim(Action<Chest value) | Public+1 flags | 0x08 | |
| void add_OnActivated(Action<IActivatable> value) | PublicFinal+3 flags | 0x08 | |
| void remove_OnActivated(Action<IActivatable> value) | PublicFinal+3 flags | 0x08 | |
| void Awake() | 1 flags | 0x00 | |
| bool CanHover(Entity interactor) | Public+1 flags | 0x08 | |
| void OnHover(Entity interactor) | Public+1 flags | 0x08 | |
| bool CanInteract(Entity interactor) | Public+1 flags | 0x08 | |
| bool OnInteract(Entity interactor) | Public+1 flags | 0x08 | |
| bool HoldInteract(Entity interactor) | Public+1 flags | 0x08 | |
| void OpenChest(Player opener) | Public+2 flags | 0x08 | |
| void OpenChestRPC(int openerId) | Public+2 flags | 0x04 | |
| void OpenAnim() | 3 flags | 0x00 | |
| IEnumerator OpenAnimCor(const object[]& args) | 3 flags | 0x08 | |
| void OpenAnimFinished() | 3 flags | 0x00 | |
| void Activate(bool active, const object[]& parameters) | PublicFinal+2 flags | 0x08 | |
| void SetLootedChest(Player opener) | 3 flags | 0x08 | |
| void PlayersSetLoot(const int[]& lootIds) | Public | 0x08 | |
| void Loot_OnPickedUp(Player looter, Item item) | Private | 0x08 | |
| void .ctor() | Public+1 flags | 0x00 |