Skip to content
Bit Quirky Behavior Trees and
State Machines

Search documentation

All topics and APIs

Close returns focus to Search.

What are you looking for?

Try a common topic or enter a complete API identifier.

Browse the reference instead

Esc closes · Tab reaches results · Enter opens the focused link

v0.6.0
Menu

Original file: Packages/io.bitquirky.behavior/Runtime/Movement/BehaviorMovementService.cs

Source file hash: sha256:7d10f65a1cea2ec28551127f97efec1af63dbdcfe172bb29c23172e8c815fd89

Only public declaration headers are shown. Implementation bodies, non-public code, and source comments are omitted.

Original lines: 22-32

Declaration hash: sha256:4d99c65655f34d4cfd36322fe67536a4f66fd0f75dd7bbdf087b71b5bd8187fe

C#
public enum BehaviorMovementServiceState : byte
{
}

Original lines: 25

Declaration hash: sha256:e25fc5750003c390d1f81f63d56596893b690783b222fe9e5ae1a1ff302d5e96

C#
Idle = 0

Original lines: 28

Declaration hash: sha256:bee9df5ca664fb2bce5ff3b8ec7f654f5eee8ad189232324e3f161c7f40e2c58

C#
Running = 1

Original lines: 31

Declaration hash: sha256:3f27ab48e1baacff7a836be790e46d76bd262fcae9d2df712f24431c1c8b659c

C#
Paused = 2

Original lines: 44-336

Declaration hash: sha256:bf6a6cd7c4e1f35bcf8a8aecf898683b0c915ab91dfd8765bfeac7650719398a

C#
public sealed class BehaviorMovementService : IDisposable, IBehaviorGameObjectCommandHandler, IExternalServiceAdapter, IBehaviorSteppedService, IInterruptibleExternalServiceAdapter
{
}

Original lines: 56

Declaration hash: sha256:24d3035fb81b310a05ab7fa43f96fb8863546e016d2b8fbb1dee9bdb16052394

C#
public const string ServiceToken = "movement";

Original lines: 59

Declaration hash: sha256:c556fde5bc9feb05ad37c6c333b419131fccebb5453f3adb73138a32a373d7a4

C#
public static readonly int ServiceId;

Method: BehaviorMovementService(IBehaviorMovementAdapter adapter, ExternalServiceCommandQueue commands, ExternalServiceCompletionRing completions, EntityId agentId)

Section titled “Method: BehaviorMovementService(IBehaviorMovementAdapter adapter, ExternalServiceCommandQueue commands, ExternalServiceCompletionRing completions, EntityId agentId)”

Original lines: 73-83

Declaration hash: sha256:af9f9425754a01e1e4063edc706e838e60f1c602bfe2d18e61b00ec237df60de

C#
public BehaviorMovementService(IBehaviorMovementAdapter adapter, ExternalServiceCommandQueue commands, ExternalServiceCompletionRing completions, EntityId agentId);

Original lines: 86

Declaration hash: sha256:e772a4c8a11867c764da2484f92763fed112cdb9f7a8c930fa68d1832f355660

C#
public BehaviorMovementServiceState State { get; }

Original lines: 89

Declaration hash: sha256:61c815eca4af2920765a397d3b14971a5bfc0c14e61a8d5b2e36c13ade6800f4

C#
public IReadOnlyList<string> ServiceTokens { get; }

Original lines: 92

Declaration hash: sha256:05586ff3ebe1e46241bf1e6d8d6d19fc598b45fd3c31a9654fee1323b899e1aa

C#
public bool HasActiveRequest { get; }

Original lines: 95

Declaration hash: sha256:12a41fa87b7687e05fc1190d3d65c58dff49835c6ab7a56193e1bf1173476867

C#
public BehaviorMovementRequest ActiveRequest { get; }

Method: Handle(in ExternalServiceCommand command)

Section titled “Method: Handle(in ExternalServiceCommand command)”

Original lines: 107-116

Declaration hash: sha256:4ca2262a6bfd68fd253301820ce7c06e8198e1b57616d6fb0b53e090a2d58c74

C#
public void Handle(in ExternalServiceCommand command);

Method: Advance(float deltaTime, int frameStamp)

Section titled “Method: Advance(float deltaTime, int frameStamp)”

Original lines: 119-146

Declaration hash: sha256:e86d49a33500c1cc61f3afe1dc677c67bb41b347dc86bb3b1603c3defb1c15cf

C#
public void Advance(float deltaTime, int frameStamp);

Original lines: 149-171

Declaration hash: sha256:c0344a6e86bb90b25d54f8ffa860a44aa25a7df3d07b11485c2b7c83305fef67

C#
public void DrainCommands(int frameStamp);

Method: DrainAndDispatch(ExternalServiceFrameContext context)

Section titled “Method: DrainAndDispatch(ExternalServiceFrameContext context)”

Original lines: 174-195

Declaration hash: sha256:029410444709b2158081ba0c86be39005adfdf3eb5d814626358334540b3ea05

C#
public void DrainAndDispatch(ExternalServiceFrameContext context);

Method: OnAuthorityHandoff(EntityId entityId, int frameNumber, ExternalServiceCompletionRing completionRing)

Section titled “Method: OnAuthorityHandoff(EntityId entityId, int frameNumber, ExternalServiceCompletionRing completionRing)”

Original lines: 198-208

Declaration hash: sha256:57acc388b5da7fe20672dde198c9ac56e23289fde5d1973dbd4f9a7c2d8afebf

C#
public AdapterHandoffDecision OnAuthorityHandoff(EntityId entityId, int frameNumber, ExternalServiceCompletionRing completionRing);

Method: Interrupt(in ExternalServiceInterruption interruption)

Section titled “Method: Interrupt(in ExternalServiceInterruption interruption)”

Original lines: 211-221

Declaration hash: sha256:9186e743b26817681991156da4e65a8d59b15d908d1665e30d7c6cb15177ba6c

C#
public void Interrupt(in ExternalServiceInterruption interruption);

Original lines: 279-287

Declaration hash: sha256:9cac309a7be8c3cbe37d1d5830f510bbdace07814302238a099ed2b8107caabd

C#
public void Pause();

Original lines: 290-298

Declaration hash: sha256:56ed2cf5521b797a7f7c2fc8d65a0241d7c2e89769e519c81fc133a65da4f971

C#
public void Resume();

Original lines: 301-310

Declaration hash: sha256:a9e8d906b7650af5163ef545ea45f0db2a5d97dcb323b3e52c86134468d4c6bc

C#
public void Stop();

Original lines: 313-321

Declaration hash: sha256:a91d2628cfe5c53d79add667cfc661cdeed0fac06fb357bfc1b0ac2895cccf2c

C#
public void Dispose();

Method: Decode(ExternalServiceCommand command)

Section titled “Method: Decode(ExternalServiceCommand command)”

Original lines: 324-335

Declaration hash: sha256:9cb225771c685eff600c5b3053b23a19d56a40a5eefbb0b0d79e3b7eb61e56fd

C#
public static BehaviorMovementRequest Decode(ExternalServiceCommand command);
Full-size image