Files
NobetaSource/Cpp2IL/Assembly-CSharp/RootMotion/FinalIK/RotationLimit.cs
2023-09-06 22:09:22 +02:00

166 lines
5.4 KiB
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
namespace RootMotion.FinalIK
{
// Token: 0x02000469 RID: 1129
[Token(Token = "0x2000469")]
public abstract class RotationLimit : MonoBehaviour
{
// Token: 0x0600287E RID: 10366 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600287E")]
[Address(RVA = "0xCBB010", Offset = "0xCB9810", VA = "0x180CBB010")]
public void SetDefaultLocalRotation()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600287F RID: 10367 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600287F")]
[Address(RVA = "0xCBAA50", Offset = "0xCB9250", VA = "0x180CBAA50")]
public Quaternion GetLimitedLocalRotation(Quaternion localRotation, out bool changed)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002880 RID: 10368 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002880")]
[Address(RVA = "0xCBA7A0", Offset = "0xCB8FA0", VA = "0x180CBA7A0")]
public bool Apply()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002881 RID: 10369 RVA: 0x000596B8 File Offset: 0x000578B8
[Token(Token = "0x6002881")]
[Address(RVA = "0xCBAA20", Offset = "0xCB9220", VA = "0x180CBAA20")]
public void Disable()
{
if (!this.initiated)
{
this.Awake();
}
int num = 0;
base.enabled = num != 0;
}
// Token: 0x17000283 RID: 643
// (get) Token: 0x06002882 RID: 10370 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x17000283")]
public Vector3 secondaryAxis
{
[Token(Token = "0x6002882")]
[Address(RVA = "0xCBB100", Offset = "0xCB9900", VA = "0x180CBB100")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x17000284 RID: 644
// (get) Token: 0x06002883 RID: 10371 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x17000284")]
public Vector3 crossAxis
{
[Token(Token = "0x6002883")]
[Address(RVA = "0xCBB090", Offset = "0xCB9890", VA = "0x180CBB090")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x06002884 RID: 10372
[Token(Token = "0x6002884")]
[Address(Slot = "4")]
protected abstract Quaternion LimitRotation(Quaternion rotation);
// Token: 0x06002885 RID: 10373 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002885")]
[Address(RVA = "0xCBA920", Offset = "0xCB9120", VA = "0x180CBA920")]
private void Awake()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002886 RID: 10374 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002886")]
[Address(RVA = "0xCBABF0", Offset = "0xCB93F0", VA = "0x180CBABF0")]
private void LateUpdate()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002887 RID: 10375 RVA: 0x000596E0 File Offset: 0x000578E0
[Token(Token = "0x6002887")]
[Address(RVA = "0xCBAFE0", Offset = "0xCB97E0", VA = "0x180CBAFE0")]
public void LogWarning(string message)
{
Transform transform = base.transform;
int num = 0;
Warning.Log(message, transform, num != 0);
}
// Token: 0x06002888 RID: 10376 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002888")]
[Address(RVA = "0xCBAD60", Offset = "0xCB9560", VA = "0x180CBAD60")]
protected static Quaternion Limit1DOF(Quaternion rotation, Vector3 axis)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002889 RID: 10377 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002889")]
[Address(RVA = "0xCBAE20", Offset = "0xCB9620", VA = "0x180CBAE20")]
protected static Quaternion LimitTwist(Quaternion rotation, Vector3 axis, Vector3 orthoAxis, float twistLimit)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600288A RID: 10378 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600288A")]
[Address(RVA = "0xCBAB70", Offset = "0xCB9370", VA = "0x180CBAB70")]
protected static float GetOrthogonalAngle(Vector3 v1, Vector3 v2, Vector3 normal)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600288B RID: 10379 RVA: 0x00059700 File Offset: 0x00057900
[Token(Token = "0x600288B")]
[Address(RVA = "0xCBB050", Offset = "0xCB9850", VA = "0x180CBB050")]
protected RotationLimit()
{
float z = Vector3.forward.z;
this.axis.z = z;
base..ctor();
}
// Token: 0x040031ED RID: 12781
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x40031ED")]
public Vector3 axis;
// Token: 0x040031EE RID: 12782
[FieldOffset(Offset = "0x24")]
[Token(Token = "0x40031EE")]
[HideInInspector]
public Quaternion defaultLocalRotation;
// Token: 0x040031EF RID: 12783
[FieldOffset(Offset = "0x34")]
[Token(Token = "0x40031EF")]
private bool initiated;
// Token: 0x040031F0 RID: 12784
[FieldOffset(Offset = "0x35")]
[Token(Token = "0x40031F0")]
private bool applicationQuit;
// Token: 0x040031F1 RID: 12785
[FieldOffset(Offset = "0x36")]
[Token(Token = "0x40031F1")]
private bool defaultLocalRotationSet;
}
}