Vixen
caa30e12
csharp
public readonly record struct AgentMemoryHandle

One agent's block of state, as the eight bytes a component holds.

Read the guide page for this →

Remarks

Generational, so that a handle that arrived on a prefab, a save file or a destroyed entity names nothing rather than naming somebody else's memory.

Fields and properties (4)

  • public int Index

    Its block.

  • public uint Generation

    Which rental that block is holding.

  • public static AgentMemoryHandle Null

    The handle that names no block.

  • public bool IsNull

    Whether this names no block.

Methods (1)

  • public AgentMemoryHandle(int Index, uint Generation)

    One agent's block of state, as the eight bytes a component holds.

Used by (7)

  • AgentMemoryPoolVixen.Ai
  • AgentMemoryPoolTestsVixen.Ai.Tests
  • AiAgentVixen.Ai
  • AiSystemVixen.Ai
  • BehaviorTreeCostTestsVixen.Ai.Tests
  • BehaviorTreeInstanceVixen.Ai
  • TypeRegistrationVixen.Ai