624 lines
22 KiB
C#
624 lines
22 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x0200036E RID: 878
|
|
[Token(Token = "0x200036E")]
|
|
[Serializable]
|
|
public class MoveControllerLegacy
|
|
{
|
|
// Token: 0x170001E5 RID: 485
|
|
// (get) Token: 0x0600227E RID: 8830 RVA: 0x000536A8 File Offset: 0x000518A8
|
|
[Token(Token = "0x170001E5")]
|
|
public bool IsSky
|
|
{
|
|
[Token(Token = "0x600227E")]
|
|
[Address(RVA = "0xC369A0", Offset = "0xC359A0", VA = "0x180C369A0")]
|
|
get
|
|
{
|
|
return this.g_bIsSky;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600227F RID: 8831 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600227F")]
|
|
[Address(RVA = "0xC35410", Offset = "0xC34410", VA = "0x180C35410")]
|
|
public void Init(Transform source)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002280 RID: 8832 RVA: 0x000536BC File Offset: 0x000518BC
|
|
[Token(Token = "0x6002280")]
|
|
[Address(RVA = "0xC365B0", Offset = "0xC355B0", VA = "0x180C365B0")]
|
|
public void Update(float fDeltaTime)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06002280)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void MoveControllerLegacy::Update(System.Single)
|
|
|
|
---> System.ArgumentOutOfRangeException: Non-negative number required. (Parameter 'length')
|
|
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
|
|
at System.Array.Copy(Array sourceArray, Array destinationArray, Int32 length)
|
|
at ICSharpCode.Decompiler.ILAst.ILAstBuilder.StackSlot.ModifyStack(StackSlot[] stack, Int32 popCount, Int32 pushCount, ByteCode pushDefinition) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstBuilder.cs:line 51
|
|
at ICSharpCode.Decompiler.ILAst.ILAstBuilder.StackAnalysis(MethodDef methodDef) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstBuilder.cs:line 401
|
|
at ICSharpCode.Decompiler.ILAst.ILAstBuilder.Build(MethodDef methodDef, Boolean optimize, DecompilerContext context) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstBuilder.cs:line 276
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 112
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06002281 RID: 8833 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002281")]
|
|
[Address(RVA = "0xC340F0", Offset = "0xC330F0", VA = "0x180C340F0")]
|
|
private void ActionMove()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002282 RID: 8834 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002282")]
|
|
[Address(RVA = "0xC34390", Offset = "0xC33390", VA = "0x180C34390")]
|
|
private void ActionRotate(Vector3 direction)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002283 RID: 8835 RVA: 0x000538A8 File Offset: 0x00051AA8
|
|
[Token(Token = "0x6002283")]
|
|
[Address(RVA = "0xC345B0", Offset = "0xC335B0", VA = "0x180C345B0")]
|
|
private void CalculateSpeed()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06002283)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void MoveControllerLegacy::CalculateSpeed()
|
|
|
|
---> System.ArgumentOutOfRangeException: Non-negative number required. (Parameter 'length')
|
|
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
|
|
at System.Array.Copy(Array sourceArray, Array destinationArray, Int32 length)
|
|
at ICSharpCode.Decompiler.ILAst.ILAstBuilder.StackSlot.ModifyStack(StackSlot[] stack, Int32 popCount, Int32 pushCount, ByteCode pushDefinition) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstBuilder.cs:line 51
|
|
at ICSharpCode.Decompiler.ILAst.ILAstBuilder.StackAnalysis(MethodDef methodDef) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstBuilder.cs:line 401
|
|
at ICSharpCode.Decompiler.ILAst.ILAstBuilder.Build(MethodDef methodDef, Boolean optimize, DecompilerContext context) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstBuilder.cs:line 276
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 112
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06002284 RID: 8836 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002284")]
|
|
[Address(RVA = "0xC34690", Offset = "0xC33690", VA = "0x180C34690")]
|
|
private void DetectGround()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002285 RID: 8837 RVA: 0x00053918 File Offset: 0x00051B18
|
|
[Token(Token = "0x6002285")]
|
|
[Address(RVA = "0xC344C0", Offset = "0xC334C0", VA = "0x180C344C0")]
|
|
private void CalculateGravity()
|
|
{
|
|
float num = this.g_fFloating;
|
|
int num2 = 0;
|
|
if (num <= (float)num2)
|
|
{
|
|
if (this.g_fGravity > (float)num2)
|
|
{
|
|
float z = this.g_v3Move.z;
|
|
float num3 = this.g_fJump;
|
|
float num4 = this.g_fFall;
|
|
this.g_v3Move.z = z;
|
|
if (num3 > num4)
|
|
{
|
|
this.g_fJump = num3;
|
|
if (num4 > num3)
|
|
{
|
|
this.g_fJump = num;
|
|
this.g_bHeightLand = true;
|
|
return;
|
|
}
|
|
this.g_bHeightLand = false;
|
|
}
|
|
}
|
|
return;
|
|
}
|
|
float num5 = this.deltaTime;
|
|
int num6 = 0;
|
|
float num7 = Mathf.MoveTowards(num, (float)num6, num5);
|
|
this.g_fFloating = num7;
|
|
}
|
|
|
|
// Token: 0x06002286 RID: 8838 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002286")]
|
|
[Address(RVA = "0xC35BA0", Offset = "0xC34BA0", VA = "0x180C35BA0")]
|
|
public void Push()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002287 RID: 8839 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002287")]
|
|
[Address(RVA = "0xC359F0", Offset = "0xC349F0", VA = "0x180C359F0")]
|
|
public void Move(Vector3 v3Direction, float fSpeed, Vector3 v3Target)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002288 RID: 8840 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002288")]
|
|
[Address(RVA = "0xC35820", Offset = "0xC34820", VA = "0x180C35820")]
|
|
public void MoveVertical(Vector3 v3Direction, float fSpeed, Vector3 v3Target)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002289 RID: 8841 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002289")]
|
|
[Address(RVA = "0xC35780", Offset = "0xC34780", VA = "0x180C35780")]
|
|
public void LookAt(Vector3 v3Direction)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600228A RID: 8842 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600228A")]
|
|
[Address(RVA = "0xC36350", Offset = "0xC35350", VA = "0x180C36350")]
|
|
public void Rotate(Vector3 v3Direction)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600228B RID: 8843 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600228B")]
|
|
[Address(RVA = "0xC35620", Offset = "0xC34620", VA = "0x180C35620")]
|
|
public void LookAtVertical(Vector3 v3Direction)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600228C RID: 8844 RVA: 0x000539AC File Offset: 0x00051BAC
|
|
[Token(Token = "0x600228C")]
|
|
[Address(RVA = "0xC36480", Offset = "0xC35480", VA = "0x180C36480")]
|
|
public void SetActionMove(Vector3 Direction, float fActionWaitTime, float fActionMoveTime, float fActionMoveSpeed, Vector3 Target, bool bLerpRotate = false)
|
|
{
|
|
this.g_bActionMove = true;
|
|
float z = Direction.z;
|
|
this.g_v3ActionDirection.z = z;
|
|
this.g_fActionMoveSpeed = (float)0;
|
|
this.g_fActionWaitTime = fActionWaitTime;
|
|
this.g_ActionTrigger.z = (float)0;
|
|
this.g_fActionMoveTime = fActionMoveTime;
|
|
this.g_bActionLerpRotation = false;
|
|
}
|
|
|
|
// Token: 0x0600228D RID: 8845 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600228D")]
|
|
[Address(RVA = "0xC363D0", Offset = "0xC353D0", VA = "0x180C363D0")]
|
|
public void SetActionMove(Transform Direction, float fActionWaitTime, float fActionMoveTime, float fActionMoveSpeed, bool bLerpRotate = false)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600228E RID: 8846 RVA: 0x000539FC File Offset: 0x00051BFC
|
|
[Token(Token = "0x600228E")]
|
|
[Address(RVA = "0xC34680", Offset = "0xC33680", VA = "0x180C34680")]
|
|
public void CancelActionMove()
|
|
{
|
|
this.g_bActionMove = false;
|
|
this.g_fFloating = 0f;
|
|
}
|
|
|
|
// Token: 0x0600228F RID: 8847 RVA: 0x00053A1C File Offset: 0x00051C1C
|
|
[Token(Token = "0x600228F")]
|
|
[Address(RVA = "0xC35610", Offset = "0xC34610", VA = "0x180C35610")]
|
|
public void Jump(float fJump)
|
|
{
|
|
this.g_fJump = fJump;
|
|
}
|
|
|
|
// Token: 0x06002290 RID: 8848 RVA: 0x00053A30 File Offset: 0x00051C30
|
|
[Token(Token = "0x6002290")]
|
|
[Address(RVA = "0xC365A0", Offset = "0xC355A0", VA = "0x180C365A0")]
|
|
public void Stop()
|
|
{
|
|
int num = 0;
|
|
this.g_fEnterSpeed = (float)num;
|
|
}
|
|
|
|
// Token: 0x06002291 RID: 8849 RVA: 0x00053A48 File Offset: 0x00051C48
|
|
[Token(Token = "0x6002291")]
|
|
[Address(RVA = "0xC36530", Offset = "0xC35530", VA = "0x180C36530")]
|
|
public void SetDragMove(float fDragMove)
|
|
{
|
|
this.g_fDragMove = fDragMove;
|
|
this.g_fDragMove = 0.05f;
|
|
}
|
|
|
|
// Token: 0x06002292 RID: 8850 RVA: 0x00053A68 File Offset: 0x00051C68
|
|
[Token(Token = "0x6002292")]
|
|
[Address(RVA = "0xC36550", Offset = "0xC35550", VA = "0x180C36550")]
|
|
public void SetDragRotation(float fDragRotation)
|
|
{
|
|
this.g_fDragRotation = fDragRotation;
|
|
this.g_fDragRotation = 0.05f;
|
|
}
|
|
|
|
// Token: 0x06002293 RID: 8851 RVA: 0x00053A88 File Offset: 0x00051C88
|
|
[Token(Token = "0x6002293")]
|
|
[Address(RVA = "0x614BC0", Offset = "0x613BC0", VA = "0x180614BC0")]
|
|
public float GetAimAngle()
|
|
{
|
|
return this.g_fAngle;
|
|
}
|
|
|
|
// Token: 0x06002294 RID: 8852 RVA: 0x00053A9C File Offset: 0x00051C9C
|
|
[Token(Token = "0x6002294")]
|
|
[Address(RVA = "0x614BC0", Offset = "0x613BC0", VA = "0x180614BC0")]
|
|
public float GetAngle()
|
|
{
|
|
return this.g_fAngle;
|
|
}
|
|
|
|
// Token: 0x06002295 RID: 8853 RVA: 0x00053AB0 File Offset: 0x00051CB0
|
|
[Token(Token = "0x6002295")]
|
|
[Address(RVA = "0xB8ED80", Offset = "0xB8DD80", VA = "0x180B8ED80")]
|
|
public void SetGravity(float fGravity)
|
|
{
|
|
this.g_fGravity = fGravity;
|
|
}
|
|
|
|
// Token: 0x06002296 RID: 8854 RVA: 0x00053AC4 File Offset: 0x00051CC4
|
|
[Token(Token = "0x6002296")]
|
|
[Address(RVA = "0xC36570", Offset = "0xC35570", VA = "0x180C36570")]
|
|
public void SetFall(float fFall)
|
|
{
|
|
this.g_fFall = fFall;
|
|
}
|
|
|
|
// Token: 0x06002297 RID: 8855 RVA: 0x00053AD8 File Offset: 0x00051CD8
|
|
[Token(Token = "0x6002297")]
|
|
[Address(RVA = "0xC353D0", Offset = "0xC343D0", VA = "0x180C353D0")]
|
|
public float GetJump()
|
|
{
|
|
return this.g_fJump;
|
|
}
|
|
|
|
// Token: 0x06002298 RID: 8856 RVA: 0x00053AEC File Offset: 0x00051CEC
|
|
[Token(Token = "0x6002298")]
|
|
[Address(RVA = "0xC353E0", Offset = "0xC343E0", VA = "0x180C353E0")]
|
|
public float GetMaxFall()
|
|
{
|
|
return this.g_fFall;
|
|
}
|
|
|
|
// Token: 0x06002299 RID: 8857 RVA: 0x00053B00 File Offset: 0x00051D00
|
|
[Token(Token = "0x6002299")]
|
|
[Address(RVA = "0xC35360", Offset = "0xC34360", VA = "0x180C35360")]
|
|
public bool GetHeightLand()
|
|
{
|
|
return this.g_bHeightLand;
|
|
}
|
|
|
|
// Token: 0x0600229A RID: 8858 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600229A")]
|
|
[Address(RVA = "0xC35340", Offset = "0xC34340", VA = "0x180C35340")]
|
|
public Vector3 GetFloorPoint()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600229B RID: 8859 RVA: 0x00053B14 File Offset: 0x00051D14
|
|
[Token(Token = "0x600229B")]
|
|
[Address(RVA = "0xC36580", Offset = "0xC35580", VA = "0x180C36580")]
|
|
public void SetFloating(float fFloating)
|
|
{
|
|
this.g_fFloating = fFloating;
|
|
this.g_fJump = 1f;
|
|
}
|
|
|
|
// Token: 0x0600229C RID: 8860 RVA: 0x00053B34 File Offset: 0x00051D34
|
|
[Token(Token = "0x600229C")]
|
|
[Address(RVA = "0xC35320", Offset = "0xC34320", VA = "0x180C35320")]
|
|
public float GetFloating()
|
|
{
|
|
return this.g_fFloating;
|
|
}
|
|
|
|
// Token: 0x0600229D RID: 8861 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600229D")]
|
|
[Address(RVA = "0xC353F0", Offset = "0xC343F0", VA = "0x180C353F0")]
|
|
public Vector3 GetMove()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600229E RID: 8862 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600229E")]
|
|
[Address(RVA = "0xC35370", Offset = "0xC34370", VA = "0x180C35370")]
|
|
public Vector3 GetHorizontalMove()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600229F RID: 8863 RVA: 0x00053B48 File Offset: 0x00051D48
|
|
[Token(Token = "0x600229F")]
|
|
[Address(RVA = "0x2EF530", Offset = "0x2EE530", VA = "0x1802EF530")]
|
|
public CharacterController GetCharacterController()
|
|
{
|
|
return this.character;
|
|
}
|
|
|
|
// Token: 0x060022A0 RID: 8864 RVA: 0x00053B5C File Offset: 0x00051D5C
|
|
[Token(Token = "0x60022A0")]
|
|
[Address(RVA = "0xC36590", Offset = "0xC35590", VA = "0x180C36590")]
|
|
public void SetForcePush(Vector3 v3Push)
|
|
{
|
|
float z = v3Push.z;
|
|
this.g_v3ForcePush.z = z;
|
|
}
|
|
|
|
// Token: 0x060022A1 RID: 8865 RVA: 0x00053B7C File Offset: 0x00051D7C
|
|
[Token(Token = "0x60022A1")]
|
|
[Address(RVA = "0xC35B00", Offset = "0xC34B00", VA = "0x180C35B00")]
|
|
public void ProcessPushTarget(Action<Transform> processor)
|
|
{
|
|
Transform transform = this.g_BePush;
|
|
int num = 0;
|
|
if (transform != num && processor != 0)
|
|
{
|
|
Transform transform2 = this.g_BePush;
|
|
processor(transform2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060022A2 RID: 8866 RVA: 0x00053BB0 File Offset: 0x00051DB0
|
|
[Token(Token = "0x60022A2")]
|
|
[Address(RVA = "0xC35330", Offset = "0xC34330", VA = "0x180C35330")]
|
|
public float GetFloorDistance()
|
|
{
|
|
return this.g_fFloorDistacne;
|
|
}
|
|
|
|
// Token: 0x060022A3 RID: 8867 RVA: 0x00053BC4 File Offset: 0x00051DC4
|
|
[Token(Token = "0x60022A3")]
|
|
[Address(RVA = "0xC35310", Offset = "0xC34310", VA = "0x180C35310")]
|
|
public void EnableCalculate(bool enable)
|
|
{
|
|
this.enableCalculate = enable;
|
|
}
|
|
|
|
// Token: 0x060022A4 RID: 8868 RVA: 0x00053BD8 File Offset: 0x00051DD8
|
|
[Token(Token = "0x60022A4")]
|
|
[Address(RVA = "0xC36920", Offset = "0xC35920", VA = "0x180C36920")]
|
|
public MoveControllerLegacy()
|
|
{
|
|
float z = Vector3.zero.z;
|
|
this.g_v3Direction.z = z;
|
|
this.g_fDragMove = 5f;
|
|
this.g_fDragRotation = 0.1f;
|
|
this.g_fGravity = 10f;
|
|
this.g_fFall = -10f;
|
|
float z2 = Vector3.zero.z;
|
|
this.g_ActionTrigger.z = z2;
|
|
this.enableCalculate = true;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x04002C0B RID: 11275
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4002C0B")]
|
|
[SerializeField]
|
|
private Transform source;
|
|
|
|
// Token: 0x04002C0C RID: 11276
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4002C0C")]
|
|
[SerializeField]
|
|
private CharacterController character;
|
|
|
|
// Token: 0x04002C0D RID: 11277
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4002C0D")]
|
|
[SerializeField]
|
|
private float deltaTime;
|
|
|
|
// Token: 0x04002C0E RID: 11278
|
|
[FieldOffset(Offset = "0x24")]
|
|
[Token(Token = "0x4002C0E")]
|
|
[SerializeField]
|
|
private Vector3 g_v3Move;
|
|
|
|
// Token: 0x04002C0F RID: 11279
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4002C0F")]
|
|
[SerializeField]
|
|
private Vector3 g_v3ForcePush;
|
|
|
|
// Token: 0x04002C10 RID: 11280
|
|
[FieldOffset(Offset = "0x3C")]
|
|
[Token(Token = "0x4002C10")]
|
|
[SerializeField]
|
|
private Vector3 g_v3Horizontal;
|
|
|
|
// Token: 0x04002C11 RID: 11281
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4002C11")]
|
|
[SerializeField]
|
|
private Vector3 g_v3Direction;
|
|
|
|
// Token: 0x04002C12 RID: 11282
|
|
[FieldOffset(Offset = "0x54")]
|
|
[Token(Token = "0x4002C12")]
|
|
[SerializeField]
|
|
private float g_fEnterSpeed;
|
|
|
|
// Token: 0x04002C13 RID: 11283
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x4002C13")]
|
|
[SerializeField]
|
|
private float g_fSpeed;
|
|
|
|
// Token: 0x04002C14 RID: 11284
|
|
[FieldOffset(Offset = "0x5C")]
|
|
[Token(Token = "0x4002C14")]
|
|
[SerializeField]
|
|
private float g_fAngle;
|
|
|
|
// Token: 0x04002C15 RID: 11285
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x4002C15")]
|
|
[SerializeField]
|
|
private float fAngleH;
|
|
|
|
// Token: 0x04002C16 RID: 11286
|
|
[FieldOffset(Offset = "0x64")]
|
|
[Token(Token = "0x4002C16")]
|
|
[SerializeField]
|
|
private float g_fDragMove;
|
|
|
|
// Token: 0x04002C17 RID: 11287
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x4002C17")]
|
|
[SerializeField]
|
|
private float g_fDragRotation;
|
|
|
|
// Token: 0x04002C18 RID: 11288
|
|
[FieldOffset(Offset = "0x6C")]
|
|
[Token(Token = "0x4002C18")]
|
|
[SerializeField]
|
|
private float g_fGravity;
|
|
|
|
// Token: 0x04002C19 RID: 11289
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x4002C19")]
|
|
[SerializeField]
|
|
private float g_fJump;
|
|
|
|
// Token: 0x04002C1A RID: 11290
|
|
[FieldOffset(Offset = "0x74")]
|
|
[Token(Token = "0x4002C1A")]
|
|
[SerializeField]
|
|
private float g_fFall;
|
|
|
|
// Token: 0x04002C1B RID: 11291
|
|
[FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x4002C1B")]
|
|
[SerializeField]
|
|
private bool g_bHeightLand;
|
|
|
|
// Token: 0x04002C1C RID: 11292
|
|
[FieldOffset(Offset = "0x7C")]
|
|
[Token(Token = "0x4002C1C")]
|
|
[SerializeField]
|
|
private float g_fFloating;
|
|
|
|
// Token: 0x04002C1D RID: 11293
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x4002C1D")]
|
|
[SerializeField]
|
|
private float g_fFloorDistacne;
|
|
|
|
// Token: 0x04002C1E RID: 11294
|
|
[FieldOffset(Offset = "0x84")]
|
|
[Token(Token = "0x4002C1E")]
|
|
[SerializeField]
|
|
private bool g_bActionMove;
|
|
|
|
// Token: 0x04002C1F RID: 11295
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4002C1F")]
|
|
[SerializeField]
|
|
private Vector3 g_v3ActionDirection;
|
|
|
|
// Token: 0x04002C20 RID: 11296
|
|
[FieldOffset(Offset = "0x94")]
|
|
[Token(Token = "0x4002C20")]
|
|
[SerializeField]
|
|
private float g_fActionWaitTime;
|
|
|
|
// Token: 0x04002C21 RID: 11297
|
|
[FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x4002C21")]
|
|
[SerializeField]
|
|
private float g_fActionMoveTime;
|
|
|
|
// Token: 0x04002C22 RID: 11298
|
|
[FieldOffset(Offset = "0x9C")]
|
|
[Token(Token = "0x4002C22")]
|
|
[SerializeField]
|
|
private float g_fActionMoveSpeed;
|
|
|
|
// Token: 0x04002C23 RID: 11299
|
|
[FieldOffset(Offset = "0xA0")]
|
|
[Token(Token = "0x4002C23")]
|
|
[SerializeField]
|
|
private Vector3 g_ActionTrigger;
|
|
|
|
// Token: 0x04002C24 RID: 11300
|
|
[FieldOffset(Offset = "0xAC")]
|
|
[Token(Token = "0x4002C24")]
|
|
[SerializeField]
|
|
private bool g_bActionLerpRotation;
|
|
|
|
// Token: 0x04002C25 RID: 11301
|
|
[FieldOffset(Offset = "0xB0")]
|
|
[Token(Token = "0x4002C25")]
|
|
[SerializeField]
|
|
private Transform g_ActionTarget;
|
|
|
|
// Token: 0x04002C26 RID: 11302
|
|
[FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x4002C26")]
|
|
[SerializeField]
|
|
private Vector3 g_v3FloorPoint;
|
|
|
|
// Token: 0x04002C27 RID: 11303
|
|
[FieldOffset(Offset = "0xC4")]
|
|
[Token(Token = "0x4002C27")]
|
|
[SerializeField]
|
|
private bool g_bIsSky;
|
|
|
|
// Token: 0x04002C28 RID: 11304
|
|
[FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x4002C28")]
|
|
[SerializeField]
|
|
private Transform g_BePush;
|
|
|
|
// Token: 0x04002C29 RID: 11305
|
|
[FieldOffset(Offset = "0xD0")]
|
|
[Token(Token = "0x4002C29")]
|
|
[SerializeField]
|
|
private bool enableCalculate;
|
|
|
|
// Token: 0x04002C2A RID: 11306
|
|
[FieldOffset(Offset = "0xD4")]
|
|
[Token(Token = "0x4002C2A")]
|
|
private LayerMask hitLayer;
|
|
|
|
// Token: 0x04002C2B RID: 11307
|
|
[FieldOffset(Offset = "0xD8")]
|
|
[Token(Token = "0x4002C2B")]
|
|
private LayerMask characterLayer;
|
|
|
|
// Token: 0x04002C2C RID: 11308
|
|
[FieldOffset(Offset = "0xDC")]
|
|
[Token(Token = "0x4002C2C")]
|
|
private LayerMask pushLayer;
|
|
|
|
// Token: 0x04002C2D RID: 11309
|
|
[FieldOffset(Offset = "0xE0")]
|
|
[Token(Token = "0x4002C2D")]
|
|
private LayerMask specialObjectLayer;
|
|
|
|
// Token: 0x04002C2E RID: 11310
|
|
[Token(Token = "0x4002C2E")]
|
|
private const float FLOOR_DISTANCE = 0.3f;
|
|
}
|