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

ExternalServiceCommandQueue.cs declarations

Public API declaration excerpts from Packages/io.bitquirky.behavior/Runtime/ExternalService/ExternalServiceCommandQueue.cs.

Source snapshot ad0983d00d77.

On this page

Original file: Packages/io.bitquirky.behavior/Runtime/ExternalService/ExternalServiceCommandQueue.cs

Source file hash: sha256:4677f4dae50234b06355a5703d1adc4e0720c179426fc9801d2be69dd2024c18

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

Original lines: 39-139

Declaration hash: sha256:5e4189a3689a2ce3fd109ab87d20c5554d4c8994339008be2ed12b3c9bdccc5b

C#
public struct ExternalServiceCommand
{
}

Original lines: 42

Declaration hash: sha256:68038f2960c09cec8c03030e5f9b03008e8c234221fb98f8cf8e47991a2d29fd

C#
public ExternalServiceOperation Operation;

Original lines: 54

Declaration hash: sha256:0572154f41e974fd33e20bd65c44615f33bd144fcc4871bf8a7e324d87ce8d85

C#
public int CommandId;

Original lines: 59

Declaration hash: sha256:c0bef69f5e1b82118fcd6fb69aaa5509514757d874fda393562c162922822bae

C#
public int GraphId;

Original lines: 65

Declaration hash: sha256:cbca0fd997ecc82a3e4f15a3f876e476eb0f39b9b486246f820c23d529b3e5bd

C#
public int ServiceId;

Original lines: 70

Declaration hash: sha256:7934cf899b2edf272ced64d7eee8ea15006b3b4acc784bbd8114068ed2424541

C#
public int CommandKind;

Original lines: 73

Declaration hash: sha256:542a4068a09a5ae7cfe03917460cab2779900c6318383ad44eee70e4227043af

C#
public int OwningNodeIndex;

Original lines: 76

Declaration hash: sha256:ae4d4caa9c446677006f889ebc318841798f86f77ec6f7c8e1de8e20e2ab7f84

C#
public int CauseNodeIndex;

Original lines: 87

Declaration hash: sha256:8d3a3f66253d77b76a9443410240d95f981c36d4ea2f9326d7c916ba8e6a80ae

C#
public EntityId EntityId;

Original lines: 92

Declaration hash: sha256:1b28688a6b4c2d49458d1213ac6a4d788dab09837f72c5ead3666bb91fe894db

C#
public int FrameNumber;

Original lines: 99

Declaration hash: sha256:c588b0733fb1c2fdbf305f52b72e69202535ee8456088410781ed89ff710a937

C#
public int PendingIdSlotOffset;

Original lines: 105

Declaration hash: sha256:0d68c20c17670eb76cd115e38f4505e01f8b478f167be59cc354fe58c41ff3b4

C#
public BakedAuthorityContextCode Authority;

Original lines: 111

Declaration hash: sha256:b8a2daa6c51219fe685411ecba5d7caf82d46cfd218e208a65d1dc4d584eeceb

C#
public byte RequiresCompletion;

Original lines: 116

Declaration hash: sha256:f89defeae159da76de38d4a161042244d0361bbbed7e3d7a0d3eba57d6ad8604

C#
public byte IsCancellation;

Original lines: 121

Declaration hash: sha256:b6340f2a23b8b92ecc7e6873ae4123804f708b9924476b456906cf5fafbbeef6

C#
public ExternalServiceCancellationReason CancellationReason;

Original lines: 127

Declaration hash: sha256:5603a91f54a6e8397d8cf9f2c48551cf89efce06dac0a4c792d30f6b23acd6f5

C#
public int Payload0;

Original lines: 130

Declaration hash: sha256:4592d4dfb70a9434b54cc51abbe4c8ea4915ec446fc5eee0e33e3ae44dd5b1b2

C#
public int Payload1;

Original lines: 133

Declaration hash: sha256:24dbcd1cddc14c004ef6171597060d00660f4773eb8b61f9db5c37313bcd4c96

C#
public int Payload2;

Original lines: 136

