scripts
This commit is contained in:
@@ -0,0 +1,257 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using Photon.Pun;
|
||||
using Photon.Realtime;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Core.Creation.SandboxGizmos
|
||||
{
|
||||
// Token: 0x02002D5D RID: 11613
|
||||
[Token(Token = "0x2002D5D")]
|
||||
[StructLayout(3)]
|
||||
public class InfluencerGizmo : SandboxGizmo
|
||||
{
|
||||
// Token: 0x17003710 RID: 14096
|
||||
// (get) Token: 0x060148EE RID: 84206 RVA: 0x004EE168 File Offset: 0x004EC368
|
||||
[Token(Token = "0x17003710")]
|
||||
public ConnectionPoint OIDBNNGDNHD
|
||||
{
|
||||
[Token(Token = "0x60148EE")]
|
||||
[Address(RVA = "0x52F5A0", Offset = "0x52DFA0", VA = "0x18052F5A0")]
|
||||
get
|
||||
{
|
||||
return this.parentingConnectionPoint;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17003711 RID: 14097
|
||||
// (get) Token: 0x060148EF RID: 84207 RVA: 0x004EE17C File Offset: 0x004EC37C
|
||||
[Token(Token = "0x17003711")]
|
||||
public ConnectionPoint HBNLDFJMCED
|
||||
{
|
||||
[Token(Token = "0x60148EF")]
|
||||
[Address(RVA = "0x6361F0", Offset = "0x634BF0", VA = "0x1806361F0")]
|
||||
get
|
||||
{
|
||||
return this.influencingConnectionPoint;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060148F0 RID: 84208 RVA: 0x004EE190 File Offset: 0x004EC390
|
||||
[Token(Token = "0x60148F0")]
|
||||
[Address(RVA = "0x1912330", Offset = "0x1910D30", VA = "0x181912330", 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: 0x060148F1 RID: 84209 RVA: 0x004EE24C File Offset: 0x004EC44C
|
||||
[Token(Token = "0x60148F1")]
|
||||
[Address(RVA = "0x1912EA0", Offset = "0x19118A0", VA = "0x181912EA0")]
|
||||
private void NMJJFELGGKM(ConnectionPoint ODBAFIFNIDO, [Optional] ConnectionPoint.PGHEPJALOOK AFLPGGJMPOE)
|
||||
{
|
||||
int num;
|
||||
if (base.hasAuthority || !this._connectableTool._tool.FNFNLDBILFE)
|
||||
{
|
||||
num = 0;
|
||||
}
|
||||
if (AFLPGGJMPOE != 0)
|
||||
{
|
||||
Photon.Realtime.Player authority = base.authority;
|
||||
AFLPGGJMPOE((GBDECALBCOP)num, authority);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060148F2 RID: 84210 RVA: 0x004EE290 File Offset: 0x004EC490
|
||||
[Token(Token = "0x60148F2")]
|
||||
[Address(RVA = "0x19124F0", Offset = "0x1910EF0", VA = "0x1819124F0")]
|
||||
private void CBJACLPAKMC(ConnectionPoint ODBAFIFNIDO, [Optional] ConnectionPoint.PGHEPJALOOK AFLPGGJMPOE)
|
||||
{
|
||||
int num;
|
||||
if (base.hasAuthority || !this._connectableTool._tool.FNFNLDBILFE)
|
||||
{
|
||||
this._connectableTool.AuthorityUnparentThisConnectableFromOther();
|
||||
num = 0;
|
||||
}
|
||||
if (AFLPGGJMPOE != 0)
|
||||
{
|
||||
Photon.Realtime.Player authority = base.authority;
|
||||
AFLPGGJMPOE((GBDECALBCOP)num, authority);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060148F3 RID: 84211 RVA: 0x004EE2E0 File Offset: 0x004EC4E0
|
||||
[Token(Token = "0x60148F3")]
|
||||
[Address(RVA = "0x19128C0", Offset = "0x19112C0", VA = "0x1819128C0")]
|
||||
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.hasAuthority && !this._connectableTool._tool.FNFNLDBILFE && this._connectableTool._tool.NHPPANGAKAP)
|
||||
{
|
||||
PhotonView photonView = base.photonView;
|
||||
Photon.Realtime.Player localPlayer = PhotonNetwork.LocalPlayer;
|
||||
photonView.TransferOwnership(localPlayer);
|
||||
}
|
||||
if (base.hasAuthority)
|
||||
{
|
||||
bool flag3 = this._connectableTool.childrenConnectables.Contains(num);
|
||||
ConnectableTool connectableTool = this._connectableTool;
|
||||
if (flag3)
|
||||
{
|
||||
connectableTool.AuthorityUnparentOtherConnectableFromThis(num);
|
||||
}
|
||||
Transform targetTransform = connectableTool._tool.rigidbodyEx.MDKDCJFEBJH;
|
||||
Transform targetTransform2 = this._connectableTool._tool.rigidbodyEx.MDKDCJFEBJH;
|
||||
ConnectableTool connectableTool2 = this._connectableTool;
|
||||
int num6 = 0;
|
||||
connectableTool2.AuthorityParentOtherConnectableToThis(1, num, num, num6, num6);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (AFLPGGJMPOE != 0)
|
||||
{
|
||||
int num7 = 0;
|
||||
AFLPGGJMPOE((GBDECALBCOP)((uint)2), num7);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060148F4 RID: 84212 RVA: 0x004EE44C File Offset: 0x004EC64C
|
||||
[Token(Token = "0x60148F4")]
|
||||
[Address(RVA = "0x1912580", Offset = "0x1910F80", VA = "0x181912580")]
|
||||
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.hasAuthority && !this._connectableTool._tool.FNFNLDBILFE && this._connectableTool._tool.NHPPANGAKAP)
|
||||
{
|
||||
PhotonView photonView = base.photonView;
|
||||
Photon.Realtime.Player localPlayer = PhotonNetwork.LocalPlayer;
|
||||
photonView.TransferOwnership(localPlayer);
|
||||
}
|
||||
if (base.hasAuthority)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (AFLPGGJMPOE != 0)
|
||||
{
|
||||
int num6 = 0;
|
||||
AFLPGGJMPOE((GBDECALBCOP)((uint)2), num6);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060148F5 RID: 84213 RVA: 0x004EE548 File Offset: 0x004EC748
|
||||
[Token(Token = "0x60148F5")]
|
||||
[Address(RVA = "0x6A4030", Offset = "0x6A2A30", VA = "0x1806A4030")]
|
||||
public InfluencerGizmo()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400DB8E RID: 56206
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
|
||||
[Token(Token = "0x400DB8E")]
|
||||
[SerializeField]
|
||||
private ConnectionPoint parentingConnectionPoint;
|
||||
|
||||
// Token: 0x0400DB8F RID: 56207
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
||||
[Token(Token = "0x400DB8F")]
|
||||
[SerializeField]
|
||||
private ConnectionPoint influencingConnectionPoint;
|
||||
|
||||
// Token: 0x02002D5E RID: 11614
|
||||
[Token(Token = "0x2002D5E")]
|
||||
public enum JFELDIFCJPC
|
||||
{
|
||||
// Token: 0x0400DB91 RID: 56209
|
||||
[Token(Token = "0x400DB91")]
|
||||
Parenting,
|
||||
// Token: 0x0400DB92 RID: 56210
|
||||
[Token(Token = "0x400DB92")]
|
||||
Influencing
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user