m
This commit is contained in:
@@ -0,0 +1,253 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using Photon.Pun;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Core.Creation.SandboxGizmos
|
||||
{
|
||||
// Token: 0x02003415 RID: 13333
|
||||
[Token(Token = "0x2003415")]
|
||||
public class InfluencerGizmo : SandboxGizmo
|
||||
{
|
||||
// Token: 0x17003F45 RID: 16197
|
||||
// (get) Token: 0x06016E77 RID: 93815 RVA: 0x00551FA8 File Offset: 0x005501A8
|
||||
[Token(Token = "0x17003F45")]
|
||||
public ConnectionPoint OIDBNNGDNHD
|
||||
{
|
||||
[Token(Token = "0x6016E77")]
|
||||
[Address(RVA = "0x4177B0", Offset = "0x4167B0", VA = "0x1804177B0")]
|
||||
get
|
||||
{
|
||||
return this.parentingConnectionPoint;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17003F46 RID: 16198
|
||||
// (get) Token: 0x06016E78 RID: 93816 RVA: 0x00551FBC File Offset: 0x005501BC
|
||||
[Token(Token = "0x17003F46")]
|
||||
public ConnectionPoint HBNLDFJMCED
|
||||
{
|
||||
[Token(Token = "0x6016E78")]
|
||||
[Address(RVA = "0x4C31C0", Offset = "0x4C21C0", VA = "0x1804C31C0")]
|
||||
get
|
||||
{
|
||||
return this.influencingConnectionPoint;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06016E79 RID: 93817 RVA: 0x00551FD0 File Offset: 0x005501D0
|
||||
[Token(Token = "0x6016E79")]
|
||||
[Address(RVA = "0x1DD59B0", Offset = "0x1DD49B0", VA = "0x181DD59B0", Slot = "13")]
|
||||
protected override void Awake()
|
||||
{
|
||||
base.Awake();
|
||||
ConnectionPoint connectionPoint = this.influencingConnectionPoint;
|
||||
int num = 0;
|
||||
if (connectionPoint != num)
|
||||
{
|
||||
ConnectionPoint connectionPoint2 = this.influencingConnectionPoint;
|
||||
ConnectionPoint.EEDEFGJKAJP eedefgjkajp = new ConnectionPoint.EEDEFGJKAJP(this.NMJJFELGGKM);
|
||||
connectionPoint2.IMKGNMOOAIG += eedefgjkajp;
|
||||
ConnectionPoint connectionPoint3 = this.influencingConnectionPoint;
|
||||
ConnectionPoint.JFKNKMKCFBI jfknkmkcfbi = new ConnectionPoint.JFKNKMKCFBI(this.NDKKOGNAKCA);
|
||||
connectionPoint3.PFACAJHLDON += jfknkmkcfbi;
|
||||
}
|
||||
ConnectionPoint connectionPoint4 = this.parentingConnectionPoint;
|
||||
int num2 = 0;
|
||||
if (connectionPoint4 != num2)
|
||||
{
|
||||
ConnectionPoint connectionPoint5 = this.parentingConnectionPoint;
|
||||
ConnectionPoint.EEDEFGJKAJP eedefgjkajp2 = new ConnectionPoint.EEDEFGJKAJP(this.CBJACLPAKMC);
|
||||
connectionPoint5.IMKGNMOOAIG += eedefgjkajp2;
|
||||
ConnectionPoint connectionPoint6 = this.parentingConnectionPoint;
|
||||
ConnectionPoint.JFKNKMKCFBI jfknkmkcfbi2 = new ConnectionPoint.JFKNKMKCFBI(this.LIGHGNJBAEB);
|
||||
connectionPoint6.PFACAJHLDON += jfknkmkcfbi2;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06016E7A RID: 93818 RVA: 0x0055208C File Offset: 0x0055028C
|
||||
[Token(Token = "0x6016E7A")]
|
||||
[Address(RVA = "0x1DD6500", Offset = "0x1DD5500", VA = "0x181DD6500")]
|
||||
private void NMJJFELGGKM(ConnectionPoint ODBAFIFNIDO, [Optional] ConnectionPoint.PGHEPJALOOK AFLPGGJMPOE)
|
||||
{
|
||||
int num;
|
||||
if (base.OGIBLNIIHDK || !base.PBBJCLJPFMI.FNFNLDBILFE)
|
||||
{
|
||||
num = 0;
|
||||
}
|
||||
if (AFLPGGJMPOE != 0)
|
||||
{
|
||||
AGAJMBPABDL authority = base.KPBFAKFKDAF;
|
||||
AFLPGGJMPOE((GBDECALBCOP)num, authority);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06016E7B RID: 93819 RVA: 0x005520CC File Offset: 0x005502CC
|
||||
[Token(Token = "0x6016E7B")]
|
||||
[Address(RVA = "0x1DD5B70", Offset = "0x1DD4B70", VA = "0x181DD5B70")]
|
||||
private void CBJACLPAKMC(ConnectionPoint ODBAFIFNIDO, [Optional] ConnectionPoint.PGHEPJALOOK AFLPGGJMPOE)
|
||||
{
|
||||
int num;
|
||||
if (base.OGIBLNIIHDK || !base.PBBJCLJPFMI.FNFNLDBILFE)
|
||||
{
|
||||
this._connectableTool.AuthorityUnparentThisConnectableFromOther();
|
||||
num = 0;
|
||||
}
|
||||
if (AFLPGGJMPOE != 0)
|
||||
{
|
||||
AGAJMBPABDL authority = base.KPBFAKFKDAF;
|
||||
AFLPGGJMPOE((GBDECALBCOP)num, authority);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06016E7C RID: 93820 RVA: 0x00552118 File Offset: 0x00550318
|
||||
[Token(Token = "0x6016E7C")]
|
||||
[Address(RVA = "0x1DD5F30", Offset = "0x1DD4F30", VA = "0x181DD5F30")]
|
||||
private void NDKKOGNAKCA(ConnectionPoint HDPMJFANOPG, ConnectionPoint GFMAOEPEFKD, [Optional] ConnectionPoint.PGHEPJALOOK AFLPGGJMPOE)
|
||||
{
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
if (HDPMJFANOPG != num2)
|
||||
{
|
||||
int num3 = 0;
|
||||
if (GFMAOEPEFKD != num3)
|
||||
{
|
||||
GameObject gameObject = HDPMJFANOPG.gameObject;
|
||||
GameObject gameObject2 = this.influencingConnectionPoint.gameObject;
|
||||
if (!(gameObject == gameObject2))
|
||||
{
|
||||
MIGCNEPBKDG componentInParent = HDPMJFANOPG.GetComponentInParent<MIGCNEPBKDG>();
|
||||
ConnectionPoint component = HDPMJFANOPG.GetComponent<ConnectionPoint>();
|
||||
}
|
||||
MIGCNEPBKDG componentInParent2 = GFMAOEPEFKD.GetComponentInParent<MIGCNEPBKDG>();
|
||||
if (GFMAOEPEFKD.GetComponent<ConnectionPoint>() != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
int num4 = 0;
|
||||
if (num != num4)
|
||||
{
|
||||
}
|
||||
bool flag;
|
||||
if (num != 0 && flag)
|
||||
{
|
||||
int num5 = 0;
|
||||
bool flag2;
|
||||
if (num != num5 && flag2)
|
||||
{
|
||||
if (!base.OGIBLNIIHDK && !base.PBBJCLJPFMI.FNFNLDBILFE && base.PBBJCLJPFMI.NHPPANGAKAP)
|
||||
{
|
||||
PhotonView photonView = base.JDHMIOJKLCK;
|
||||
AGAJMBPABDL agajmbpabdl = KKPBCOOONNK.MDMMDPEKICF;
|
||||
photonView.TransferOwnership(agajmbpabdl);
|
||||
}
|
||||
if (base.OGIBLNIIHDK)
|
||||
{
|
||||
if (this._connectableTool.childrenConnectables.Contains(num))
|
||||
{
|
||||
this._connectableTool.AuthorityUnparentOtherConnectableFromThis(num);
|
||||
}
|
||||
Transform targetTransform = base.PBBJCLJPFMI.rigidbodyEx.MDKDCJFEBJH;
|
||||
Transform targetTransform2 = base.PBBJCLJPFMI.rigidbodyEx.MDKDCJFEBJH;
|
||||
ConnectableTool connectableTool = this._connectableTool;
|
||||
int num6 = 0;
|
||||
connectableTool.AuthorityParentOtherConnectableToThis(1, num, num, num6, num6);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (AFLPGGJMPOE != 0)
|
||||
{
|
||||
int num7 = 0;
|
||||
AFLPGGJMPOE((GBDECALBCOP)((uint)2), num7);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06016E7D RID: 93821 RVA: 0x00552268 File Offset: 0x00550468
|
||||
[Token(Token = "0x6016E7D")]
|
||||
[Address(RVA = "0x1DD5C00", Offset = "0x1DD4C00", VA = "0x181DD5C00")]
|
||||
private void LIGHGNJBAEB(ConnectionPoint HDPMJFANOPG, ConnectionPoint GFMAOEPEFKD, [Optional] ConnectionPoint.PGHEPJALOOK AFLPGGJMPOE)
|
||||
{
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
if (HDPMJFANOPG != num2)
|
||||
{
|
||||
int num3 = 0;
|
||||
if (GFMAOEPEFKD != num3)
|
||||
{
|
||||
GameObject gameObject = HDPMJFANOPG.gameObject;
|
||||
GameObject gameObject2 = this.parentingConnectionPoint.gameObject;
|
||||
if (!(gameObject == gameObject2))
|
||||
{
|
||||
MIGCNEPBKDG componentInParent = HDPMJFANOPG.GetComponentInParent<MIGCNEPBKDG>();
|
||||
ConnectionPoint component = HDPMJFANOPG.GetComponent<ConnectionPoint>();
|
||||
}
|
||||
MIGCNEPBKDG componentInParent2 = GFMAOEPEFKD.GetComponentInParent<MIGCNEPBKDG>();
|
||||
if (GFMAOEPEFKD.GetComponent<ConnectionPoint>() != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
int num4 = 0;
|
||||
if (num != num4)
|
||||
{
|
||||
}
|
||||
if (num != 0)
|
||||
{
|
||||
int num5 = 0;
|
||||
bool flag;
|
||||
if (num != num5 && flag)
|
||||
{
|
||||
if (!base.OGIBLNIIHDK && !base.PBBJCLJPFMI.FNFNLDBILFE && base.PBBJCLJPFMI.NHPPANGAKAP)
|
||||
{
|
||||
PhotonView photonView = base.JDHMIOJKLCK;
|
||||
AGAJMBPABDL agajmbpabdl = KKPBCOOONNK.MDMMDPEKICF;
|
||||
photonView.TransferOwnership(agajmbpabdl);
|
||||
}
|
||||
if (base.OGIBLNIIHDK)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (AFLPGGJMPOE != 0)
|
||||
{
|
||||
int num6 = 0;
|
||||
AFLPGGJMPOE((GBDECALBCOP)((uint)2), num6);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06016E7E RID: 93822 RVA: 0x00552354 File Offset: 0x00550554
|
||||
[Token(Token = "0x6016E7E")]
|
||||
[Address(RVA = "0x12EEEE0", Offset = "0x12EDEE0", VA = "0x1812EEEE0")]
|
||||
public InfluencerGizmo()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400EE33 RID: 60979
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
|
||||
[Token(Token = "0x400EE33")]
|
||||
[SerializeField]
|
||||
private ConnectionPoint parentingConnectionPoint;
|
||||
|
||||
// Token: 0x0400EE34 RID: 60980
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
||||
[Token(Token = "0x400EE34")]
|
||||
[SerializeField]
|
||||
private ConnectionPoint influencingConnectionPoint;
|
||||
|
||||
// Token: 0x02003416 RID: 13334
|
||||
[Token(Token = "0x2003416")]
|
||||
public enum JFELDIFCJPC
|
||||
{
|
||||
// Token: 0x0400EE36 RID: 60982
|
||||
[Token(Token = "0x400EE36")]
|
||||
Parenting,
|
||||
// Token: 0x0400EE37 RID: 60983
|
||||
[Token(Token = "0x400EE37")]
|
||||
Influencing
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user