Declaration hash: sha256:4e48db2ace209fdcb5691b8faf39f43c160460c7450631a7f9b8adb4a2db087e

C#
public int Payload3;

Original lines: 138

Declaration hash: sha256:2fbf61a212a4c2ff0270d15791ea9ac204005c62f94682d703ecde7b1ceb17b4

C#
public int Payload4;

Original lines: 146-159

Declaration hash: sha256:10d60e90e4b622d3b2be24a2fefeb08829d01db8f9d285c043488c4092a44fd8

C#
public enum BakedAuthorityContextCode : byte
{
}

Original lines: 149

Declaration hash: sha256:fedf0b8e3515dd246d2e135e58b6f73affd93f34de5df1560d5f1933ff29f84f

C#
Unknown = 0

Original lines: 152

Declaration hash: sha256:bd7cbb5a35e591204013ca39e67c72e0f21b741dded8b60b7d20731ed4f96302

C#
HostAuthoritative = 1

Original lines: 155

Declaration hash: sha256:1bde6feed568b4d43cdff902a216ac6a2f973d20fb514cfe7af65f04befabeb8

C#
ClientPresentation = 2

Original lines: 158

Declaration hash: sha256:af72252b71884c63fa0f472d2e30ebd2ff6918de148bc0e729720c8948d536f0

C#
EditorTestOnly = 3

Original lines: 170-177

Declaration hash: sha256:b6035fcac5661ab940fd224dea65ac7896c1db0e4830e4c8f66cc5e13dd981d7

C#
public enum ExternalServiceOperation : byte
{
}

Original lines: 173

Declaration hash: sha256:d9e6a049594efc5ac98adc9fe05f830d7c3bba27f2f03c0c836e7741ec85e89b

C#
Request = 0

Original lines: 176

Declaration hash: sha256:4f429979e002c0d7d4038f3c3304e48931e55ac3b05275565bb52ae7d446664d

C#
Interrupt = 1

Original lines: 188-236

Declaration hash: sha256:60256daecb7a26d266669ad128e3132c062bd7269f6ae9b08dcdaf715a8ed4f5

C#
public readonly struct ExternalServiceInterruption
{
}

Method: ExternalServiceInterruption(EntityId entityId, int commandId, int serviceId, int owningNodeIndex, int causeNodeIndex, int frameNumber)

Section titled “Method: ExternalServiceInterruption(EntityId entityId, int commandId, int serviceId, int owningNodeIndex, int causeNodeIndex, int frameNumber)”

Original lines: 191-205

Declaration hash: sha256:524c71119e8fcbafafb7d37545308db6519c3b925984b8c3e3067f2b14cee09f

C#
public ExternalServiceInterruption(EntityId entityId, int commandId, int serviceId, int owningNodeIndex, int causeNodeIndex, int frameNumber);

Original lines: 208

Declaration hash: sha256:49a35eb572733d87a751863356a91227c6236ca2d98e1cfdbb001fd703b5e4d7

C#
public EntityId EntityId { get; }

Original lines: 211

Declaration hash: sha256:0ef2a00ad8dd3ab4778c394ef2d6053745a19da3c4579c9d3f5c4e0e71698dfd

C#
public int CommandId { get; }

Original lines: 214

Declaration hash: sha256:efc6dbf3f98bd0e73f39fd2144407e25e0c7a50942bfa7f83a3278dbf2a63f20

C#
public int ServiceId { get; }

Original lines: 217

Declaration hash: sha256:82e7973432e328d5ba33e1dbd231f6f78637dffd104d2767b299dd4be5b1d9a5

C#
public int OwningNodeIndex { get; }

Original lines: 220

Declaration hash: sha256:c48b2f9b486117bf4449b3d1dc1a819c2c025ce55f2d9d2b54aefc2ab54bcd6c

C#
public int CauseNodeIndex { get; }

Original lines: 223

Declaration hash: sha256:9462a8757ca41be16c42b6c5f83722fbd0e3f3e61e144a1ee8408821765c3db7

C#
public int FrameNumber { get; }

