Class
UnlockableDoor
: Interactable : ReferenceScript : MonoBehaviour : Behaviour : Component : Object : Object0x00x0118
Members 12
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | Keys | List<Item> | Public | — | |
| 0x04 | KeyRotateZ | float | Public | — | |
| 0x04 | KeyRotateSpeed | float | Public | — | |
| 0x08 | KeyPosition | Transform | Public | — | |
| 0x08 | KeyRotateSounds | List<UnityEngine.AudioClip> | Public | — | |
| 0x08 | LockObj | Rigidbody | Public | — | |
| 0x08 | LockRemoveSounds | List<UnityEngine.AudioClip> | Public | — | |
| 0x08 | OpenAnimation | Animation | Public | — | |
| 0x08 | EnableOnOpened | List<UnityEngine.Collider> | Public | — | |
| 0x08 | OnOpened | Action<UnlockableDoor> | Private | — | |
| 0x01 | isOpen | bool | Private | — | |
| 0x0109 | 0x07 | padding / unreflected | |||
| 0x08 | insertedKey | Item | 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 12
| Signature | Flags | Native | Params |
|---|---|---|---|
| void add_OnOpened(Action<UnlockableDoor> value) | Public+1 flags | 0x08 | |
| void remove_OnOpened(Action<UnlockableDoor> value) | 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 IsKey(Item item) | Public | 0x08 | |
| void RPCOpen(int keyIndex, int openerId) | Public | 0x04 | |
| void Open(int keyIndex, int openerId) | Public | 0x04 | |
| IEnumerator RotateKeyCor() | Private | 0x08 | |
| void RemoveLock() | Private | 0x00 | |
| void OpenDoor() | Private | 0x00 | |
| void .ctor() | Public+1 flags | 0x00 |