scripts
This commit is contained in:
@@ -0,0 +1,770 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
using Photon.Pun;
|
||||
using Photon.Realtime;
|
||||
using RecRoom.Networking.SynchronizedFields;
|
||||
using RecRoom.Persistence;
|
||||
using RecRoom.Tools;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Rendering.Universal;
|
||||
|
||||
namespace RecRoom.Activities.Toys
|
||||
{
|
||||
// Token: 0x0200269A RID: 9882
|
||||
[Token(Token = "0x200269A")]
|
||||
[StructLayout(3)]
|
||||
public class RCCarRemoteControl : MonoBehaviourPun, EOCLMMENCKH, CHJEFIDMANE
|
||||
{
|
||||
// Token: 0x17002E81 RID: 11905
|
||||
// (get) Token: 0x0601125F RID: 70239 RVA: 0x0040D11C File Offset: 0x0040B31C
|
||||
[Token(Token = "0x17002E81")]
|
||||
public Tool PBBJCLJPFMI
|
||||
{
|
||||
[Token(Token = "0x601125F")]
|
||||
[Address(RVA = "0x4BD780", Offset = "0x4BC180", VA = "0x1804BD780")]
|
||||
get
|
||||
{
|
||||
return this._tool;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002E82 RID: 11906
|
||||
// (get) Token: 0x06011260 RID: 70240 RVA: 0x0040D130 File Offset: 0x0040B330
|
||||
// (set) Token: 0x06011261 RID: 70241 RVA: 0x0040D144 File Offset: 0x0040B344
|
||||
[Token(Token = "0x17002E82")]
|
||||
public RemoteControllable NHELPLLFIGL
|
||||
{
|
||||
[Token(Token = "0x6011260")]
|
||||
[Address(RVA = "0x3D32F0", Offset = "0x3D1CF0", VA = "0x1803D32F0")]
|
||||
get
|
||||
{
|
||||
return this.controlledObject;
|
||||
}
|
||||
[Token(Token = "0x6011261")]
|
||||
[Address(RVA = "0x15C3D00", Offset = "0x15C2700", VA = "0x1815C3D00")]
|
||||
set
|
||||
{
|
||||
int num = 0;
|
||||
bool flag = value == num;
|
||||
SynchronizedField<int> ekndcbfjooc = this.EKNDCBFJOOC;
|
||||
if (!flag)
|
||||
{
|
||||
PhotonView photonView = value.photonView;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002E83 RID: 11907
|
||||
// (get) Token: 0x06011262 RID: 70242 RVA: 0x0040D174 File Offset: 0x0040B374
|
||||
// (set) Token: 0x06011263 RID: 70243 RVA: 0x0040D188 File Offset: 0x0040B388
|
||||
[Token(Token = "0x17002E83")]
|
||||
public bool MBOPDCJIJAH
|
||||
{
|
||||
[Token(Token = "0x6011262")]
|
||||
[Address(RVA = "0x6361D0", Offset = "0x634BD0", VA = "0x1806361D0")]
|
||||
get;
|
||||
[Token(Token = "0x6011263")]
|
||||
[Address(RVA = "0x636200", Offset = "0x634C00", VA = "0x180636200")]
|
||||
private set;
|
||||
}
|
||||
|
||||
// Token: 0x06011264 RID: 70244 RVA: 0x0040D19C File Offset: 0x0040B39C
|
||||
[Token(Token = "0x6011264")]
|
||||
[Address(RVA = "0x15C1F60", Offset = "0x15C0960", VA = "0x1815C1F60", Slot = "13")]
|
||||
protected override void Awake()
|
||||
{
|
||||
base..ctor();
|
||||
Action action = new Action(this.CHEMPIJFEBF);
|
||||
Tool tool = this._tool;
|
||||
SynchronizedField<int> synchronizedField;
|
||||
this.EKNDCBFJOOC = synchronizedField;
|
||||
tool.SupportsRemoteControlInput = true;
|
||||
Tool tool2 = this._tool;
|
||||
ActionEvent<Tool> postPickupEvent = tool2.PostPickupEvent;
|
||||
Action<Tool> action2 = new Action(this.AEHDEJPEAKM);
|
||||
ActionEvent<Tool> actionEvent = postPickupEvent + action2;
|
||||
tool2.PostPickupEvent = actionEvent;
|
||||
Tool tool3 = this._tool;
|
||||
ActionEvent<Tool> preReleaseEvent = tool3.PreReleaseEvent;
|
||||
Action<Tool> action3 = new Action(this.PAEFCHDJPHF);
|
||||
ActionEvent<Tool> actionEvent2 = preReleaseEvent + action3;
|
||||
tool3.PreReleaseEvent = actionEvent2;
|
||||
Tool tool4 = this._tool;
|
||||
ActionEvent<Tool, Vector2, float, bool> remoteControlInputEvent = tool4.RemoteControlInputEvent;
|
||||
Action<Tool, Vector2, float, bool> action4 = new Action(this.ANCGKFPNLON);
|
||||
ActionEvent<Tool> actionEvent3;
|
||||
tool4.RemoteControlInputEvent = actionEvent3;
|
||||
TeamColorRenderer teamColorRenderer = this.teamColorRenderer;
|
||||
Action<Color> action5 = new Action(this.LJJIPNIMMIK);
|
||||
teamColorRenderer.ColorChangeEvent += action5;
|
||||
RenderTexture renderTexture;
|
||||
renderTexture.name = "RCCarRemoteControl";
|
||||
this.LDEKHANDCBO = renderTexture;
|
||||
int activeMsaaSampleCount = UniversalRenderPipeline.ActiveMsaaSampleCount;
|
||||
renderTexture.antiAliasing = activeMsaaSampleCount;
|
||||
Material material = new Material(this.screenRenderMaterial);
|
||||
this.ALODIMNNLDI = material;
|
||||
RenderTexture ldekhandcbo = this.LDEKHANDCBO;
|
||||
material.mainTexture = ldekhandcbo;
|
||||
}
|
||||
|
||||
// Token: 0x06011265 RID: 70245 RVA: 0x0040D2D4 File Offset: 0x0040B4D4
|
||||
[Token(Token = "0x6011265")]
|
||||
[Address(RVA = "0x15C3AA0", Offset = "0x15C24A0", VA = "0x1815C3AA0")]
|
||||
private void Start()
|
||||
{
|
||||
if (this.<DABADAFOEIF>k__BackingField && this.controlledObject.hasAuthority)
|
||||
{
|
||||
RemoteControllable remoteControllable = this.controlledObject;
|
||||
TeamColorRenderer teamColorRenderer = this.teamColorRenderer;
|
||||
TeamColorRenderer teamColorRenderer2 = remoteControllable.teamColorRenderer;
|
||||
CGLKOJIMDIH gppklflpdbk = teamColorRenderer.GPPKLFLPDBK;
|
||||
teamColorRenderer2.SetTeam(gppklflpdbk);
|
||||
}
|
||||
this.CHEMPIJFEBF();
|
||||
CollisionForwarder collisionForwarder = this.screenButtonForwarder;
|
||||
int num = 0;
|
||||
if (collisionForwarder != num)
|
||||
{
|
||||
CollisionForwarder collisionForwarder2 = this.screenButtonForwarder;
|
||||
CollisionForwarder.IOAKDHHHEOA ioakdhhheoa = new CollisionForwarder.IOAKDHHHEOA(this.HFIANIJADKB);
|
||||
collisionForwarder2.FAENMKFGFFH += ioakdhhheoa;
|
||||
}
|
||||
CollisionForwarder collisionForwarder3 = this.leftResetButtonForwarder;
|
||||
int num2 = 0;
|
||||
if (collisionForwarder3 != num2)
|
||||
{
|
||||
CollisionForwarder collisionForwarder4 = this.leftResetButtonForwarder;
|
||||
CollisionForwarder.IOAKDHHHEOA ioakdhhheoa2 = new CollisionForwarder.IOAKDHHHEOA(this.LHKCEDIOGJG);
|
||||
collisionForwarder4.FAENMKFGFFH += ioakdhhheoa2;
|
||||
}
|
||||
CollisionForwarder collisionForwarder5 = this.rightResetButtonForwarder;
|
||||
int num3 = 0;
|
||||
if (collisionForwarder5 != num3)
|
||||
{
|
||||
CollisionForwarder collisionForwarder6 = this.rightResetButtonForwarder;
|
||||
CollisionForwarder.IOAKDHHHEOA ioakdhhheoa3 = new CollisionForwarder.IOAKDHHHEOA(this.NJAKCAHOJFE);
|
||||
collisionForwarder6.FAENMKFGFFH += ioakdhhheoa3;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06011266 RID: 70246 RVA: 0x0040D3CC File Offset: 0x0040B5CC
|
||||
[Token(Token = "0x6011266")]
|
||||
[Address(RVA = "0x15C1BF0", Offset = "0x15C05F0", VA = "0x1815C1BF0")]
|
||||
private void ANCGKFPNLON(Tool NBHJPDBHDHB, Vector2 DEPHLAPJINP, float LBMJFNPEFIP, bool KDPMCHLDJGD)
|
||||
{
|
||||
Tool tool = this._tool;
|
||||
if (tool.<BIPMAHKMNKF>k__BackingField)
|
||||
{
|
||||
global::Player <OKDFEPHLKCB>k__BackingField = tool.<OKDFEPHLKCB>k__BackingField;
|
||||
global::Player <EGKJPJKLEAI>k__BackingField = global::Player.<EGKJPJKLEAI>k__BackingField;
|
||||
if (<OKDFEPHLKCB>k__BackingField == <EGKJPJKLEAI>k__BackingField)
|
||||
{
|
||||
if (this.<DABADAFOEIF>k__BackingField)
|
||||
{
|
||||
Tool tool2 = this._tool;
|
||||
RemoteControllable remoteControllable = this.controlledObject;
|
||||
Vector3 vector;
|
||||
float z = vector.z;
|
||||
remoteControllable.OnDestroy();
|
||||
}
|
||||
RemoteControlAnimation remoteControlAnimation = this.rcAnimation;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06011267 RID: 70247 RVA: 0x0040D438 File Offset: 0x0040B638
|
||||
[Token(Token = "0x6011267")]
|
||||
[Address(RVA = "0x15C2CA0", Offset = "0x15C16A0", VA = "0x1815C2CA0", Slot = "14")]
|
||||
protected override void OnDestroy()
|
||||
{
|
||||
base.OnDestroy();
|
||||
Tool tool = this._tool;
|
||||
ActionEvent<Tool> postPickupEvent = tool.PostPickupEvent;
|
||||
Action<Tool> action = new Action(this.AEHDEJPEAKM);
|
||||
ActionEvent<Tool> actionEvent = postPickupEvent - action;
|
||||
tool.PostPickupEvent = actionEvent;
|
||||
Tool tool2 = this._tool;
|
||||
ActionEvent<Tool> preReleaseEvent = tool2.PreReleaseEvent;
|
||||
Action<Tool> action2 = new Action(this.PAEFCHDJPHF);
|
||||
ActionEvent<Tool> actionEvent2 = preReleaseEvent - action2;
|
||||
tool2.PreReleaseEvent = actionEvent2;
|
||||
Tool tool3 = this._tool;
|
||||
ActionEvent<Tool, Vector2, float, bool> remoteControlInputEvent = tool3.RemoteControlInputEvent;
|
||||
Action<Tool, Vector2, float, bool> action3 = new Action(this.ANCGKFPNLON);
|
||||
ActionEvent<Tool> actionEvent3;
|
||||
tool3.RemoteControlInputEvent = actionEvent3;
|
||||
TeamColorRenderer teamColorRenderer = this.teamColorRenderer;
|
||||
Action<Color> action4 = new Action(this.LJJIPNIMMIK);
|
||||
teamColorRenderer.ColorChangeEvent -= action4;
|
||||
RemoteControllable remoteControllable = this.controlledObject;
|
||||
int num = 0;
|
||||
if (remoteControllable != num)
|
||||
{
|
||||
Tool tool4 = this.controlledObject._tool;
|
||||
ActionEvent<Tool, Vector3, Quaternion, Vector3, bool> postResetEvent = tool4.PostResetEvent;
|
||||
Action<Tool, Vector3, Quaternion, Vector3, bool> action5 = new Action(this.OnCarReset);
|
||||
ActionEvent<Tool> actionEvent4;
|
||||
tool4.PostResetEvent = actionEvent4;
|
||||
}
|
||||
Material alodimnnldi = this.ALODIMNNLDI;
|
||||
int num2 = 0;
|
||||
bool flag = alodimnnldi != num2;
|
||||
int num3 = 0;
|
||||
if (flag)
|
||||
{
|
||||
global::UnityEngine.Object.DestroyImmediate(this.ALODIMNNLDI);
|
||||
this.ALODIMNNLDI = num3;
|
||||
}
|
||||
RenderTexture ldekhandcbo = this.LDEKHANDCBO;
|
||||
int num4 = 0;
|
||||
if (ldekhandcbo != num4)
|
||||
{
|
||||
this.LDEKHANDCBO.Release();
|
||||
global::UnityEngine.Object.DestroyImmediate(this.LDEKHANDCBO);
|
||||
this.LDEKHANDCBO = num3;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06011268 RID: 70248 RVA: 0x0040D5A0 File Offset: 0x0040B7A0
|
||||
[Token(Token = "0x6011268")]
|
||||
[Address(RVA = "0x15C1A30", Offset = "0x15C0430", VA = "0x1815C1A30")]
|
||||
private void AEHDEJPEAKM(Tool NBHJPDBHDHB)
|
||||
{
|
||||
if (this._tool.BHAAHKEILOG.isLocal)
|
||||
{
|
||||
if (!this.<DABADAFOEIF>k__BackingField)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (!this.controlledObject.hasAuthority && !this.controlledObject._tool.FNFNLDBILFE)
|
||||
{
|
||||
PhotonView photonView = this.controlledObject.photonView;
|
||||
Photon.Realtime.Player owner = this._tool.owner;
|
||||
photonView.TransferOwnership(owner);
|
||||
}
|
||||
RemoteFollowCamera remoteFollowCamera = this.controlledObject.remoteFollowCamera;
|
||||
int num = 0;
|
||||
if (remoteFollowCamera != num)
|
||||
{
|
||||
RemoteFollowCamera remoteFollowCamera2 = this.controlledObject.remoteFollowCamera;
|
||||
if (remoteFollowCamera2.currentFollowMode != RemoteFollowCamera.PFCMCPJKPCB.None)
|
||||
{
|
||||
remoteFollowCamera2.gameObject.SetActive(true);
|
||||
Material alodimnnldi = this.ALODIMNNLDI;
|
||||
this.NPDHMAKPOPA(alodimnnldi);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (this.<DABADAFOEIF>k__BackingField)
|
||||
{
|
||||
this.controlledObject._tool.<JGABDFBGDEB>k__BackingField.PauseAutomaticCleanup(this);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06011269 RID: 70249 RVA: 0x0040D680 File Offset: 0x0040B880
|
||||
[Token(Token = "0x6011269")]
|
||||
[Address(RVA = "0x15C2FD0", Offset = "0x15C19D0", VA = "0x1815C2FD0")]
|
||||
private void PAEFCHDJPHF(Tool NBHJPDBHDHB)
|
||||
{
|
||||
if (this._tool.BHAAHKEILOG.isLocal)
|
||||
{
|
||||
if (!this.<DABADAFOEIF>k__BackingField)
|
||||
{
|
||||
return;
|
||||
}
|
||||
RemoteFollowCamera remoteFollowCamera = this.controlledObject.remoteFollowCamera;
|
||||
int num = 0;
|
||||
if (remoteFollowCamera != num)
|
||||
{
|
||||
GameObject gameObject = this.controlledObject.remoteFollowCamera.gameObject;
|
||||
int num2 = 0;
|
||||
gameObject.SetActive(num2 != 0);
|
||||
Material material = this.defaultScreenMaterial;
|
||||
this.NPDHMAKPOPA(material);
|
||||
}
|
||||
}
|
||||
if (this.<DABADAFOEIF>k__BackingField)
|
||||
{
|
||||
this.controlledObject._tool.<JGABDFBGDEB>k__BackingField.ResumeAutomaticCleanup(this);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0601126A RID: 70250 RVA: 0x0040D714 File Offset: 0x0040B914
|
||||
[Token(Token = "0x601126A")]
|
||||
[Address(RVA = "0x15C2280", Offset = "0x15C0C80", VA = "0x1815C2280")]
|
||||
private void CHEMPIJFEBF()
|
||||
{
|
||||
PhotonView photonView = PhotonNetwork.GetPhotonView(this.EKNDCBFJOOC.Get());
|
||||
int num = 0;
|
||||
if (photonView != num)
|
||||
{
|
||||
RemoteControllable component = photonView.GetComponent<RemoteControllable>();
|
||||
}
|
||||
int num2 = 0;
|
||||
RemoteControllable remoteControllable = this.controlledObject;
|
||||
int num3 = 0;
|
||||
if (remoteControllable != num3 && this.controlledObject != num2)
|
||||
{
|
||||
Tool tool = this.controlledObject._tool;
|
||||
ActionEvent<Tool, Vector3, Quaternion, Vector3, bool> postResetEvent = tool.PostResetEvent;
|
||||
Action<Tool, Vector3, Quaternion, Vector3, bool> action = new Action(this.OnCarReset);
|
||||
ActionEvent<Tool, Vector3, Quaternion, Vector3, bool> actionEvent = postResetEvent - action;
|
||||
tool.PostResetEvent = actionEvent;
|
||||
}
|
||||
this.controlledObject = num2;
|
||||
int num4 = 0;
|
||||
bool flag = num2 != num4;
|
||||
if (!flag)
|
||||
{
|
||||
this.<DABADAFOEIF>k__BackingField = flag;
|
||||
return;
|
||||
}
|
||||
Tool tool2 = this.controlledObject._tool;
|
||||
ActionEvent<Tool, Vector3, Quaternion, Vector3, bool> postResetEvent2 = tool2.PostResetEvent;
|
||||
Action<Tool, Vector3, Quaternion, Vector3, bool> action2 = new Action(this.OnCarReset);
|
||||
ActionEvent<Tool, Vector3, Quaternion, Vector3, bool> actionEvent2 = postResetEvent2 + action2;
|
||||
tool2.PostResetEvent = actionEvent2;
|
||||
Tool tool3 = this.controlledObject._tool;
|
||||
ActionEvent<Tool> destroyEvent = tool3.DestroyEvent;
|
||||
Action<Tool> action3 = new Action(this.OnCarDestroyed);
|
||||
ActionEvent<Tool> actionEvent3 = destroyEvent + action3;
|
||||
tool3.DestroyEvent = actionEvent3;
|
||||
RemoteFollowCamera remoteFollowCamera = this.controlledObject.remoteFollowCamera;
|
||||
int num5 = 0;
|
||||
if (remoteFollowCamera != num5)
|
||||
{
|
||||
Camera camera = this.controlledObject.remoteFollowCamera.camera;
|
||||
RenderTexture ldekhandcbo = this.LDEKHANDCBO;
|
||||
camera.targetTexture = ldekhandcbo;
|
||||
}
|
||||
this.<DABADAFOEIF>k__BackingField = true;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0601126B RID: 70251 RVA: 0x0040D884 File Offset: 0x0040BA84
|
||||
[Token(Token = "0x601126B")]
|
||||
[Address(RVA = "0x15C1E10", Offset = "0x15C0810", VA = "0x1815C1E10")]
|
||||
public void AuthorityResetCar()
|
||||
{
|
||||
if (this._tool.hasAuthority && this.<DABADAFOEIF>k__BackingField && this.controlledObject.hasAuthority && !this.controlledObject._tool.LBPNBENCCHK)
|
||||
{
|
||||
RemoteControllable remoteControllable = this.controlledObject;
|
||||
Transform transform = this.resetControlledObjectTransform;
|
||||
Tool tool = remoteControllable._tool;
|
||||
Vector3 vector;
|
||||
float z = vector.z;
|
||||
Quaternion identity = Quaternion.identity;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0601126C RID: 70252 RVA: 0x0040D8F8 File Offset: 0x0040BAF8
|
||||
[Token(Token = "0x601126C")]
|
||||
[Address(RVA = "0x15C2770", Offset = "0x15C1170", VA = "0x1815C2770")]
|
||||
private void HFIANIJADKB(Collider HPKICPNGMDJ)
|
||||
{
|
||||
Tool tool = this._tool;
|
||||
if (tool.<BIPMAHKMNKF>k__BackingField && tool.hasAuthority)
|
||||
{
|
||||
RemoteControllable remoteControllable = this.controlledObject;
|
||||
int num = 0;
|
||||
if (remoteControllable != num)
|
||||
{
|
||||
RemoteFollowCamera remoteFollowCamera = this.controlledObject.remoteFollowCamera;
|
||||
int num2 = 0;
|
||||
if (remoteFollowCamera != num2 && Time.time > this.GPMIOJCFLFP)
|
||||
{
|
||||
PlayerHand playerHand = HPKICPNGMDJ.ODPIGKCNBIE();
|
||||
int num3 = 0;
|
||||
if (playerHand != num3)
|
||||
{
|
||||
PlayerHand <PBCNKLKCIHJ>k__BackingField = this._tool.<PBCNKLKCIHJ>k__BackingField;
|
||||
if (playerHand != <PBCNKLKCIHJ>k__BackingField)
|
||||
{
|
||||
PlayerHand.ALGBCDINEKF currentHandState = playerHand.CHNPKMIOAGG;
|
||||
float time = Time.time;
|
||||
RemoteControllable remoteControllable2 = this.controlledObject;
|
||||
this.GPMIOJCFLFP = time;
|
||||
RemoteFollowCamera.PFCMCPJKPCB pfcmcpjkpcb = remoteControllable2.remoteFollowCamera.CycleFollowMode();
|
||||
RemoteControllable remoteControllable3 = this.controlledObject;
|
||||
bool flag = pfcmcpjkpcb != RemoteFollowCamera.PFCMCPJKPCB.None;
|
||||
remoteControllable3.remoteFollowCamera.gameObject.SetActive(flag);
|
||||
if (flag)
|
||||
{
|
||||
}
|
||||
Material material = this.defaultScreenMaterial;
|
||||
this.NPDHMAKPOPA(material);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0601126D RID: 70253 RVA: 0x0040DA10 File Offset: 0x0040BC10
|
||||
[Token(Token = "0x601126D")]
|
||||
[Address(RVA = "0x15C3100", Offset = "0x15C1B00", VA = "0x1815C3100")]
|
||||
private void PHJKLNAAPMM(Collider HPKICPNGMDJ, bool CKNEJIJCLMA)
|
||||
{
|
||||
if (this._tool.FNFNLDBILFE && this._tool.hasAuthority && Time.time > this.BEIMDEEDLCA)
|
||||
{
|
||||
PlayerHand playerHand = HPKICPNGMDJ.ODPIGKCNBIE();
|
||||
int num = 0;
|
||||
if (playerHand != num)
|
||||
{
|
||||
PlayerHand <PBCNKLKCIHJ>k__BackingField = this._tool.<PBCNKLKCIHJ>k__BackingField;
|
||||
if (playerHand != <PBCNKLKCIHJ>k__BackingField)
|
||||
{
|
||||
Tool tool = this._tool;
|
||||
global::Player thisPlayer = playerHand._thisPlayer;
|
||||
global::Player <OKDFEPHLKCB>k__BackingField = tool.<OKDFEPHLKCB>k__BackingField;
|
||||
if (thisPlayer == <OKDFEPHLKCB>k__BackingField)
|
||||
{
|
||||
float time = Time.time;
|
||||
this.BEIMDEEDLCA = time;
|
||||
if (this._tool.hasAuthority && this.<DABADAFOEIF>k__BackingField && this.controlledObject.hasAuthority && !this.controlledObject._tool.LBPNBENCCHK)
|
||||
{
|
||||
RemoteControllable remoteControllable = this.controlledObject;
|
||||
Transform transform = this.resetControlledObjectTransform;
|
||||
Tool tool2 = remoteControllable._tool;
|
||||
Vector3 vector;
|
||||
float z = vector.z;
|
||||
Quaternion identity = Quaternion.identity;
|
||||
}
|
||||
RemoteControlAnimation remoteControlAnimation = this.rcAnimation;
|
||||
if (CKNEJIJCLMA)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
remoteControlAnimation.PressRightVirtualButton();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0601126E RID: 70254 RVA: 0x0040DB38 File Offset: 0x0040BD38
|
||||
[Token(Token = "0x601126E")]
|
||||
[Address(RVA = "0x15C2B80", Offset = "0x15C1580", VA = "0x1815C2B80")]
|
||||
public void OnCarReset(Tool NBHJPDBHDHB, Vector3 BNMOCBJEEPN, Quaternion LPHCCEOHNIN, Vector3 GMMJHABHDHE, bool ACPOOMGHPKJ)
|
||||
{
|
||||
if (!this.<DABADAFOEIF>k__BackingField)
|
||||
{
|
||||
}
|
||||
bool hasAuthority = this.controlledObject.hasAuthority;
|
||||
Transform transform = this.controlledObject.transform;
|
||||
Transform transform2 = this.resetControlledObjectTransform;
|
||||
Vector3 vector;
|
||||
float z = vector.z;
|
||||
Transform transform3 = this.controlledObject.transform;
|
||||
Quaternion identity = Quaternion.identity;
|
||||
}
|
||||
|
||||
// Token: 0x0601126F RID: 70255 RVA: 0x0040DB90 File Offset: 0x0040BD90
|
||||
[Token(Token = "0x601126F")]
|
||||
[Address(RVA = "0x15C2B00", Offset = "0x15C1500", VA = "0x1815C2B00")]
|
||||
public void OnCarDestroyed(Tool NBHJPDBHDHB)
|
||||
{
|
||||
int num = 0;
|
||||
bool flag = 0 == num;
|
||||
SynchronizedField<int> ekndcbfjooc = this.EKNDCBFJOOC;
|
||||
}
|
||||
|
||||
// Token: 0x06011270 RID: 70256 RVA: 0x0040DBB4 File Offset: 0x0040BDB4
|
||||
[Token(Token = "0x6011270")]
|
||||
[Address(RVA = "0x15C29D0", Offset = "0x15C13D0", VA = "0x1815C29D0")]
|
||||
private void LJJIPNIMMIK(Color GJAINANBOCB)
|
||||
{
|
||||
if (this.<DABADAFOEIF>k__BackingField && this.controlledObject.hasAuthority)
|
||||
{
|
||||
RemoteControllable remoteControllable = this.controlledObject;
|
||||
TeamColorRenderer teamColorRenderer = this.teamColorRenderer;
|
||||
TeamColorRenderer teamColorRenderer2 = remoteControllable.teamColorRenderer;
|
||||
CGLKOJIMDIH gppklflpdbk = teamColorRenderer.GPPKLFLPDBK;
|
||||
teamColorRenderer2.SetTeam(gppklflpdbk);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06011271 RID: 70257 RVA: 0x0040DC04 File Offset: 0x0040BE04
|
||||
[Token(Token = "0x6011271")]
|
||||
[Address(RVA = "0x15C29D0", Offset = "0x15C13D0", VA = "0x1815C29D0")]
|
||||
private void LJJIPNIMMIK()
|
||||
{
|
||||
if (this.<DABADAFOEIF>k__BackingField && this.controlledObject.hasAuthority)
|
||||
{
|
||||
RemoteControllable remoteControllable = this.controlledObject;
|
||||
TeamColorRenderer teamColorRenderer = this.teamColorRenderer;
|
||||
TeamColorRenderer teamColorRenderer2 = remoteControllable.teamColorRenderer;
|
||||
CGLKOJIMDIH gppklflpdbk = teamColorRenderer.GPPKLFLPDBK;
|
||||
teamColorRenderer2.SetTeam(gppklflpdbk);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06011272 RID: 70258 RVA: 0x0040DC54 File Offset: 0x0040BE54
|
||||
[Token(Token = "0x6011272")]
|
||||
[Address(RVA = "0x15C2A50", Offset = "0x15C1450", VA = "0x1815C2A50")]
|
||||
private void NPDHMAKPOPA(Material KFENPJENIOI)
|
||||
{
|
||||
Material[] sharedMaterialArray = this.screenRenderer.GetSharedMaterialArray();
|
||||
int num = this.screenMaterialIndex;
|
||||
if (KFENPJENIOI != 0)
|
||||
{
|
||||
}
|
||||
sharedMaterialArray[0] = KFENPJENIOI;
|
||||
this.screenRenderer.SetMaterialArray(sharedMaterialArray);
|
||||
}
|
||||
|
||||
// Token: 0x17002E84 RID: 11908
|
||||
// (get) Token: 0x06011273 RID: 70259 RVA: 0x0040DC94 File Offset: 0x0040BE94
|
||||
[Token(Token = "0x17002E84")]
|
||||
public bool JBMFJOBFJHP
|
||||
{
|
||||
[Token(Token = "0x6011273")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "15")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06011274 RID: 70260 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6011274")]
|
||||
[Address(RVA = "0x15C25B0", Offset = "0x15C0FB0", VA = "0x1815C25B0", Slot = "16")]
|
||||
public void DeserializeFrom(KPNDFONGDGF HFBJGCHOANH)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06011275 RID: 70261 RVA: 0x0040DCA4 File Offset: 0x0040BEA4
|
||||
[Token(Token = "0x6011275")]
|
||||
[Address(RVA = "0x15C3400", Offset = "0x15C1E00", VA = "0x1815C3400", Slot = "18")]
|
||||
public void PostDeserialize(LJJOCDFAMGA FLIPBCAPDGC)
|
||||
{
|
||||
Guid jekbbdhjgba = this.JEKBBDHJGBA;
|
||||
Guid empty = Guid.Empty;
|
||||
if (jekbbdhjgba != empty)
|
||||
{
|
||||
Dictionary<Guid, PersistenceView> allViews = PersistenceView.AllViews;
|
||||
Guid jekbbdhjgba2 = this.JEKBBDHJGBA;
|
||||
bool flag;
|
||||
if (flag)
|
||||
{
|
||||
int num = 0;
|
||||
RemoteControllable remoteControllable;
|
||||
if (!(remoteControllable != num))
|
||||
{
|
||||
object[] array = new object[2];
|
||||
GameObject gameObject = base.gameObject;
|
||||
if (gameObject != 0)
|
||||
{
|
||||
}
|
||||
array[0] = gameObject;
|
||||
ulong num2;
|
||||
if (num2 != (ulong)0L)
|
||||
{
|
||||
}
|
||||
array[1] = num2;
|
||||
}
|
||||
return;
|
||||
}
|
||||
object[] array2 = new object[2];
|
||||
GameObject gameObject2 = base.gameObject;
|
||||
if (gameObject2 != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = gameObject2;
|
||||
Guid jekbbdhjgba3 = this.JEKBBDHJGBA;
|
||||
if (gameObject2 != 0)
|
||||
{
|
||||
}
|
||||
array2[1] = gameObject2;
|
||||
Debug.LogErrorFormat(this, "Error deserializing RCCarRemoteControl {0}: Could not find controllable PersistenceView with ID {1}.", array2);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06011276 RID: 70262 RVA: 0x0040DD64 File Offset: 0x0040BF64
|
||||
[Token(Token = "0x6011276")]
|
||||
[Address(RVA = "0x15C37A0", Offset = "0x15C21A0", VA = "0x1815C37A0", Slot = "17")]
|
||||
public void SerializeTo(ref PDEKIHFJKHJ IABNDBNHMKF, ref MKNCHKCCIHK NHFINJNIPGK, StringBuilder BIPOIFGEMGB)
|
||||
{
|
||||
BJCEKHBIMKK bjcekhbimkk = new BJCEKHBIMKK();
|
||||
if (this.<DABADAFOEIF>k__BackingField)
|
||||
{
|
||||
PersistenceView component = this.controlledObject.GetComponent<PersistenceView>();
|
||||
int num = 0;
|
||||
if (component == num)
|
||||
{
|
||||
object[] array = new object[2];
|
||||
GameObject gameObject = base.gameObject;
|
||||
if (gameObject != 0)
|
||||
{
|
||||
}
|
||||
array[0] = gameObject;
|
||||
GameObject gameObject2 = this.controlledObject.gameObject;
|
||||
if (gameObject2 != 0)
|
||||
{
|
||||
}
|
||||
array[1] = gameObject2;
|
||||
Debug.LogFormat(this, "Serializing RCCarRemoteControl {0}: Controlled PhotonView {1} has no corresponding PersistenceView.", array);
|
||||
object[] array2 = new object[1];
|
||||
GameObject gameObject3 = base.gameObject;
|
||||
if (gameObject3 != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = gameObject3;
|
||||
Debug.LogErrorFormat(this, "Error serializing RCCarRemoteControl {0}: Data already specified.", array2);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06011277 RID: 70263 RVA: 0x0040DE14 File Offset: 0x0040C014
|
||||
[Token(Token = "0x6011277")]
|
||||
[Address(RVA = "0x15C3CA0", Offset = "0x15C26A0", VA = "0x1815C3CA0")]
|
||||
public RCCarRemoteControl()
|
||||
{
|
||||
ulong num;
|
||||
this.resolution = num;
|
||||
this.resolution.y = (float)0;
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x06011278 RID: 70264 RVA: 0x0040DE3C File Offset: 0x0040C03C
|
||||
[Token(Token = "0x6011278")]
|
||||
[Address(RVA = "0x15C29C0", Offset = "0x15C13C0", VA = "0x1815C29C0")]
|
||||
[CompilerGenerated]
|
||||
private void LHKCEDIOGJG(Collider MBEHODBGOJI)
|
||||
{
|
||||
this.PHJKLNAAPMM(MBEHODBGOJI, true);
|
||||
}
|
||||
|
||||
// Token: 0x06011279 RID: 70265 RVA: 0x0040DE54 File Offset: 0x0040C054
|
||||
[Token(Token = "0x6011279")]
|
||||
[Address(RVA = "0x15C2A40", Offset = "0x15C1440", VA = "0x1815C2A40")]
|
||||
[CompilerGenerated]
|
||||
private void NJAKCAHOJFE(Collider MBEHODBGOJI)
|
||||
{
|
||||
int num = 0;
|
||||
this.PHJKLNAAPMM(MBEHODBGOJI, num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x0400B6A6 RID: 46758
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400B6A6")]
|
||||
[SerializeField]
|
||||
private RemoteControllable controlledObject;
|
||||
|
||||
// Token: 0x0400B6A7 RID: 46759
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x400B6A7")]
|
||||
[SerializeField]
|
||||
private Transform resetControlledObjectTransform;
|
||||
|
||||
// Token: 0x0400B6A8 RID: 46760
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x400B6A8")]
|
||||
[SerializeField]
|
||||
private CollisionForwarder leftResetButtonForwarder;
|
||||
|
||||
// Token: 0x0400B6A9 RID: 46761
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x400B6A9")]
|
||||
[SerializeField]
|
||||
private CollisionForwarder rightResetButtonForwarder;
|
||||
|
||||
// Token: 0x0400B6AA RID: 46762
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x400B6AA")]
|
||||
[SerializeField]
|
||||
[Header("Screen")]
|
||||
private Renderer screenRenderer;
|
||||
|
||||
// Token: 0x0400B6AB RID: 46763
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x400B6AB")]
|
||||
[SerializeField]
|
||||
private int screenMaterialIndex;
|
||||
|
||||
// Token: 0x0400B6AC RID: 46764
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
||||
[Token(Token = "0x400B6AC")]
|
||||
[SerializeField]
|
||||
private Material screenRenderMaterial;
|
||||
|
||||
// Token: 0x0400B6AD RID: 46765
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
|
||||
[Token(Token = "0x400B6AD")]
|
||||
[SerializeField]
|
||||
private Material defaultScreenMaterial;
|
||||
|
||||
// Token: 0x0400B6AE RID: 46766
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
|
||||
[Token(Token = "0x400B6AE")]
|
||||
[SerializeField]
|
||||
private CollisionForwarder screenButtonForwarder;
|
||||
|
||||
// Token: 0x0400B6AF RID: 46767
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
||||
[Token(Token = "0x400B6AF")]
|
||||
[SerializeField]
|
||||
private Vector2 resolution;
|
||||
|
||||
// Token: 0x0400B6B0 RID: 46768
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
||||
[Token(Token = "0x400B6B0")]
|
||||
[SerializeField]
|
||||
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
||||
private Tool _tool;
|
||||
|
||||
// Token: 0x0400B6B1 RID: 46769
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x98")]
|
||||
[Token(Token = "0x400B6B1")]
|
||||
[SerializeField]
|
||||
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
||||
private RemoteControlAnimation rcAnimation;
|
||||
|
||||
// Token: 0x0400B6B2 RID: 46770
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA0")]
|
||||
[Token(Token = "0x400B6B2")]
|
||||
[SerializeField]
|
||||
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
||||
private TeamColorRenderer teamColorRenderer;
|
||||
|
||||
// Token: 0x0400B6B3 RID: 46771
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA8")]
|
||||
[Token(Token = "0x400B6B3")]
|
||||
private SynchronizedField<int> EKNDCBFJOOC;
|
||||
|
||||
// Token: 0x0400B6B5 RID: 46773
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB8")]
|
||||
[Token(Token = "0x400B6B5")]
|
||||
private Material ALODIMNNLDI;
|
||||
|
||||
// Token: 0x0400B6B6 RID: 46774
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC0")]
|
||||
[Token(Token = "0x400B6B6")]
|
||||
private RenderTexture LDEKHANDCBO;
|
||||
|
||||
// Token: 0x0400B6B7 RID: 46775
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC8")]
|
||||
[Token(Token = "0x400B6B7")]
|
||||
private float GPMIOJCFLFP;
|
||||
|
||||
// Token: 0x0400B6B8 RID: 46776
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xCC")]
|
||||
[Token(Token = "0x400B6B8")]
|
||||
private float BEIMDEEDLCA;
|
||||
|
||||
// Token: 0x0400B6B9 RID: 46777
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD0")]
|
||||
[Token(Token = "0x400B6B9")]
|
||||
private Guid JEKBBDHJGBA;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user