Method: From(in ExternalServiceCommand command)

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

Original lines: 226-235

Declaration hash: sha256:81902e8e8ba5c25f5fd5149b0c948e5e0a2461d5cdf835dc686345c91a33b1bb

C#
public static ExternalServiceInterruption From(in ExternalServiceCommand command);

Original lines: 255-314

Declaration hash: sha256:2e8edbaa0e81f60c4cb39a472a4ed0b9bb4fc560ccb3f5b5952585bebc714811

C#
public static class BehaviorMemberService
{
}

Original lines: 258

Declaration hash: sha256:92f6df24dd622d5462b48e6dcefa89ca953534980717c98fa66a67f236bda371

C#
public const string ServiceToken = "__bq_member_deferred__";

Original lines: 267

Declaration hash: sha256:3a9483a40a972c3092e74ad11c7a7768e7b4d3926875a2bb3c5d8369fecd083c

C#
public const int ServiceId = -1088674145;

Original lines: 270

Declaration hash: sha256:ad1ef0f7f0ec37970fda330b512489dcb1f616ce54ac1523683d57edf52e5620

C#
public const int KindCoroutine = 1;

Original lines: 273

Declaration hash: sha256:12764bbba1d3eec507f163e7e27105166165eba0b301d336e528689aec26f7b8

C#
public const int KindEventCondition = 2;

Original lines: 279-282

Declaration hash: sha256:43ecf8155866ec028dc83f9d944739695faf8505b8a98f93f94475015da95831

C#
public static bool AssertServiceIdMatchesToken();

Method: BuildRequest(int commandId, int graphId, int operationIndex, int commandKind, int nodeIndex, uint activationGeneration, EntityId entityId, int frameNumber, BakedAuthorityContextCode authority)

Section titled “Method: BuildRequest(int commandId, int graphId, int operationIndex, int commandKind, int nodeIndex, uint activationGeneration, EntityId entityId, int frameNumber, BakedAuthorityContextCode authority)”

Original lines: 285-313

Declaration hash: sha256:cf838c1b18240845bc6e008fadc872d5e1731a019ca8737949c83f16c910cf2b

C#
public static ExternalServiceCommand BuildRequest(int commandId, int graphId, int operationIndex, int commandKind, int nodeIndex, uint activationGeneration, EntityId entityId, int frameNumber, BakedAuthorityContextCode authority);

Original lines: 319-344

Declaration hash: sha256:8fe2533e22e0a03ea7e925df387aa55a87a057a14adf9f0b72c7439f9dfd01c7

C#
public enum ExternalServiceCancellationReason : byte
{
}

Original lines: 322

Declaration hash: sha256:bad2c96574768468faefa3b453e98a4fed8adf600061cdd6a0a4b65da641046a

C#
None = 0

Original lines: 325

Declaration hash: sha256:2079fa7c9b53b445b768fa70d6cd468b78f6700767a18d23c30c034ef8e5c018

C#
Transition = 1

Original lines: 328

Declaration hash: sha256:82c8d29bf80cfe664a498c6e55b968a0aa5fb1ce4b0539e30b8c8c6dce566efa

C#
Reset = 2

Original lines: 331

Declaration hash: sha256:2e7fe793b610e750326174e878c7cfea42bf30320ee4998adf73d0835bb7ca6b

C#
LowerPriority = 3

Original lines: 334

Declaration hash: sha256:8ace2876f45fb2e174a1073e8af658870addb7ef7084915d45b2fd59536c4a9b

C#
Self = 4

Original lines: 337

Declaration hash: sha256:534190318efee05907adc8464843f620fa14a6326d45d1e2ec6362b596652f3b

C#
Timeout = 5

Original lines: 340

Declaration hash: sha256:0d110deef787107b0be22e04470e25ca55d34b44d86d520a9a6c744c0dc6aca1

C#
PeerFailure = 6

Original lines: 343

Declaration hash: sha256:37023eb14420e2c2ef891d6f4678e495a5de48d15c78565a2da1380c348f90cd

C#
Interruption = 7

