BehaviorMovementService.cs declarations
Public API declaration excerpts from Packages/io.bitquirky.behavior/Runtime/Movement/BehaviorMovementService.cs.
Source snapshot ad0983d00d77.
On this page
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.
Type: BehaviorMovementServiceState
Section titled “Type: BehaviorMovementServiceState”Original lines: 22-32
Declaration hash: sha256:4d99c65655f34d4cfd36322fe67536a4f66fd0f75dd7bbdf087b71b5bd8187fe
public enum BehaviorMovementServiceState : byte{}Field: Idle
Section titled “Field: Idle”Original lines: 25
Declaration hash: sha256:e25fc5750003c390d1f81f63d56596893b690783b222fe9e5ae1a1ff302d5e96
Idle = 0Field: Running
Section titled “Field: Running”Original lines: 28
Declaration hash: sha256:bee9df5ca664fb2bce5ff3b8ec7f654f5eee8ad189232324e3f161c7f40e2c58
Running = 1Field: Paused
Section titled “Field: Paused”Original lines: 31
Declaration hash: sha256:3f27ab48e1baacff7a836be790e46d76bd262fcae9d2df712f24431c1c8b659c
Paused = 2Type: BehaviorMovementService
Section titled “Type: BehaviorMovementService”Original lines: 44-336
Declaration hash: sha256:bf6a6cd7c4e1f35bcf8a8aecf898683b0c915ab91dfd8765bfeac7650719398a
public sealed class BehaviorMovementService : IDisposable, IBehaviorGameObjectCommandHandler, IExternalServiceAdapter, IBehaviorSteppedService, IInterruptibleExternalServiceAdapter{}Field: ServiceToken
Section titled “Field: ServiceToken”Original lines: 56
Declaration hash: sha256:24d3035fb81b310a05ab7fa43f96fb8863546e016d2b8fbb1dee9bdb16052394
public const string ServiceToken = "movement";Field: ServiceId
Section titled “Field: ServiceId”Original lines: 59
Declaration hash: sha256:c556fde5bc9feb05ad37c6c333b419131fccebb5453f3adb73138a32a373d7a4
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
public BehaviorMovementService(IBehaviorMovementAdapter adapter, ExternalServiceCommandQueue commands, ExternalServiceCompletionRing completions, EntityId agentId);Property: State
Section titled “Property: State”Original lines: 86
Declaration hash: sha256:e772a4c8a11867c764da2484f92763fed112cdb9f7a8c930fa68d1832f355660
public BehaviorMovementServiceState State { get; }Property: ServiceTokens
Section titled “Property: ServiceTokens”Original lines: 89
Declaration hash: sha256:61c815eca4af2920765a397d3b14971a5bfc0c14e61a8d5b2e36c13ade6800f4
public IReadOnlyList<string> ServiceTokens { get; }Property: HasActiveRequest
Section titled “Property: HasActiveRequest”Original lines: 92
Declaration hash: sha256:05586ff3ebe1e46241bf1e6d8d6d19fc598b45fd3c31a9654fee1323b899e1aa
public bool HasActiveRequest { get; }Property: ActiveRequest
Section titled “Property: ActiveRequest”Original lines: 95
Declaration hash: sha256:12a41fa87b7687e05fc1190d3d65c58dff49835c6ab7a56193e1bf1173476867
public BehaviorMovementRequest ActiveRequest { get; }Method: Handle(in ExternalServiceCommand command)
Section titled “Method: Handle(in ExternalServiceCommand command)”Original lines: 107-116
Declaration hash: sha256:4ca2262a6bfd68fd253301820ce7c06e8198e1b57616d6fb0b53e090a2d58c74
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
public void Advance(float deltaTime, int frameStamp);Method: DrainCommands(int frameStamp)
Section titled “Method: DrainCommands(int frameStamp)”Original lines: 149-171
Declaration hash: sha256:c0344a6e86bb90b25d54f8ffa860a44aa25a7df3d07b11485c2b7c83305fef67
public void DrainCommands(int frameStamp);Method: DrainAndDispatch(ExternalServiceFrameContext context)
Section titled “Method: DrainAndDispatch(ExternalServiceFrameContext context)”Original lines: 174-195
Declaration hash: sha256:029410444709b2158081ba0c86be39005adfdf3eb5d814626358334540b3ea05
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
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
public void Interrupt(in ExternalServiceInterruption interruption);Method: Pause()
Section titled “Method: Pause()”Original lines: 279-287
Declaration hash: sha256:9cac309a7be8c3cbe37d1d5830f510bbdace07814302238a099ed2b8107caabd
public void Pause();Method: Resume()
Section titled “Method: Resume()”Original lines: 290-298
Declaration hash: sha256:56ed2cf5521b797a7f7c2fc8d65a0241d7c2e89769e519c81fc133a65da4f971
public void Resume();Method: Stop()
Section titled “Method: Stop()”Original lines: 301-310
Declaration hash: sha256:a9e8d906b7650af5163ef545ea45f0db2a5d97dcb323b3e52c86134468d4c6bc
public void Stop();Method: Dispose()
Section titled “Method: Dispose()”Original lines: 313-321
Declaration hash: sha256:a91d2628cfe5c53d79add667cfc661cdeed0fac06fb357bfc1b0ac2895cccf2c
public void Dispose();Method: Decode(ExternalServiceCommand command)
Section titled “Method: Decode(ExternalServiceCommand command)”Original lines: 324-335
Declaration hash: sha256:9cb225771c685eff600c5b3053b23a19d56a40a5eefbb0b0d79e3b7eb61e56fd
public static BehaviorMovementRequest Decode(ExternalServiceCommand command);