This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
@@ -0,0 +1,120 @@
using System;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
using UnityEngine;
namespace Pathfinding.RVO
{
// Token: 0x0200012B RID: 299
[Token(Token = "0x20000B8")]
[ExecuteInEditMode]
[AddComponentMenu("Pathfinding/Local Avoidance/RVO Simulator")]
[HelpURL("http://arongranberg.com/astar/docs/class_pathfinding_1_1_r_v_o_1_1_r_v_o_simulator.php")]
public class RVOSimulator : VersionedMonoBehaviour
{
// Token: 0x17000150 RID: 336
// (get) Token: 0x060009AA RID: 2474 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x060009AB RID: 2475 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000125")]
public static RVOSimulator active
{
[Token(Token = "0x6000847")]
[Address(RVA = "0x997A50", Offset = "0x996A50", VA = "0x180997A50")]
[CompilerGenerated]
get
{
return null;
}
[Token(Token = "0x6000848")]
[Address(RVA = "0x997A90", Offset = "0x996A90", VA = "0x180997A90")]
[CompilerGenerated]
private set
{
}
}
// Token: 0x060009AC RID: 2476 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000849")]
[Address(RVA = "0x997840", Offset = "0x996840", VA = "0x180997840")]
public Simulator GetSimulator()
{
return null;
}
// Token: 0x060009AD RID: 2477 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600084A")]
[Address(RVA = "0x997960", Offset = "0x996960", VA = "0x180997960")]
private void OnEnable()
{
}
// Token: 0x060009AE RID: 2478 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600084B")]
[Address(RVA = "0x997760", Offset = "0x996760", VA = "0x180997760", Slot = "7")]
protected override void Awake()
{
}
// Token: 0x060009AF RID: 2479 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600084C")]
[Address(RVA = "0x9979A0", Offset = "0x9969A0", VA = "0x1809979A0")]
private void Update()
{
}
// Token: 0x060009B0 RID: 2480 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600084D")]
[Address(RVA = "0x997870", Offset = "0x996870", VA = "0x180997870")]
private void OnDestroy()
{
}
// Token: 0x060009B1 RID: 2481 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600084E")]
[Address(RVA = "0x997A30", Offset = "0x996A30", VA = "0x180997A30")]
public RVOSimulator()
{
}
// Token: 0x040006B7 RID: 1719
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x40004E7")]
[Tooltip("Desired FPS for rvo simulation. It is usually not necessary to run a crowd simulation at a very high fps.\nUsually 10-30 fps is enough, but can be increased for better quality.\nThe rvo simulation will never run at a higher fps than the game")]
public int desiredSimulationFPS;
// Token: 0x040006B8 RID: 1720
[FieldOffset(Offset = "0x24")]
[Token(Token = "0x40004E8")]
[Tooltip("Number of RVO worker threads. If set to None, no multithreading will be used.")]
public ThreadCount workerThreads;
// Token: 0x040006B9 RID: 1721
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x40004E9")]
[Tooltip("Calculate local avoidance in between frames.\nThis can increase jitter in the agents' movement so use it only if you really need the performance boost. It will also reduce the responsiveness of the agents to the commands you send to them.")]
public bool doubleBuffering;
// Token: 0x040006BA RID: 1722
[FieldOffset(Offset = "0x2C")]
[Token(Token = "0x40004EA")]
[Tooltip("Bias agents to pass each other on the right side.\nIf the desired velocity of an agent puts it on a collision course with another agent or an obstacle its desired velocity will be rotated this number of radians (1 radian is approximately 57°) to the right. This helps to break up symmetries and makes it possible to resolve some situations much faster.\n\nWhen many agents have the same goal this can however have the side effect that the group clustered around the target point may as a whole start to spin around the target point.")]
[Range(0f, 0.2f)]
public float symmetryBreakingBias;
// Token: 0x040006BB RID: 1723
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x40004EB")]
[Tooltip("Determines if the XY (2D) or XZ (3D) plane is used for movement")]
public MovementPlane movementPlane;
// Token: 0x040006BC RID: 1724
[FieldOffset(Offset = "0x34")]
[Token(Token = "0x40004EC")]
public bool drawObstacles;
// Token: 0x040006BD RID: 1725
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x40004ED")]
private Simulator simulator;
}
}