624 lines
22 KiB
C#
624 lines
22 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x0200031F RID: 799
|
|
[Token(Token = "0x200031F")]
|
|
[Serializable]
|
|
public class MoveControllerLegacy
|
|
{
|
|
// Token: 0x170001BA RID: 442
|
|
// (get) Token: 0x06001FE7 RID: 8167 RVA: 0x0004CD4C File Offset: 0x0004AF4C
|
|
[Token(Token = "0x170001BA")]
|
|
public bool IsSky
|
|
{
|
|
[Token(Token = "0x6001FE7")]
|
|
[Address(RVA = "0xCC42D0", Offset = "0xCC2AD0", VA = "0x180CC42D0")]
|
|
get
|
|
{
|
|
return this.g_bIsSky;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001FE8 RID: 8168 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6001FE8")]
|
|
[Address(RVA = "0xCC2D30", Offset = "0xCC1530", VA = "0x180CC2D30")]
|
|
public void Init(Transform source)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001FE9 RID: 8169 RVA: 0x0004CD60 File Offset: 0x0004AF60
|
|
[Token(Token = "0x6001FE9")]
|
|
[Address(RVA = "0xCC3EE0", Offset = "0xCC26E0", VA = "0x180CC3EE0")]
|
|
public void Update(float fDeltaTime)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06001FE9)
|
|
|
|
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: 0x06001FEA RID: 8170 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6001FEA")]
|
|
[Address(RVA = "0xCC1A20", Offset = "0xCC0220", VA = "0x180CC1A20")]
|
|
private void ActionMove()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001FEB RID: 8171 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6001FEB")]
|
|
[Address(RVA = "0xCC1CC0", Offset = "0xCC04C0", VA = "0x180CC1CC0")]
|
|
private void ActionRotate(Vector3 direction)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001FEC RID: 8172 RVA: 0x0004CF4C File Offset: 0x0004B14C
|
|
[Token(Token = "0x6001FEC")]
|
|
[Address(RVA = "0xCC1EE0", Offset = "0xCC06E0", VA = "0x180CC1EE0")]
|
|
private void CalculateSpeed()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06001FEC)
|
|
|
|
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: 0x06001FED RID: 8173 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6001FED")]
|
|
[Address(RVA = "0xCC1FC0", Offset = "0xCC07C0", VA = "0x180CC1FC0")]
|
|
private void DetectGround()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001FEE RID: 8174 RVA: 0x0004CFBC File Offset: 0x0004B1BC
|
|
[Token(Token = "0x6001FEE")]
|
|
[Address(RVA = "0xCC1DF0", Offset = "0xCC05F0", VA = "0x180CC1DF0")]
|
|
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: 0x06001FEF RID: 8175 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6001FEF")]
|
|
[Address(RVA = "0xCC34C0", Offset = "0xCC1CC0", VA = "0x180CC34C0")]
|
|
public void Push()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001FF0 RID: 8176 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6001FF0")]
|
|
[Address(RVA = "0xCC3310", Offset = "0xCC1B10", VA = "0x180CC3310")]
|
|
public void Move(Vector3 v3Direction, float fSpeed, Vector3 v3Target)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001FF1 RID: 8177 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6001FF1")]
|
|
[Address(RVA = "0xCC3140", Offset = "0xCC1940", VA = "0x180CC3140")]
|
|
public void MoveVertical(Vector3 v3Direction, float fSpeed, Vector3 v3Target)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001FF2 RID: 8178 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6001FF2")]
|
|
[Address(RVA = "0xCC30A0", Offset = "0xCC18A0", VA = "0x180CC30A0")]
|
|
public void LookAt(Vector3 v3Direction)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001FF3 RID: 8179 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6001FF3")]
|
|
[Address(RVA = "0xCC3C70", Offset = "0xCC2470", VA = "0x180CC3C70")]
|
|
public void Rotate(Vector3 v3Direction)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001FF4 RID: 8180 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6001FF4")]
|
|
[Address(RVA = "0xCC2F40", Offset = "0xCC1740", VA = "0x180CC2F40")]
|
|
public void LookAtVertical(Vector3 v3Direction)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001FF5 RID: 8181 RVA: 0x0004D050 File Offset: 0x0004B250
|
|
[Token(Token = "0x6001FF5")]
|
|
[Address(RVA = "0xCC3DA0", Offset = "0xCC25A0", VA = "0x180CC3DA0")]
|
|
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: 0x06001FF6 RID: 8182 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6001FF6")]
|
|
[Address(RVA = "0xCC3CF0", Offset = "0xCC24F0", VA = "0x180CC3CF0")]
|
|
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: 0x06001FF7 RID: 8183 RVA: 0x0004D0A0 File Offset: 0x0004B2A0
|
|
[Token(Token = "0x6001FF7")]
|
|
[Address(RVA = "0xCC1FB0", Offset = "0xCC07B0", VA = "0x180CC1FB0")]
|
|
public void CancelActionMove()
|
|
{
|
|
this.g_bActionMove = false;
|
|
this.g_fFloating = 0f;
|
|
}
|
|
|
|
// Token: 0x06001FF8 RID: 8184 RVA: 0x0004D0C0 File Offset: 0x0004B2C0
|
|
[Token(Token = "0x6001FF8")]
|
|
[Address(RVA = "0xCC2F30", Offset = "0xCC1730", VA = "0x180CC2F30")]
|
|
public void Jump(float fJump)
|
|
{
|
|
this.g_fJump = fJump;
|
|
}
|
|
|
|
// Token: 0x06001FF9 RID: 8185 RVA: 0x0004D0D4 File Offset: 0x0004B2D4
|
|
[Token(Token = "0x6001FF9")]
|
|
[Address(RVA = "0xCC3ED0", Offset = "0xCC26D0", VA = "0x180CC3ED0")]
|
|
public void Stop()
|
|
{
|
|
int num = 0;
|
|
this.g_fEnterSpeed = (float)num;
|
|
}
|
|
|
|
// Token: 0x06001FFA RID: 8186 RVA: 0x0004D0EC File Offset: 0x0004B2EC
|
|
[Token(Token = "0x6001FFA")]
|
|
[Address(RVA = "0xCC3E50", Offset = "0xCC2650", VA = "0x180CC3E50")]
|
|
public void SetDragMove(float fDragMove)
|
|
{
|
|
this.g_fDragMove = fDragMove;
|
|
this.g_fDragMove = 0.05f;
|
|
}
|
|
|
|
// Token: 0x06001FFB RID: 8187 RVA: 0x0004D10C File Offset: 0x0004B30C
|
|
[Token(Token = "0x6001FFB")]
|
|
[Address(RVA = "0xCC3E70", Offset = "0xCC2670", VA = "0x180CC3E70")]
|
|
public void SetDragRotation(float fDragRotation)
|
|
{
|
|
this.g_fDragRotation = fDragRotation;
|
|
this.g_fDragRotation = 0.05f;
|
|
}
|
|
|
|
// Token: 0x06001FFC RID: 8188 RVA: 0x0004D12C File Offset: 0x0004B32C
|
|
[Token(Token = "0x6001FFC")]
|
|
[Address(RVA = "0x5FEE80", Offset = "0x5FD680", VA = "0x1805FEE80")]
|
|
public float GetAimAngle()
|
|
{
|
|
return this.g_fAngle;
|
|
}
|
|
|
|
// Token: 0x06001FFD RID: 8189 RVA: 0x0004D140 File Offset: 0x0004B340
|
|
[Token(Token = "0x6001FFD")]
|
|
[Address(RVA = "0x5FEE80", Offset = "0x5FD680", VA = "0x1805FEE80")]
|
|
public float GetAngle()
|
|
{
|
|
return this.g_fAngle;
|
|
}
|
|
|
|
// Token: 0x06001FFE RID: 8190 RVA: 0x0004D154 File Offset: 0x0004B354
|
|
[Token(Token = "0x6001FFE")]
|
|
[Address(RVA = "0xCC3EC0", Offset = "0xCC26C0", VA = "0x180CC3EC0")]
|
|
public void SetGravity(float fGravity)
|
|
{
|
|
this.g_fGravity = fGravity;
|
|
}
|
|
|
|
// Token: 0x06001FFF RID: 8191 RVA: 0x0004D168 File Offset: 0x0004B368
|
|
[Token(Token = "0x6001FFF")]
|
|
[Address(RVA = "0xCC3E90", Offset = "0xCC2690", VA = "0x180CC3E90")]
|
|
public void SetFall(float fFall)
|
|
{
|
|
this.g_fFall = fFall;
|
|
}
|
|
|
|
// Token: 0x06002000 RID: 8192 RVA: 0x0004D17C File Offset: 0x0004B37C
|
|
[Token(Token = "0x6002000")]
|
|
[Address(RVA = "0xCC2CF0", Offset = "0xCC14F0", VA = "0x180CC2CF0")]
|
|
public float GetJump()
|
|
{
|
|
return this.g_fJump;
|
|
}
|
|
|
|
// Token: 0x06002001 RID: 8193 RVA: 0x0004D190 File Offset: 0x0004B390
|
|
[Token(Token = "0x6002001")]
|
|
[Address(RVA = "0xCC2D00", Offset = "0xCC1500", VA = "0x180CC2D00")]
|
|
public float GetMaxFall()
|
|
{
|
|
return this.g_fFall;
|
|
}
|
|
|
|
// Token: 0x06002002 RID: 8194 RVA: 0x0004D1A4 File Offset: 0x0004B3A4
|
|
[Token(Token = "0x6002002")]
|
|
[Address(RVA = "0xCC2C80", Offset = "0xCC1480", VA = "0x180CC2C80")]
|
|
public bool GetHeightLand()
|
|
{
|
|
return this.g_bHeightLand;
|
|
}
|
|
|
|
// Token: 0x06002003 RID: 8195 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002003")]
|
|
[Address(RVA = "0xCC2C60", Offset = "0xCC1460", VA = "0x180CC2C60")]
|
|
public Vector3 GetFloorPoint()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002004 RID: 8196 RVA: 0x0004D1B8 File Offset: 0x0004B3B8
|
|
[Token(Token = "0x6002004")]
|
|
[Address(RVA = "0xCC3EA0", Offset = "0xCC26A0", VA = "0x180CC3EA0")]
|
|
public void SetFloating(float fFloating)
|
|
{
|
|
this.g_fFloating = fFloating;
|
|
this.g_fJump = 1f;
|
|
}
|
|
|
|
// Token: 0x06002005 RID: 8197 RVA: 0x0004D1D8 File Offset: 0x0004B3D8
|
|
[Token(Token = "0x6002005")]
|
|
[Address(RVA = "0xCC2C40", Offset = "0xCC1440", VA = "0x180CC2C40")]
|
|
public float GetFloating()
|
|
{
|
|
return this.g_fFloating;
|
|
}
|
|
|
|
// Token: 0x06002006 RID: 8198 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002006")]
|
|
[Address(RVA = "0xCC2D10", Offset = "0xCC1510", VA = "0x180CC2D10")]
|
|
public Vector3 GetMove()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002007 RID: 8199 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002007")]
|
|
[Address(RVA = "0xCC2C90", Offset = "0xCC1490", VA = "0x180CC2C90")]
|
|
public Vector3 GetHorizontalMove()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002008 RID: 8200 RVA: 0x0004D1EC File Offset: 0x0004B3EC
|
|
[Token(Token = "0x6002008")]
|
|
[Address(RVA = "0x2DB450", Offset = "0x2D9C50", VA = "0x1802DB450")]
|
|
public CharacterController GetCharacterController()
|
|
{
|
|
return this.character;
|
|
}
|
|
|
|
// Token: 0x06002009 RID: 8201 RVA: 0x0004D200 File Offset: 0x0004B400
|
|
[Token(Token = "0x6002009")]
|
|
[Address(RVA = "0xCC3EB0", Offset = "0xCC26B0", VA = "0x180CC3EB0")]
|
|
public void SetForcePush(Vector3 v3Push)
|
|
{
|
|
float z = v3Push.z;
|
|
this.g_v3ForcePush.z = z;
|
|
}
|
|
|
|
// Token: 0x0600200A RID: 8202 RVA: 0x0004D220 File Offset: 0x0004B420
|
|
[Token(Token = "0x600200A")]
|
|
[Address(RVA = "0xCC3420", Offset = "0xCC1C20", VA = "0x180CC3420")]
|
|
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: 0x0600200B RID: 8203 RVA: 0x0004D254 File Offset: 0x0004B454
|
|
[Token(Token = "0x600200B")]
|
|
[Address(RVA = "0xCC2C50", Offset = "0xCC1450", VA = "0x180CC2C50")]
|
|
public float GetFloorDistance()
|
|
{
|
|
return this.g_fFloorDistacne;
|
|
}
|
|
|
|
// Token: 0x0600200C RID: 8204 RVA: 0x0004D268 File Offset: 0x0004B468
|
|
[Token(Token = "0x600200C")]
|
|
[Address(RVA = "0x47B3E0", Offset = "0x479BE0", VA = "0x18047B3E0")]
|
|
public void EnableCalculate(bool enable)
|
|
{
|
|
this.enableCalculate = enable;
|
|
}
|
|
|
|
// Token: 0x0600200D RID: 8205 RVA: 0x0004D27C File Offset: 0x0004B47C
|
|
[Token(Token = "0x600200D")]
|
|
[Address(RVA = "0xCC4250", Offset = "0xCC2A50", VA = "0x180CC4250")]
|
|
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: 0x04002963 RID: 10595
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4002963")]
|
|
[SerializeField]
|
|
private Transform source;
|
|
|
|
// Token: 0x04002964 RID: 10596
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4002964")]
|
|
[SerializeField]
|
|
private CharacterController character;
|
|
|
|
// Token: 0x04002965 RID: 10597
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4002965")]
|
|
[SerializeField]
|
|
private float deltaTime;
|
|
|
|
// Token: 0x04002966 RID: 10598
|
|
[FieldOffset(Offset = "0x24")]
|
|
[Token(Token = "0x4002966")]
|
|
[SerializeField]
|
|
private Vector3 g_v3Move;
|
|
|
|
// Token: 0x04002967 RID: 10599
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4002967")]
|
|
[SerializeField]
|
|
private Vector3 g_v3ForcePush;
|
|
|
|
// Token: 0x04002968 RID: 10600
|
|
[FieldOffset(Offset = "0x3C")]
|
|
[Token(Token = "0x4002968")]
|
|
[SerializeField]
|
|
private Vector3 g_v3Horizontal;
|
|
|
|
// Token: 0x04002969 RID: 10601
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4002969")]
|
|
[SerializeField]
|
|
private Vector3 g_v3Direction;
|
|
|
|
// Token: 0x0400296A RID: 10602
|
|
[FieldOffset(Offset = "0x54")]
|
|
[Token(Token = "0x400296A")]
|
|
[SerializeField]
|
|
private float g_fEnterSpeed;
|
|
|
|
// Token: 0x0400296B RID: 10603
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x400296B")]
|
|
[SerializeField]
|
|
private float g_fSpeed;
|
|
|
|
// Token: 0x0400296C RID: 10604
|
|
[FieldOffset(Offset = "0x5C")]
|
|
[Token(Token = "0x400296C")]
|
|
[SerializeField]
|
|
private float g_fAngle;
|
|
|
|
// Token: 0x0400296D RID: 10605
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x400296D")]
|
|
[SerializeField]
|
|
private float fAngleH;
|
|
|
|
// Token: 0x0400296E RID: 10606
|
|
[FieldOffset(Offset = "0x64")]
|
|
[Token(Token = "0x400296E")]
|
|
[SerializeField]
|
|
private float g_fDragMove;
|
|
|
|
// Token: 0x0400296F RID: 10607
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x400296F")]
|
|
[SerializeField]
|
|
private float g_fDragRotation;
|
|
|
|
// Token: 0x04002970 RID: 10608
|
|
[FieldOffset(Offset = "0x6C")]
|
|
[Token(Token = "0x4002970")]
|
|
[SerializeField]
|
|
private float g_fGravity;
|
|
|
|
// Token: 0x04002971 RID: 10609
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x4002971")]
|
|
[SerializeField]
|
|
private float g_fJump;
|
|
|
|
// Token: 0x04002972 RID: 10610
|
|
[FieldOffset(Offset = "0x74")]
|
|
[Token(Token = "0x4002972")]
|
|
[SerializeField]
|
|
private float g_fFall;
|
|
|
|
// Token: 0x04002973 RID: 10611
|
|
[FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x4002973")]
|
|
[SerializeField]
|
|
private bool g_bHeightLand;
|
|
|
|
// Token: 0x04002974 RID: 10612
|
|
[FieldOffset(Offset = "0x7C")]
|
|
[Token(Token = "0x4002974")]
|
|
[SerializeField]
|
|
private float g_fFloating;
|
|
|
|
// Token: 0x04002975 RID: 10613
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x4002975")]
|
|
[SerializeField]
|
|
private float g_fFloorDistacne;
|
|
|
|
// Token: 0x04002976 RID: 10614
|
|
[FieldOffset(Offset = "0x84")]
|
|
[Token(Token = "0x4002976")]
|
|
[SerializeField]
|
|
private bool g_bActionMove;
|
|
|
|
// Token: 0x04002977 RID: 10615
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4002977")]
|
|
[SerializeField]
|
|
private Vector3 g_v3ActionDirection;
|
|
|
|
// Token: 0x04002978 RID: 10616
|
|
[FieldOffset(Offset = "0x94")]
|
|
[Token(Token = "0x4002978")]
|
|
[SerializeField]
|
|
private float g_fActionWaitTime;
|
|
|
|
// Token: 0x04002979 RID: 10617
|
|
[FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x4002979")]
|
|
[SerializeField]
|
|
private float g_fActionMoveTime;
|
|
|
|
// Token: 0x0400297A RID: 10618
|
|
[FieldOffset(Offset = "0x9C")]
|
|
[Token(Token = "0x400297A")]
|
|
[SerializeField]
|
|
private float g_fActionMoveSpeed;
|
|
|
|
// Token: 0x0400297B RID: 10619
|
|
[FieldOffset(Offset = "0xA0")]
|
|
[Token(Token = "0x400297B")]
|
|
[SerializeField]
|
|
private Vector3 g_ActionTrigger;
|
|
|
|
// Token: 0x0400297C RID: 10620
|
|
[FieldOffset(Offset = "0xAC")]
|
|
[Token(Token = "0x400297C")]
|
|
[SerializeField]
|
|
private bool g_bActionLerpRotation;
|
|
|
|
// Token: 0x0400297D RID: 10621
|
|
[FieldOffset(Offset = "0xB0")]
|
|
[Token(Token = "0x400297D")]
|
|
[SerializeField]
|
|
private Transform g_ActionTarget;
|
|
|
|
// Token: 0x0400297E RID: 10622
|
|
[FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x400297E")]
|
|
[SerializeField]
|
|
private Vector3 g_v3FloorPoint;
|
|
|
|
// Token: 0x0400297F RID: 10623
|
|
[FieldOffset(Offset = "0xC4")]
|
|
[Token(Token = "0x400297F")]
|
|
[SerializeField]
|
|
private bool g_bIsSky;
|
|
|
|
// Token: 0x04002980 RID: 10624
|
|
[FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x4002980")]
|
|
[SerializeField]
|
|
private Transform g_BePush;
|
|
|
|
// Token: 0x04002981 RID: 10625
|
|
[FieldOffset(Offset = "0xD0")]
|
|
[Token(Token = "0x4002981")]
|
|
[SerializeField]
|
|
private bool enableCalculate;
|
|
|
|
// Token: 0x04002982 RID: 10626
|
|
[FieldOffset(Offset = "0xD4")]
|
|
[Token(Token = "0x4002982")]
|
|
private LayerMask hitLayer;
|
|
|
|
// Token: 0x04002983 RID: 10627
|
|
[FieldOffset(Offset = "0xD8")]
|
|
[Token(Token = "0x4002983")]
|
|
private LayerMask characterLayer;
|
|
|
|
// Token: 0x04002984 RID: 10628
|
|
[FieldOffset(Offset = "0xDC")]
|
|
[Token(Token = "0x4002984")]
|
|
private LayerMask pushLayer;
|
|
|
|
// Token: 0x04002985 RID: 10629
|
|
[FieldOffset(Offset = "0xE0")]
|
|
[Token(Token = "0x4002985")]
|
|
private LayerMask specialObjectLayer;
|
|
|
|
// Token: 0x04002986 RID: 10630
|
|
[Token(Token = "0x4002986")]
|
|
private const float FLOOR_DISTANCE = 0.3f;
|
|
}
|