using System; using Cpp2IlInjected; using UnityEngine; namespace RecRoom.Activities { // Token: 0x02002C66 RID: 11366 [Token(Token = "0x2002C66")] public class WhipPullable : MonoBehaviour { // Token: 0x06012FED RID: 77805 RVA: 0x0045714C File Offset: 0x0045534C [Token(Token = "0x6012FED")] [Address(RVA = "0x14FF220", Offset = "0x14FE220", VA = "0x1814FF220")] private void Awake() { WhipInteractable whipInteractable = this.whipInteractable; WhipInteractable.DMNHOKLPCKI dmnhoklpcki; dmnhoklpcki.method_ptr = ldftn(OJNOPFLEKHL); dmnhoklpcki.method = ldftn(OJNOPFLEKHL); dmnhoklpcki.m_target = this; whipInteractable.HOHAEKNOABM += dmnhoklpcki; RigidbodyEx rigidbodyEx = this.whipInteractable.rigidbodyEx; int num = 0; if (rigidbodyEx == num) { Debug.LogError(base.name + " doesn't have a RigidbodyEx component. Pullables must have this component."); } } // Token: 0x06012FEE RID: 77806 RVA: 0x004571BC File Offset: 0x004553BC [Token(Token = "0x6012FEE")] [Address(RVA = "0x14FF4D0", Offset = "0x14FE4D0", VA = "0x1814FF4D0")] private void OnDestroy() { Delegate @delegate; do { WhipInteractable whipInteractable = this.whipInteractable; int num = 0; if (!(whipInteractable != num)) { return; } WhipInteractable whipInteractable2 = this.whipInteractable; WhipInteractable.DMNHOKLPCKI dmnhoklpcki; dmnhoklpcki.method_ptr = ldftn(OJNOPFLEKHL); dmnhoklpcki.method = ldftn(OJNOPFLEKHL); dmnhoklpcki.m_target = this; } while (@delegate != 0 && @delegate == 0); while (@delegate != this) { } } // Token: 0x06012FEF RID: 77807 RVA: 0x00457218 File Offset: 0x00455418 [Token(Token = "0x6012FEF")] [Address(RVA = "0x14FF320", Offset = "0x14FE320", VA = "0x1814FF320")] private void OJNOPFLEKHL(WhipInteractable ODBAFIFNIDO, AGAJMBPABDL NIAKEPMCHPK, Vector3 FGEOANJKIBI, Vector3 LJCFJMELDFL) { if (this.whipInteractable.rigidbodyEx.JEGGMAKBGEK) { WhipInteractable whipInteractable = this.whipInteractable; RigidbodyEx rigidbodyEx = whipInteractable.rigidbodyEx; if (rigidbodyEx != 0) { int num = 0; rigidbodyEx.SetKinematic("WhipInteractableKinematic", num != 0); } whipInteractable.gameObject.IBAICLIPHDI(DAJFOCGPHGP.StaticPhysics, DAJFOCGPHGP.DynamicPhysics); } if (this.whipInteractable.OGIBLNIIHDK) { RigidbodyEx rigidbodyEx2 = this.whipInteractable.rigidbodyEx; float z = this.pullVelocityMultiplier.z; float z2 = FGEOANJKIBI.z; Vector3 vector; float z3 = vector.z; } } // Token: 0x06012FF0 RID: 77808 RVA: 0x004572A8 File Offset: 0x004554A8 [Token(Token = "0x6012FF0")] [Address(RVA = "0x14FF600", Offset = "0x14FE600", VA = "0x1814FF600")] public WhipPullable() { float z = Vector3.one.z; this.pullVelocityMultiplier.z = z; base..ctor(); } // Token: 0x0400C3C5 RID: 50117 [FieldOffset(Offset = "0x18")] [Token(Token = "0x400C3C5")] [SerializeField] private Vector3 pullVelocityMultiplier; // Token: 0x0400C3C6 RID: 50118 [FieldOffset(Offset = "0x28")] [Token(Token = "0x400C3C6")] [SerializeField] [NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)] private WhipInteractable whipInteractable; } }