639 lines
23 KiB
C#
639 lines
23 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000320 RID: 800
|
|
[Token(Token = "0x2000320")]
|
|
[Serializable]
|
|
public class MoveControllerNext
|
|
{
|
|
// Token: 0x170001BB RID: 443
|
|
// (get) Token: 0x0600200E RID: 8206 RVA: 0x0004D2F0 File Offset: 0x0004B4F0
|
|
[Token(Token = "0x170001BB")]
|
|
public bool IsSky
|
|
{
|
|
[Token(Token = "0x600200E")]
|
|
[Address(RVA = "0x9F81C0", Offset = "0x9F69C0", VA = "0x1809F81C0")]
|
|
get
|
|
{
|
|
return this.isSky;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600200F RID: 8207 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600200F")]
|
|
[Address(RVA = "0xCC5AB0", Offset = "0xCC42B0", VA = "0x180CC5AB0")]
|
|
public void Init(Transform source)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002010 RID: 8208 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002010")]
|
|
[Address(RVA = "0xCC6B20", Offset = "0xCC5320", VA = "0x180CC6B20")]
|
|
public void Update(float deltaTime)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002011 RID: 8209 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002011")]
|
|
[Address(RVA = "0xCC42E0", Offset = "0xCC2AE0", VA = "0x180CC42E0")]
|
|
private void CalculateActionMove()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002012 RID: 8210 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002012")]
|
|
[Address(RVA = "0xCC4570", Offset = "0xCC2D70", VA = "0x180CC4570")]
|
|
private void CalculateActionRotate(Vector3 direction)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002013 RID: 8211 RVA: 0x0004D304 File Offset: 0x0004B504
|
|
[Token(Token = "0x6002013")]
|
|
[Address(RVA = "0xCC4740", Offset = "0xCC2F40", VA = "0x180CC4740")]
|
|
private void CalculateMovement()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06002013)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void MoveControllerNext::CalculateMovement()
|
|
|
|
---> 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: 0x06002014 RID: 8212 RVA: 0x0004D378 File Offset: 0x0004B578
|
|
[Token(Token = "0x6002014")]
|
|
[Address(RVA = "0xCC46A0", Offset = "0xCC2EA0", VA = "0x180CC46A0")]
|
|
private void CalculateGravity()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06002014)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void MoveControllerNext::CalculateGravity()
|
|
|
|
---> 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: 0x06002015 RID: 8213 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002015")]
|
|
[Address(RVA = "0xCC4D60", Offset = "0xCC3560", VA = "0x180CC4D60")]
|
|
private void CalculateSlideForce()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002016 RID: 8214 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002016")]
|
|
[Address(RVA = "0xCC6A60", Offset = "0xCC5260", VA = "0x180CC6A60")]
|
|
private void StartSliding(RaycastHit hit)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002017 RID: 8215 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002017")]
|
|
[Address(RVA = "0xCC5F50", Offset = "0xCC4750", VA = "0x180CC5F50")]
|
|
private bool IsBottomCenterGrounded()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002018 RID: 8216 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002018")]
|
|
[Address(RVA = "0xCC4800", Offset = "0xCC3000", VA = "0x180CC4800")]
|
|
private void CalculatePushForce()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002019 RID: 8217 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002019")]
|
|
[Address(RVA = "0xCC59D0", Offset = "0xCC41D0", VA = "0x180CC59D0")]
|
|
private Vector3 GetPushDirection(Transform target)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600201A RID: 8218 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600201A")]
|
|
[Address(RVA = "0xCC64E0", Offset = "0xCC4CE0", VA = "0x180CC64E0")]
|
|
public void Move(Vector3 inputDirection, float inputSpeed, Vector3 lookAtDirection)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600201B RID: 8219 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600201B")]
|
|
[Address(RVA = "0xCC6310", Offset = "0xCC4B10", VA = "0x180CC6310")]
|
|
public void MoveVertical(Vector3 inputDirection, float inputSpeed, Vector3 lookAtDirection)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600201C RID: 8220 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600201C")]
|
|
[Address(RVA = "0xCC6200", Offset = "0xCC4A00", VA = "0x180CC6200")]
|
|
public void LookAt(Vector3 lookAtDirection)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600201D RID: 8221 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600201D")]
|
|
[Address(RVA = "0xCC60A0", Offset = "0xCC48A0", VA = "0x180CC60A0")]
|
|
public void LookAtVertical(Vector3 v3Direction)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600201E RID: 8222 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600201E")]
|
|
[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: 0x0600201F RID: 8223 RVA: 0x0004D418 File Offset: 0x0004B618
|
|
[Token(Token = "0x600201F")]
|
|
[Address(RVA = "0x679160", Offset = "0x677960", VA = "0x180679160")]
|
|
public void SetGravity(float gravity)
|
|
{
|
|
this.gravity = gravity;
|
|
}
|
|
|
|
// Token: 0x06002020 RID: 8224 RVA: 0x0004D42C File Offset: 0x0004B62C
|
|
[Token(Token = "0x6002020")]
|
|
[Address(RVA = "0xCC69D0", Offset = "0xCC51D0", VA = "0x180CC69D0")]
|
|
public void SetDragMove(float value)
|
|
{
|
|
if (value < 0.05f)
|
|
{
|
|
}
|
|
this.speedDragFactor = value;
|
|
}
|
|
|
|
// Token: 0x06002021 RID: 8225 RVA: 0x0004D450 File Offset: 0x0004B650
|
|
[Token(Token = "0x6002021")]
|
|
[Address(RVA = "0xCC6A00", Offset = "0xCC5200", VA = "0x180CC6A00")]
|
|
public void SetDragRotation(float value)
|
|
{
|
|
if (value < 0.05f)
|
|
{
|
|
}
|
|
this.rotationDragFactor = value;
|
|
}
|
|
|
|
// Token: 0x06002022 RID: 8226 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002022")]
|
|
[Address(RVA = "0xCC59B0", Offset = "0xCC41B0", VA = "0x180CC59B0")]
|
|
public Vector3 GetMove()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002023 RID: 8227 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002023")]
|
|
[Address(RVA = "0xCC5980", Offset = "0xCC4180", VA = "0x180CC5980")]
|
|
public Vector3 GetHorizontalMove()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002024 RID: 8228 RVA: 0x0004D474 File Offset: 0x0004B674
|
|
[Token(Token = "0x6002024")]
|
|
[Address(RVA = "0x4AB6A0", Offset = "0x4A9EA0", VA = "0x1804AB6A0")]
|
|
public float GetAngle()
|
|
{
|
|
return this.rotationAngle;
|
|
}
|
|
|
|
// Token: 0x06002025 RID: 8229 RVA: 0x0004D488 File Offset: 0x0004B688
|
|
[Token(Token = "0x6002025")]
|
|
[Address(RVA = "0x4AB6A0", Offset = "0x4A9EA0", VA = "0x1804AB6A0")]
|
|
public float GetAimAngle()
|
|
{
|
|
return this.rotationAngle;
|
|
}
|
|
|
|
// Token: 0x06002026 RID: 8230 RVA: 0x0004D49C File Offset: 0x0004B69C
|
|
[Token(Token = "0x6002026")]
|
|
[Address(RVA = "0xCC6B10", Offset = "0xCC5310", VA = "0x180CC6B10")]
|
|
public void Stop()
|
|
{
|
|
int num = 0;
|
|
this.moveSpeed = (float)num;
|
|
this.inputSpeed = (float)num;
|
|
}
|
|
|
|
// Token: 0x06002027 RID: 8231 RVA: 0x0004D4BC File Offset: 0x0004B6BC
|
|
[Token(Token = "0x6002027")]
|
|
[Address(RVA = "0xCC6850", Offset = "0xCC5050", VA = "0x180CC6850")]
|
|
public void SetActionMove(Vector3 target, float actionDelayTimer, float actionMoveTimer, float actionMoveSpeed, Vector3 Target, bool actionRotationLerp = false)
|
|
{
|
|
this.isActionMove = true;
|
|
float z = target.z;
|
|
this.actionDirection.z = z;
|
|
this.actionDelayTimer = actionDelayTimer;
|
|
this.actionMoveTimer = actionMoveTimer;
|
|
this.actionTrigger.z = (float)0;
|
|
this.actionRotationLerp = false;
|
|
this.actionMoveSpeed = (float)0;
|
|
}
|
|
|
|
// Token: 0x06002028 RID: 8232 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002028")]
|
|
[Address(RVA = "0xCC6900", Offset = "0xCC5100", VA = "0x180CC6900")]
|
|
public void SetActionMove(Transform target, float actionDelayTimer, float actionMoveTimer, float actionMoveSpeed, bool actionRotationLerp = false)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002029 RID: 8233 RVA: 0x0004D50C File Offset: 0x0004B70C
|
|
[Token(Token = "0x6002029")]
|
|
[Address(RVA = "0xCC5380", Offset = "0xCC3B80", VA = "0x180CC5380")]
|
|
public void CancelActionMove()
|
|
{
|
|
this.isActionMove = false;
|
|
this.floatingTimer = 0f;
|
|
}
|
|
|
|
// Token: 0x0600202A RID: 8234 RVA: 0x0004D52C File Offset: 0x0004B72C
|
|
[Token(Token = "0x600202A")]
|
|
[Address(RVA = "0xCC6090", Offset = "0xCC4890", VA = "0x180CC6090")]
|
|
public void Jump(float force)
|
|
{
|
|
this.verticalForce = force;
|
|
this.isSky = true;
|
|
}
|
|
|
|
// Token: 0x0600202B RID: 8235 RVA: 0x0004D548 File Offset: 0x0004B748
|
|
[Token(Token = "0x600202B")]
|
|
[Address(RVA = "0x5FEE90", Offset = "0x5FD690", VA = "0x1805FEE90")]
|
|
public float GetJump()
|
|
{
|
|
return this.verticalForce;
|
|
}
|
|
|
|
// Token: 0x0600202C RID: 8236 RVA: 0x0004D55C File Offset: 0x0004B75C
|
|
[Token(Token = "0x600202C")]
|
|
[Address(RVA = "0xCC6A30", Offset = "0xCC5230", VA = "0x180CC6A30")]
|
|
public void SetFloating(float duration)
|
|
{
|
|
this.floatingTimer = duration;
|
|
this.verticalForce = 1f;
|
|
}
|
|
|
|
// Token: 0x0600202D RID: 8237 RVA: 0x0004D57C File Offset: 0x0004B77C
|
|
[Token(Token = "0x600202D")]
|
|
[Address(RVA = "0x777740", Offset = "0x775F40", VA = "0x180777740")]
|
|
public float GetFloating()
|
|
{
|
|
return this.floatingTimer;
|
|
}
|
|
|
|
// Token: 0x0600202E RID: 8238 RVA: 0x0004D590 File Offset: 0x0004B790
|
|
[Token(Token = "0x600202E")]
|
|
[Address(RVA = "0x679170", Offset = "0x677970", VA = "0x180679170")]
|
|
public void SetFall(float fallSpeedMax)
|
|
{
|
|
this.fallSpeedMax = fallSpeedMax;
|
|
}
|
|
|
|
// Token: 0x0600202F RID: 8239 RVA: 0x0004D5A4 File Offset: 0x0004B7A4
|
|
[Token(Token = "0x600202F")]
|
|
[Address(RVA = "0xCC59A0", Offset = "0xCC41A0", VA = "0x180CC59A0")]
|
|
public float GetMaxFall()
|
|
{
|
|
return this.fallSpeedMax;
|
|
}
|
|
|
|
// Token: 0x06002030 RID: 8240 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002030")]
|
|
[Address(RVA = "0xCC5970", Offset = "0xCC4170", VA = "0x180CC5970")]
|
|
public bool GetHeightLand()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002031 RID: 8241 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002031")]
|
|
[Address(RVA = "0xCC55F0", Offset = "0xCC3DF0", VA = "0x180CC55F0")]
|
|
public Vector3 GetFloorPoint()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002032 RID: 8242 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002032")]
|
|
[Address(RVA = "0xCC53A0", Offset = "0xCC3BA0", VA = "0x180CC53A0")]
|
|
public float GetFloorDistance()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002033 RID: 8243 RVA: 0x0004D5B8 File Offset: 0x0004B7B8
|
|
[Token(Token = "0x6002033")]
|
|
[Address(RVA = "0xCC6A40", Offset = "0xCC5240", VA = "0x180CC6A40")]
|
|
public void SetForcePush(Vector3 pushForce)
|
|
{
|
|
float z = pushForce.z;
|
|
this.pushForce.z = z;
|
|
}
|
|
|
|
// Token: 0x06002034 RID: 8244 RVA: 0x0004D5D8 File Offset: 0x0004B7D8
|
|
[Token(Token = "0x6002034")]
|
|
[Address(RVA = "0xCC6640", Offset = "0xCC4E40", VA = "0x180CC6640")]
|
|
public void ProcessPushTarget(Action<Transform> processor)
|
|
{
|
|
if (this.lastPushAmount > 1)
|
|
{
|
|
int num = 0;
|
|
Collider collider = this.pushTargets[num];
|
|
int num2 = 0;
|
|
if (!(collider == num2))
|
|
{
|
|
GameObject gameObject = this.pushTargets[num].gameObject;
|
|
GameObject gameObject2 = this.controller.gameObject;
|
|
if (!(gameObject == gameObject2))
|
|
{
|
|
if (processor != 0)
|
|
{
|
|
Transform transform = this.pushTargets[num].transform;
|
|
processor(transform);
|
|
}
|
|
this.pushTargets[0] = num;
|
|
}
|
|
}
|
|
num++;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002035 RID: 8245 RVA: 0x0004D66C File Offset: 0x0004B86C
|
|
[Token(Token = "0x6002035")]
|
|
[Address(RVA = "0xCC5390", Offset = "0xCC3B90", VA = "0x180CC5390")]
|
|
public void EnableCalculate(bool enable)
|
|
{
|
|
this.enableCalculate = enable;
|
|
}
|
|
|
|
// Token: 0x06002036 RID: 8246 RVA: 0x0004D680 File Offset: 0x0004B880
|
|
[Token(Token = "0x6002036")]
|
|
[Address(RVA = "0x2DB450", Offset = "0x2D9C50", VA = "0x1802DB450")]
|
|
public CharacterController GetCharacterController()
|
|
{
|
|
return this.controller;
|
|
}
|
|
|
|
// Token: 0x06002037 RID: 8247 RVA: 0x0004D694 File Offset: 0x0004B894
|
|
[Token(Token = "0x6002037")]
|
|
[Address(RVA = "0xCC6F00", Offset = "0xCC5700", VA = "0x180CC6F00")]
|
|
public MoveControllerNext()
|
|
{
|
|
Collider[] array = new Collider[3];
|
|
this.pushTargets = array;
|
|
this.gravity = 10f;
|
|
this.fallSpeedMax = -10f;
|
|
this.enableCalculate = true;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x04002987 RID: 10631
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4002987")]
|
|
[SerializeField]
|
|
private Transform source;
|
|
|
|
// Token: 0x04002988 RID: 10632
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4002988")]
|
|
[SerializeField]
|
|
private CharacterController controller;
|
|
|
|
// Token: 0x04002989 RID: 10633
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4002989")]
|
|
[SerializeField]
|
|
private float speedDragFactor = 5f;
|
|
|
|
// Token: 0x0400298A RID: 10634
|
|
[FieldOffset(Offset = "0x24")]
|
|
[Token(Token = "0x400298A")]
|
|
[SerializeField]
|
|
private float rotationDragFactor = 0.1f;
|
|
|
|
// Token: 0x0400298B RID: 10635
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400298B")]
|
|
[SerializeField]
|
|
private float deltaTime;
|
|
|
|
// Token: 0x0400298C RID: 10636
|
|
[FieldOffset(Offset = "0x2C")]
|
|
[Token(Token = "0x400298C")]
|
|
[SerializeField]
|
|
private Vector3 inputDirection;
|
|
|
|
// Token: 0x0400298D RID: 10637
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400298D")]
|
|
[SerializeField]
|
|
private float inputSpeed;
|
|
|
|
// Token: 0x0400298E RID: 10638
|
|
[FieldOffset(Offset = "0x3C")]
|
|
[Token(Token = "0x400298E")]
|
|
[SerializeField]
|
|
private Vector3 movement;
|
|
|
|
// Token: 0x0400298F RID: 10639
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400298F")]
|
|
[SerializeField]
|
|
private Vector3 movementXZ;
|
|
|
|
// Token: 0x04002990 RID: 10640
|
|
[FieldOffset(Offset = "0x54")]
|
|
[Token(Token = "0x4002990")]
|
|
[SerializeField]
|
|
private float moveSpeed;
|
|
|
|
// Token: 0x04002991 RID: 10641
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x4002991")]
|
|
[SerializeField]
|
|
private float rotationAngle;
|
|
|
|
// Token: 0x04002992 RID: 10642
|
|
[FieldOffset(Offset = "0x5C")]
|
|
[Token(Token = "0x4002992")]
|
|
[SerializeField]
|
|
private bool isGrounded;
|
|
|
|
// Token: 0x04002993 RID: 10643
|
|
[FieldOffset(Offset = "0x5D")]
|
|
[Token(Token = "0x4002993")]
|
|
[SerializeField]
|
|
private bool isSky;
|
|
|
|
// Token: 0x04002994 RID: 10644
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x4002994")]
|
|
[SerializeField]
|
|
private float verticalForce;
|
|
|
|
// Token: 0x04002995 RID: 10645
|
|
[FieldOffset(Offset = "0x64")]
|
|
[Token(Token = "0x4002995")]
|
|
[SerializeField]
|
|
private float floatingTimer;
|
|
|
|
// Token: 0x04002996 RID: 10646
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x4002996")]
|
|
[SerializeField]
|
|
private bool isActionMove;
|
|
|
|
// Token: 0x04002997 RID: 10647
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x4002997")]
|
|
[SerializeField]
|
|
private Transform actionTarget;
|
|
|
|
// Token: 0x04002998 RID: 10648
|
|
[FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x4002998")]
|
|
[SerializeField]
|
|
private Vector3 actionDirection;
|
|
|
|
// Token: 0x04002999 RID: 10649
|
|
[FieldOffset(Offset = "0x84")]
|
|
[Token(Token = "0x4002999")]
|
|
[SerializeField]
|
|
private Vector3 actionTrigger;
|
|
|
|
// Token: 0x0400299A RID: 10650
|
|
[FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x400299A")]
|
|
[SerializeField]
|
|
private float actionDelayTimer;
|
|
|
|
// Token: 0x0400299B RID: 10651
|
|
[FieldOffset(Offset = "0x94")]
|
|
[Token(Token = "0x400299B")]
|
|
[SerializeField]
|
|
private float actionMoveTimer;
|
|
|
|
// Token: 0x0400299C RID: 10652
|
|
[FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x400299C")]
|
|
[SerializeField]
|
|
private float actionMoveSpeed;
|
|
|
|
// Token: 0x0400299D RID: 10653
|
|
[FieldOffset(Offset = "0x9C")]
|
|
[Token(Token = "0x400299D")]
|
|
[SerializeField]
|
|
private bool actionRotationLerp;
|
|
|
|
// Token: 0x0400299E RID: 10654
|
|
[FieldOffset(Offset = "0x9D")]
|
|
[Token(Token = "0x400299E")]
|
|
[SerializeField]
|
|
private bool onSliding;
|
|
|
|
// Token: 0x0400299F RID: 10655
|
|
[FieldOffset(Offset = "0xA0")]
|
|
[Token(Token = "0x400299F")]
|
|
[SerializeField]
|
|
private Vector3 lastMovementForce;
|
|
|
|
// Token: 0x040029A0 RID: 10656
|
|
[FieldOffset(Offset = "0xAC")]
|
|
[Token(Token = "0x40029A0")]
|
|
[SerializeField]
|
|
private Vector3 slideForce;
|
|
|
|
// Token: 0x040029A1 RID: 10657
|
|
[FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x40029A1")]
|
|
[SerializeField]
|
|
private Vector3 pushForce;
|
|
|
|
// Token: 0x040029A2 RID: 10658
|
|
[FieldOffset(Offset = "0xC4")]
|
|
[Token(Token = "0x40029A2")]
|
|
[SerializeField]
|
|
private int lastPushAmount;
|
|
|
|
// Token: 0x040029A3 RID: 10659
|
|
[FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x40029A3")]
|
|
[SerializeField]
|
|
private Collider[] pushTargets;
|
|
|
|
// Token: 0x040029A4 RID: 10660
|
|
[FieldOffset(Offset = "0xD0")]
|
|
[Token(Token = "0x40029A4")]
|
|
[SerializeField]
|
|
private LayerMask hitLayer;
|
|
|
|
// Token: 0x040029A5 RID: 10661
|
|
[FieldOffset(Offset = "0xD4")]
|
|
[Token(Token = "0x40029A5")]
|
|
[SerializeField]
|
|
private LayerMask pushLayer;
|
|
|
|
// Token: 0x040029A6 RID: 10662
|
|
[FieldOffset(Offset = "0xD8")]
|
|
[Token(Token = "0x40029A6")]
|
|
[SerializeField]
|
|
private LayerMask floorLayer;
|
|
|
|
// Token: 0x040029A7 RID: 10663
|
|
[FieldOffset(Offset = "0xE0")]
|
|
[Token(Token = "0x40029A7")]
|
|
private NPCManage npcSelf;
|
|
|
|
// Token: 0x040029A8 RID: 10664
|
|
[FieldOffset(Offset = "0xE8")]
|
|
[Token(Token = "0x40029A8")]
|
|
private float gravity;
|
|
|
|
// Token: 0x040029A9 RID: 10665
|
|
[FieldOffset(Offset = "0xEC")]
|
|
[Token(Token = "0x40029A9")]
|
|
private float fallSpeedMax;
|
|
|
|
// Token: 0x040029AA RID: 10666
|
|
[FieldOffset(Offset = "0xF0")]
|
|
[Token(Token = "0x40029AA")]
|
|
private bool enableCalculate;
|
|
}
|