Table of Contents

Class PostQuerySystem

Namespace
Ceres.Gameplay.AI.EQS
Assembly
Ceres.Gameplay.dll
public class PostQuerySystem : WorldSubsystem
Inheritance
PostQuerySystem
Inherited Members

Constructors

PostQuerySystem()

public PostQuerySystem()

Fields

DefaultFramePerTick

Default tick frame: 2 fps

public const int DefaultFramePerTick = 25

Field Value

int

DefaultWorkerCount

Default parallel workers count: 5

public const int DefaultWorkerCount = 5

Field Value

int

Properties

FramePerTick

Set sysytem tick frame

public static int FramePerTick { get; set; }

Property Value

int

MaxWorkerCount

Set system parallel workers count

public static int MaxWorkerCount { get; set; }

Property Value

int

Methods

EnqueueCommand(PostQueryCommand)

Enqueue a new PostQueryCommand to the system

public void EnqueueCommand(PostQueryCommand command)

Parameters

command PostQueryCommand

GetPosts(ActorHandle)

Get cached posts has found for target actor use latest command

public NativeArray<float3>.ReadOnly GetPosts(ActorHandle handle)

Parameters

handle ActorHandle

Returns

ReadOnly

Initialize()

Subsystem initialize phase, should bind callbacks and collect references in this phase

protected override void Initialize()

IsFree(ActorHandle)

Whether the worker for target actor is free to execute new command

public bool IsFree(ActorHandle handle)

Parameters

handle ActorHandle

Returns

bool

Release()

Subsystem release phase, should unbind callbacks and release references in this phase

protected override void Release()