158 lines
5.9 KiB
C#
158 lines
5.9 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000BBA RID: 3002
|
|
public class PlayerFloorPositionFollowing : MonoBehaviour
|
|
{
|
|
// Token: 0x06016BB8 RID: 93112 RVA: 0x006588FC File Offset: 0x00656AFC
|
|
private void PBCNFAEFEEO()
|
|
{
|
|
if (this.TrackedPlayer != null)
|
|
{
|
|
base.transform.position = this.TrackedPlayer.FGLFIJLGCKD;
|
|
Vector3 vector = Vector3.ProjectOnPlane(this.TrackedPlayer.BGOGBEPJGPJ.transform.forward, Vector3.up);
|
|
base.transform.rotation = Quaternion.LookRotation(vector, Vector3.up) * Quaternion.Euler(this.eulerAngleParentRotation);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06016BB9 RID: 93113 RVA: 0x00658978 File Offset: 0x00656B78
|
|
private void AHHEENEFAPI()
|
|
{
|
|
if (this.TrackedPlayer != null)
|
|
{
|
|
base.transform.position = this.TrackedPlayer.FGLFIJLGCKD;
|
|
Vector3 vector = Vector3.ProjectOnPlane(this.TrackedPlayer.AJHHFNCFKNF().transform.forward, Vector3.up);
|
|
base.transform.rotation = Quaternion.LookRotation(vector, Vector3.up) * Quaternion.Euler(this.eulerAngleParentRotation);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06016BBA RID: 93114 RVA: 0x006589F4 File Offset: 0x00656BF4
|
|
private void GOKDBMNMJFM()
|
|
{
|
|
if (this.TrackedPlayer != null)
|
|
{
|
|
base.transform.position = this.TrackedPlayer.FGLFIJLGCKD;
|
|
Vector3 vector = Vector3.ProjectOnPlane(this.TrackedPlayer.BGOGBEPJGPJ.transform.forward, Vector3.up);
|
|
base.transform.rotation = Quaternion.LookRotation(vector, Vector3.up) * Quaternion.Euler(this.eulerAngleParentRotation);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06016BBB RID: 93115 RVA: 0x00658A70 File Offset: 0x00656C70
|
|
private void IGDMCDLELON()
|
|
{
|
|
if (this.TrackedPlayer != null)
|
|
{
|
|
base.transform.position = this.TrackedPlayer.FGLFIJLGCKD;
|
|
Vector3 vector = Vector3.ProjectOnPlane(this.TrackedPlayer.AJHHFNCFKNF().transform.forward, Vector3.up);
|
|
base.transform.rotation = Quaternion.LookRotation(vector, Vector3.up) * Quaternion.Euler(this.eulerAngleParentRotation);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06016BBC RID: 93116 RVA: 0x00658AEC File Offset: 0x00656CEC
|
|
private void LOGFBGOPLLO()
|
|
{
|
|
if (this.TrackedPlayer != null)
|
|
{
|
|
base.transform.position = this.TrackedPlayer.FGLFIJLGCKD;
|
|
Vector3 vector = Vector3.ProjectOnPlane(this.TrackedPlayer.AJHHFNCFKNF().transform.forward, Vector3.up);
|
|
base.transform.rotation = Quaternion.LookRotation(vector, Vector3.up) * Quaternion.Euler(this.eulerAngleParentRotation);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06016BBD RID: 93117 RVA: 0x00658B68 File Offset: 0x00656D68
|
|
private void NKKKHBAGEJH()
|
|
{
|
|
if (this.TrackedPlayer != null)
|
|
{
|
|
base.transform.position = this.TrackedPlayer.FGLFIJLGCKD;
|
|
Vector3 vector = Vector3.ProjectOnPlane(this.TrackedPlayer.AJHHFNCFKNF().transform.forward, Vector3.up);
|
|
base.transform.rotation = Quaternion.LookRotation(vector, Vector3.up) * Quaternion.Euler(this.eulerAngleParentRotation);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06016BBE RID: 93118 RVA: 0x00658BE4 File Offset: 0x00656DE4
|
|
private void MIBIJLIBPGJ()
|
|
{
|
|
if (this.TrackedPlayer != null)
|
|
{
|
|
base.transform.position = this.TrackedPlayer.FGLFIJLGCKD;
|
|
Vector3 vector = Vector3.ProjectOnPlane(this.TrackedPlayer.BGOGBEPJGPJ.transform.forward, Vector3.up);
|
|
base.transform.rotation = Quaternion.LookRotation(vector, Vector3.up) * Quaternion.Euler(this.eulerAngleParentRotation);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06016BBF RID: 93119 RVA: 0x00658C60 File Offset: 0x00656E60
|
|
private void MDCNOIALLAF()
|
|
{
|
|
if (this.TrackedPlayer != null)
|
|
{
|
|
base.transform.position = this.TrackedPlayer.FGLFIJLGCKD;
|
|
Vector3 vector = Vector3.ProjectOnPlane(this.TrackedPlayer.HFDJIFFPEFM().transform.forward, Vector3.up);
|
|
base.transform.rotation = Quaternion.LookRotation(vector, Vector3.up) * Quaternion.Euler(this.eulerAngleParentRotation);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06016BC0 RID: 93120 RVA: 0x00658CDC File Offset: 0x00656EDC
|
|
private void OBFADPEEBLG()
|
|
{
|
|
if (this.TrackedPlayer != null)
|
|
{
|
|
base.transform.position = this.TrackedPlayer.FGLFIJLGCKD;
|
|
Vector3 vector = Vector3.ProjectOnPlane(this.TrackedPlayer.HFDJIFFPEFM().transform.forward, Vector3.up);
|
|
base.transform.rotation = Quaternion.LookRotation(vector, Vector3.up) * Quaternion.Euler(this.eulerAngleParentRotation);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06016BC1 RID: 93121 RVA: 0x00658D58 File Offset: 0x00656F58
|
|
private void MJGFPAHIHGG()
|
|
{
|
|
if (this.TrackedPlayer != null)
|
|
{
|
|
base.transform.position = this.TrackedPlayer.FGLFIJLGCKD;
|
|
Vector3 vector = Vector3.ProjectOnPlane(this.TrackedPlayer.BGOGBEPJGPJ.transform.forward, Vector3.up);
|
|
base.transform.rotation = Quaternion.LookRotation(vector, Vector3.up) * Quaternion.Euler(this.eulerAngleParentRotation);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06016BC2 RID: 93122 RVA: 0x00658DD4 File Offset: 0x00656FD4
|
|
private void Update()
|
|
{
|
|
if (this.TrackedPlayer != null)
|
|
{
|
|
base.transform.position = this.TrackedPlayer.FGLFIJLGCKD;
|
|
Vector3 vector = Vector3.ProjectOnPlane(this.TrackedPlayer.BGOGBEPJGPJ.transform.forward, Vector3.up);
|
|
base.transform.rotation = Quaternion.LookRotation(vector, Vector3.up) * Quaternion.Euler(this.eulerAngleParentRotation);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06016BC4 RID: 93124 RVA: 0x00658E74 File Offset: 0x00657074
|
|
private void EEPEOCMOGIL()
|
|
{
|
|
if (this.TrackedPlayer != null)
|
|
{
|
|
base.transform.position = this.TrackedPlayer.FGLFIJLGCKD;
|
|
Vector3 vector = Vector3.ProjectOnPlane(this.TrackedPlayer.HFDJIFFPEFM().transform.forward, Vector3.up);
|
|
base.transform.rotation = Quaternion.LookRotation(vector, Vector3.up) * Quaternion.Euler(this.eulerAngleParentRotation);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06016BC5 RID: 93125 RVA: 0x00658EF0 File Offset: 0x006570F0
|
|
private void DKDGOJGKHDM()
|
|
{
|
|
if (this.TrackedPlayer != null)
|
|
{
|
|
base.transform.position = this.TrackedPlayer.FGLFIJLGCKD;
|
|
Vector3 vector = Vector3.ProjectOnPlane(this.TrackedPlayer.HFDJIFFPEFM().transform.forward, Vector3.up);
|
|
base.transform.rotation = Quaternion.LookRotation(vector, Vector3.up) * Quaternion.Euler(this.eulerAngleParentRotation);
|
|
}
|
|
}
|
|
|
|
// Token: 0x04003FC5 RID: 16325
|
|
[NonSerialized]
|
|
public Player TrackedPlayer;
|
|
|
|
// Token: 0x04003FC6 RID: 16326
|
|
[SerializeField]
|
|
private Vector3 eulerAngleParentRotation = new Vector3(-90f, -90f, 0f);
|
|
}
|