90 lines
2.1 KiB
C#
90 lines
2.1 KiB
C#
using System;
|
|
using Photon;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Activities.Toys
|
|
{
|
|
// Token: 0x02000E25 RID: 3621
|
|
public abstract class RemoteControllable : global::Photon.MonoBehaviour
|
|
{
|
|
// Token: 0x17000DBE RID: 3518
|
|
// (get) Token: 0x0601DB23 RID: 121635 RVA: 0x00817F08 File Offset: 0x00816108
|
|
public RigidbodyEx BOLBONELAEF
|
|
{
|
|
get
|
|
{
|
|
return this._rigidbodyEx;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000DBF RID: 3519
|
|
// (get) Token: 0x0601DB24 RID: 121636 RVA: 0x00817F10 File Offset: 0x00816110
|
|
public Tool BKDFLNGCINH
|
|
{
|
|
get
|
|
{
|
|
return this._tool;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000DC0 RID: 3520
|
|
// (get) Token: 0x0601DB25 RID: 121637 RVA: 0x00817F18 File Offset: 0x00816118
|
|
public TeamColorRenderer OGOEEEJCBNA
|
|
{
|
|
get
|
|
{
|
|
return this.teamColorRenderer;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000DC1 RID: 3521
|
|
// (get) Token: 0x0601DB26 RID: 121638 RVA: 0x00817F20 File Offset: 0x00816120
|
|
public RemoteFollowCamera NAIDKPHGIJE
|
|
{
|
|
get
|
|
{
|
|
return this.remoteFollowCamera;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB27 RID: 121639 RVA: 0x00817F28 File Offset: 0x00816128
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
this.BKDFLNGCINH.CollisionOwnershipTransferAllowed = this.allowAuthorityTransferToNonRemoteHolder;
|
|
}
|
|
|
|
// Token: 0x0601DB28 RID: 121640 RVA: 0x00817F44 File Offset: 0x00816144
|
|
public virtual void LocalUpdateRemoteControlInput(ControllerIO DBNLIFFJPFF)
|
|
{
|
|
if (!this.BKDFLNGCINH.BHCCHBHNHCG && !this.BKDFLNGCINH.OHGPCMJMFGC)
|
|
{
|
|
this.BKDFLNGCINH.OMNGGJICBBI.TransferOwnership(IHFKMIAHBFP.JEFGMHBLLKI);
|
|
}
|
|
}
|
|
|
|
// Token: 0x04004DA6 RID: 19878
|
|
[SerializeField]
|
|
private bool allowAuthorityTransferToNonRemoteHolder;
|
|
|
|
// Token: 0x04004DA7 RID: 19879
|
|
[ENMFCLPAKBJ(FOGKDGELKHN.Self, false)]
|
|
[SerializeField]
|
|
protected RigidbodyEx _rigidbodyEx;
|
|
|
|
// Token: 0x04004DA8 RID: 19880
|
|
[ENMFCLPAKBJ(FOGKDGELKHN.Self, false)]
|
|
[SerializeField]
|
|
protected Tool _tool;
|
|
|
|
// Token: 0x04004DA9 RID: 19881
|
|
[ENMFCLPAKBJ(FOGKDGELKHN.Self, false)]
|
|
[SerializeField]
|
|
private TeamColorRenderer teamColorRenderer;
|
|
|
|
// Token: 0x04004DAA RID: 19882
|
|
[SerializeField]
|
|
private RemoteFollowCamera remoteFollowCamera;
|
|
}
|
|
}
|