BehaviorEntityRuntime.cs declarations
Public API declaration excerpts from Packages/io.bitquirky.behavior/Runtime/Entities/BehaviorEntityRuntime.cs.
Source snapshot ad0983d00d77.
On this page
Original file: Packages/io.bitquirky.behavior/Runtime/Entities/BehaviorEntityRuntime.cs
Source file hash: sha256:03e42ff9fbeb42e130d37e55436d3ef6cf927d4cbbc8c1e89e7c1fde6de53155
Only public declaration headers are shown. Implementation bodies, non-public code, and source comments are omitted.
Type: BehaviorEntityRandomSeed
Section titled “Type: BehaviorEntityRandomSeed”Original lines: 34-41
Declaration hash: sha256:452052adea58d2b0bef281f840e1e1b5e49ce848d3d7ab39474a85935b7ec97e
public struct BehaviorEntityRandomSeed : IComponentData{}Field: Value
Section titled “Field: Value”Original lines: 40
Declaration hash: sha256:bd25d057fd4484be7a7ecd1a8d60f74a7e3d7f1115131cd58c5c12f3faa9da95
public uint Value;Type: BehaviorEntityGraphHandle
Section titled “Type: BehaviorEntityGraphHandle”Original lines: 52-112
Declaration hash: sha256:7cdd48c4f6b878ed21b8e8c4c54e237aa8e06cfb23bed4f337641284aef074c2
public readonly struct BehaviorEntityGraphHandle : IEquatable<BehaviorEntityGraphHandle>{}Property: WorldSequenceNumber
Section titled “Property: WorldSequenceNumber”Original lines: 73
Declaration hash: sha256:577bded930dd43ce2fe0cb1215fdffec0e0c045900c13cb3be1f61963bb43ef6
public ulong WorldSequenceNumber { get; }Property: GraphId
Section titled “Property: GraphId”Original lines: 79
Declaration hash: sha256:2f97cb9b7091467f3014b2a82caef5221be8a371901197a4990098c2f07efe59
public int GraphId { get; }Property: IsValid
Section titled “Property: IsValid”Original lines: 87
Declaration hash: sha256:421057e29d799ac9ad61d47be10ddeb6df4ceb878b30dddbfd81a9a9c6627cc0
public bool IsValid { get; }Method: Equals(BehaviorEntityGraphHandle other)
Section titled “Method: Equals(BehaviorEntityGraphHandle other)”Original lines: 93-96
Declaration hash: sha256:695ededd969b845fcff7829297cfc37c4db19d2c3f96269688f7bfb3de2daa01
public bool Equals(BehaviorEntityGraphHandle other);Method: Equals(object obj)
Section titled “Method: Equals(object obj)”Original lines: 102-103
Declaration hash: sha256:19a0848dd20a9bbc5cc5aab558ea06fa11e2ce3bae61da755a1c54171bb11e36
public override bool Equals(object obj);Method: GetHashCode()
Section titled “Method: GetHashCode()”Original lines: 106-111
Declaration hash: sha256:f89860267e3ef8a15bec07eea8a37565610037cc98c6bc9ad03030c0ad002d75
public override int GetHashCode();Type: BehaviorBlackboardFieldHandle<T>
Section titled “Type: BehaviorBlackboardFieldHandle<T>”Original lines: 124-213
Declaration hash: sha256:7ed53d69a4e3deb50014f1beb696a0249922141afbe1063cefe773ec9fdcd391
public readonly struct BehaviorBlackboardFieldHandle<T> where T : unmanaged{}Property: IsValid
Section titled “Property: IsValid”Original lines: 147
Declaration hash: sha256:421057e29d799ac9ad61d47be10ddeb6df4ceb878b30dddbfd81a9a9c6627cc0
public bool IsValid { get; }Method: Write(DynamicBuffer<BehaviorRuntimeBlackboardByte> blackboard, T value)
Section titled “Method: Write(DynamicBuffer<BehaviorRuntimeBlackboardByte> blackboard, T value)”Original lines: 155-181
Declaration hash: sha256:754f5bfd68c36cb069bdbce16dfc30febe41077826dcd0efc675299a95f8ed64
public void Write(DynamicBuffer<BehaviorRuntimeBlackboardByte> blackboard, T value);Method: Read(DynamicBuffer<BehaviorRuntimeBlackboardByte> blackboard)
Section titled “Method: Read(DynamicBuffer<BehaviorRuntimeBlackboardByte> blackboard)”Original lines: 188-212
Declaration hash: sha256:268e3f59dbee87d086ab4eef565174e062fd00e4384d99eb4bf9c7bf402055df
public T Read(DynamicBuffer<BehaviorRuntimeBlackboardByte> blackboard);Type: BehaviorEntityBlackboardSchema
Section titled “Type: BehaviorEntityBlackboardSchema”Original lines: 225-310
Declaration hash: sha256:26457783a6971c50b2cd8ac5ba9abae0de5581441ec70cb0abf8c9aa3540a4ed
public sealed class BehaviorEntityBlackboardSchema{}Method: Require<T>(string fieldName)
Section titled “Method: Require<T>(string fieldName)”Original lines: 241-275
Declaration hash: sha256:46d5821925ac08aca23a7fdc11e6e248d5ce45c01210bb3220cdb04235f6df4a
public BehaviorBlackboardFieldHandle<T> Require<T>(string fieldName) where T : unmanaged;Type: IBehaviorEntityInputBinder
Section titled “Type: IBehaviorEntityInputBinder”Original lines: 322-335
Declaration hash: sha256:c9fb93b6551cf4bcab6b8c0cc4b3bb254f930a4ca109fa2da0f8a84a56c34bcb
public interface IBehaviorEntityInputBinder{}Method: Bind(BehaviorEntityBlackboardSchema schema)
Section titled “Method: Bind(BehaviorEntityBlackboardSchema schema)”Original lines: 328
Declaration hash: sha256:f15ee93634a65f62e787775497463c7db8e95686679a44bb36f3afd29a73c614
void Bind(BehaviorEntityBlackboardSchema schema);Method: Schedule(EntityQuery agents, JobHandle dependency)
Section titled “Method: Schedule(EntityQuery agents, JobHandle dependency)”Original lines: 334
Declaration hash: sha256:ee43effe1d79f981974f2f295cf282917999a5dc1f5cf50ed667f8a302ad78f7
JobHandle Schedule(EntityQuery agents, JobHandle dependency);Type: IBehaviorEntityCommandHandler
Section titled “Type: IBehaviorEntityCommandHandler”Original lines: 347-357
Declaration hash: sha256:9885513ea624b6df46b14ff2ddedc28d3c44d9255fe863807eb9b2670d518fc3
public interface IBehaviorEntityCommandHandler{}Property: ServiceTokens
Section titled “Property: ServiceTokens”Original lines: 350
Declaration hash: sha256:fd0478f9d6c574b3aa36739a03a0b7d869be64f9008efaacbb480d581ad41029
IReadOnlyList<string> ServiceTokens { get; }Method: Handle(Entity entity, in ExternalServiceCommand command)
Section titled “Method: Handle(Entity entity, in ExternalServiceCommand command)”Original lines: 356
Declaration hash: sha256:ddcff905af41fd8580947da14cdb5b4d366b3eeb557966578f494be0354238bf
ExternalServiceOutcome Handle(Entity entity, in ExternalServiceCommand command);Type: IInterruptibleBehaviorEntityCommandHandler
Section titled “Type: IInterruptibleBehaviorEntityCommandHandler”Original lines: 368-372
Declaration hash: sha256:7b0f6d9ad36e14692a807f495b58054a75660264311f43a98ad73c999f34bfa6
public interface IInterruptibleBehaviorEntityCommandHandler{}Method: Interrupt(Entity entity, in ExternalServiceInterruption interruption)
Section titled “Method: Interrupt(Entity entity, in ExternalServiceInterruption interruption)”Original lines: 371
Declaration hash: sha256:a0a49092381c7c7bf13f6dc3b5eb719e7a110ed8656a54ef8c887164bd78a83c
void Interrupt(Entity entity, in ExternalServiceInterruption interruption);Type: BehaviorEntityRuntime
Section titled “Type: BehaviorEntityRuntime”Original lines: 1318-3502
Declaration hash: sha256:9119c5c6ed31181210394259fc0026546b1252ce4af812cb384c0c6004798c10
public sealed class BehaviorEntityRuntime : IDisposable{}Method: BehaviorEntityRuntime(World world)
Section titled “Method: BehaviorEntityRuntime(World world)”Original lines: 1336-1358
Declaration hash: sha256:cf6f2e9e7751ca6b49356f329fc7bdcec9192af6d1ea1033933c7e18b744759b
public BehaviorEntityRuntime(World world);Method: RegisterGraph(BehaviorSourceAsset source, EntityQuery candidates, IBehaviorEntityInputBinder inputBinder, IReadOnlyList<IBehaviorEntityCommandHandler> commandHandlers)
Section titled “Method: RegisterGraph(BehaviorSourceAsset source, EntityQuery candidates, IBehaviorEntityInputBinder inputBinder, IReadOnlyList<IBehaviorEntityCommandHandler> commandHandlers)”Original lines: 1523-1536
Declaration hash: sha256:c656ad17ee27488e1dc657a45bd99568d4d35c09203f5110822e77b748cf49a1
public BehaviorEntityGraphHandle RegisterGraph(BehaviorSourceAsset source, EntityQuery candidates, IBehaviorEntityInputBinder inputBinder, IReadOnlyList<IBehaviorEntityCommandHandler> commandHandlers);Method: RegisterGraph(BehaviorSourceAsset source, EntityQuery candidates, BehaviorEntityMemberBindingSet memberBindings, IBehaviorEntityMemberScheduler memberScheduler)
Section titled “Method: RegisterGraph(BehaviorSourceAsset source, EntityQuery candidates, BehaviorEntityMemberBindingSet memberBindings, IBehaviorEntityMemberScheduler memberScheduler)”Original lines: 1543-1556
Declaration hash: sha256:e7efd47a46e89ba5c1716cf0b01e02d80c31d7a4e86ef17b18ee12a154d294e8
public BehaviorEntityGraphHandle RegisterGraph(BehaviorSourceAsset source, EntityQuery candidates, BehaviorEntityMemberBindingSet memberBindings, IBehaviorEntityMemberScheduler memberScheduler);Method: RegisterGraph(BehaviorSourceAsset source, EntityQuery candidates, IBehaviorEntityInputBinder inputBinder, IReadOnlyList<IBehaviorEntityCommandHandler> commandHandlers, BehaviorEntityMemberBindingSet memberBindings, IBehaviorEntityMemberScheduler memberScheduler)
Section titled “Method: RegisterGraph(BehaviorSourceAsset source, EntityQuery candidates, IBehaviorEntityInputBinder inputBinder, IReadOnlyList<IBehaviorEntityCommandHandler> commandHandlers, BehaviorEntityMemberBindingSet memberBindings, IBehaviorEntityMemberScheduler memberScheduler)”Original lines: 1564-1580
Declaration hash: sha256:d4b63f135013657ce1c82951e5c574e88ca40183aa784be5c209905cc2bfcead
public BehaviorEntityGraphHandle RegisterGraph(BehaviorSourceAsset source, EntityQuery candidates, IBehaviorEntityInputBinder inputBinder, IReadOnlyList<IBehaviorEntityCommandHandler> commandHandlers, BehaviorEntityMemberBindingSet memberBindings, IBehaviorEntityMemberScheduler memberScheduler);Method: GetAgentQuery(BehaviorEntityGraphHandle graph)
Section titled “Method: GetAgentQuery(BehaviorEntityGraphHandle graph)”Original lines: 1763-1766
Declaration hash: sha256:978010b003daa99d724269818872870e0330189839215ba4570a8cd8099fe32b
public EntityQuery GetAgentQuery(BehaviorEntityGraphHandle graph);Method: TickGraph(BehaviorEntityGraphHandle graph, int frameNumber, float deltaSeconds, JobHandle dependency)
Section titled “Method: TickGraph(BehaviorEntityGraphHandle graph, int frameNumber, float deltaSeconds, JobHandle dependency)”Original lines: 1775-1799
Declaration hash: sha256:c5e29c18db2fc6447e4193db828ee06691688c63e89e7d11089de345cc5e4266
public void TickGraph(BehaviorEntityGraphHandle graph, int frameNumber, float deltaSeconds, JobHandle dependency = default);Method: TickAll(int frameNumber, float deltaSeconds, JobHandle dependency)
Section titled “Method: TickAll(int frameNumber, float deltaSeconds, JobHandle dependency)”Original lines: 1808-1843
Declaration hash: sha256:46b53e848c20b0f02532ae3eae2202e0d63dc6c65bdc029e7f84206b1e059842
public void TickAll(int frameNumber, float deltaSeconds, JobHandle dependency = default);Method: ResetGraph(BehaviorEntityGraphHandle graph, int frameNumber)
Section titled “Method: ResetGraph(BehaviorEntityGraphHandle graph, int frameNumber)”Original lines: 1849-1979
Declaration hash: sha256:fd5492e2464853e8c23f008f130c19a6a49ea91e87767d99c1e1529edaf63790
public void ResetGraph(BehaviorEntityGraphHandle graph, int frameNumber);Method: CompleteCommand(BehaviorEntityGraphHandle graph, in ExternalServiceCommand command, ExternalServiceOutcome outcome, int outcomeDetailId, int frameNumber)
Section titled “Method: CompleteCommand(BehaviorEntityGraphHandle graph, in ExternalServiceCommand command, ExternalServiceOutcome outcome, int outcomeDetailId, int frameNumber)”Original lines: 1988-2009
Declaration hash: sha256:8a85bec31f7ae6e6c8585709d3fe1747a7e955d7b0761726fcb92f4a84f649bf
public void CompleteCommand(BehaviorEntityGraphHandle graph, in ExternalServiceCommand command, ExternalServiceOutcome outcome, int outcomeDetailId, int frameNumber);Method: Dispose()
Section titled “Method: Dispose()”Original lines: 2016-2110
Declaration hash: sha256:a91d2628cfe5c53d79add667cfc661cdeed0fac06fb357bfc1b0ac2895cccf2c
public void Dispose();Method: GetMemberReadings(BehaviorEntityGraphHandle graph)
Section titled “Method: GetMemberReadings(BehaviorEntityGraphHandle graph)”Original lines: 2306-2316
Declaration hash: sha256:0335cc1beb60a1d67957f7b1cbf3f376434d4b93e8b3e5d506505e80d74d3ba1
public BehaviorEntityMemberReadingStore GetMemberReadings(BehaviorEntityGraphHandle graph);Method: ReadMemberSynchronization(BehaviorEntityGraphHandle graph, Entity agent, int bindingIndex)
Section titled “Method: ReadMemberSynchronization(BehaviorEntityGraphHandle graph, Entity agent, int bindingIndex)”Original lines: 2334-2360
Declaration hash: sha256:19817028ce993e46850f413af6697c47166be24fa3a00bd4051834ebaf615a0e
public BehaviorEntityMemberSynchronizationReading ReadMemberSynchronization(BehaviorEntityGraphHandle graph, Entity agent, int bindingIndex);Method: WasAccessRowResolved(BehaviorEntityGraphHandle graph, int row)
Section titled “Method: WasAccessRowResolved(BehaviorEntityGraphHandle graph, int row)”Original lines: 2367-2394
Declaration hash: sha256:e943b9053e0a75691006cb5feb38d3b3050b02552741f80cb9656333b2170ce5
public bool WasAccessRowResolved(BehaviorEntityGraphHandle graph, int row);