Class
Destructable
: Interactable : ReferenceScript : MonoBehaviour : Behaviour : Component : Object : Objectimplements IPunObservable
0x00x0120
Members 16
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x01 | ReleaseRigidbodiesOnDamaged | bool | Public | — | |
| 0x01 | FadeChildrenOnZeroHealth | bool | Public | — | |
| 0x01 | DestroyOnZeroHealth | bool | Public | — | |
| 0x00C3 | 0x01 | padding / unreflected | |||
| 0x04 | Health | int | Public | — | |
| 0x08 | DestroyObjects | List<UnityEngine.GameObject> | Public | — | |
| 0x08 | UnParentObjects | List<UnityEngine.GameObject> | Public | — | |
| 0x08 | DamagedSound | List<UnityEngine.AudioClip> | Public | — | |
| 0x08 | EffectPosition | Transform | Public | — | |
| 0x08 | DestroyEffect | PEffectField | Public | — | |
| 0x08 | OnDestructableDamaged | Action<Destructable> | Private | — | |
| 0x08 | OnDestructableDestroyed | Action<Destructable> | Private | — | |
| 0x04 | startHealth | int | Private | — | |
| 0x01 | destroyed | bool | Private | — | |
| 0x0105 | 0x03 | padding / unreflected | |||
| 0x08 | childBodies | List<UnityEngine.Rigidbody> | Private | — | |
| 0x08 | unReleasedBodies | List<UnityEngine.Rigidbody> | Private | — | |
| 0x04 | releaseBodiesOnDamaged | int | Private | — | |
| 0x011C | 0x04 | unreflected bytes to end of Destructable | |||
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 15
| Signature | Flags | Native | Params |
|---|---|---|---|
| void add_OnDestructableDamaged(Action<Destructable> value) | Public+1 flags | 0x08 | |
| void remove_OnDestructableDamaged(Action<Destructable> value) | Public+1 flags | 0x08 | |
| void add_OnDestructableDestroyed(Action<Destructable> value) | Public+1 flags | 0x08 | |
| void remove_OnDestructableDestroyed(Action<Destructable> value) | Public+1 flags | 0x08 | |
| void Awake() | Private | 0x00 | |
| bool CanHover(Entity interactor) | Public+1 flags | 0x08 | |
| bool CanInteract(Entity interactor) | Public+1 flags | 0x08 | |
| void RPCDamageDestructable() | Public | 0x00 | |
| void DamageDestructable() | Public | 0x00 | |
| void ReleaseBodies(int count) | Private | 0x04 | |
| void DestroyDestructable() | Private | 0x00 | |
| IEnumerator FadeOutObject(Transform trans, float speed) | Private | 0x08 | |
| IEnumerator WaitForFadesToDestroy() | Private | 0x08 | |
| void OnPhotonSerializeView(PhotonStream stream, const PhotonMessageInfo& info) | PublicFinal+2 flags | 0x18 | |
| void .ctor() | Public+1 flags | 0x00 |