Original lines: 371-505

Declaration hash: sha256:db70279b25a582a5efca7906c0179b8b9ea6cc842bce6c1404a3269a7b361d7f

C#
public sealed class ExternalServiceCommandQueue : IDisposable
{
}

Method: ExternalServiceCommandQueue(Allocator allocator)

Section titled “Method: ExternalServiceCommandQueue(Allocator allocator)”

Original lines: 387-391

Declaration hash: sha256:5fabc9162c1c2d2bf8afaf0834228212fbd4dc7720e65a2cac2111e7a1a894c1

C#
public ExternalServiceCommandQueue(Allocator allocator = Allocator.Persistent);

Original lines: 394

Declaration hash: sha256:86b971c9d4a6c7be67f9b8ba77954d606158193d4bb6f55e4e6ef2de364cb94a

C#
public int Count { get; }

Original lines: 397

Declaration hash: sha256:664ae59c7d44d9aab968e61f5da40c95bf6c6eba6f1159f1da6bddb7554afd46

C#
public bool IsCreated { get; }

Original lines: 403-404

Declaration hash: sha256:29e96506d630f953278e1bcdabeefbe225cb1bfd11c1ba546bbb0fb63a5b473b

C#
public NativeQueue<ExternalServiceCommand>.ParallelWriter AsParallelWriter();

Original lines: 410

Declaration hash: sha256:0a9c69b31bed9ddce89b66b64f6a4d17d02d5bd196008e8f4b3c093ad0c31966

C#
public NativeQueue<ExternalServiceCommand> Raw { get; }

Method: TryDequeue(out ExternalServiceCommand command)

Section titled “Method: TryDequeue(out ExternalServiceCommand command)”

Original lines: 415-416

Declaration hash: sha256:1a2e402ddc1b26691e30aec32e597ac3fe2e53ec2759c9b5cc71b9e60c0730a6

C#
public bool TryDequeue(out ExternalServiceCommand command);

Method: Enqueue(ExternalServiceCommand command)

Section titled “Method: Enqueue(ExternalServiceCommand command)”

Original lines: 433-441

Declaration hash: sha256:f530a3aae3c1b59ec2f1f613c82726b1b53d89f796ce36a194559c8daa333e12

C#
public int Enqueue(ExternalServiceCommand command);

Method: DrainAll(List<ExternalServiceCommand> dest)

Section titled “Method: DrainAll(List<ExternalServiceCommand> dest)”

Original lines: 449-456

Declaration hash: sha256:a05ab4bc783ccd8acd79a0b5825b066b8d01848dc5862698719d633c320ad456

C#
public void DrainAll(System.Collections.Generic.List<ExternalServiceCommand> dest);

Method: DrainPartitioned(Dictionary<int, List<ExternalServiceCommand>> bins)

Section titled “Method: DrainPartitioned(Dictionary<int, List<ExternalServiceCommand>> bins)”

Original lines: 463-476

Declaration hash: sha256:8d020b06de74d53e720e4ca8833273e637c0459379908ffa0fa4db3856d8cc71

C#
public void DrainPartitioned(System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<ExternalServiceCommand>> bins);

Original lines: 482-487

Declaration hash: sha256:a91d2628cfe5c53d79add667cfc661cdeed0fac06fb357bfc1b0ac2895cccf2c

C#
public void Dispose();

Original lines: 494-495

Declaration hash: sha256:2ceaf5bbdd574c990e479e66df08b00084e342149ed2f2478a6a5de0ddcbfed5

C#
public static BakedAuthorityContextCode From(BitQuirky.Behavior.Baked.BakedAuthorityContext baked);

Method: ToBaked(BakedAuthorityContextCode code)

Section titled “Method: ToBaked(BakedAuthorityContextCode code)”

Original lines: 501-502

Declaration hash: sha256:2a580ca3750a2064369b1f9c656a8806503d8fabe14baec75d0fa932e6765fc4

C#
public static BitQuirky.Behavior.Baked.BakedAuthorityContext ToBaked(BakedAuthorityContextCode code);
Full-size image