ExternalServiceCompletionRing.cs declarations
Public API declaration excerpts from Packages/io.bitquirky.behavior/Runtime/ExternalService/ExternalServiceCompletionRing.cs.
Source snapshot ad0983d00d77.
On this page
Original file: Packages/io.bitquirky.behavior/Runtime/ExternalService/ExternalServiceCompletionRing.cs
Source file hash: sha256:f2735de1dabb43b61a87146ce9d7fdda986e0df68f7a7858fd9e94ff7e30ba61
Only public declaration headers are shown. Implementation bodies, non-public code, and source comments are omitted.
Type: ExternalServiceOutcome
Section titled “Type: ExternalServiceOutcome”Original lines: 32-75
Declaration hash: sha256:2aaa6a1636d733049c55c0a08a16965382301805c630e962e46a51791292bc50
public enum ExternalServiceOutcome : byte{}Field: None
Section titled “Field: None”Original lines: 39
Declaration hash: sha256:bad2c96574768468faefa3b453e98a4fed8adf600061cdd6a0a4b65da641046a
None = 0Field: Issued
Section titled “Field: Issued”Original lines: 47
Declaration hash: sha256:c5c6e17608e2c1516d096d7c15e88febc22137e87ac13c8dd4a4f81e048ac7da
Issued = 1Field: Completed
Section titled “Field: Completed”Original lines: 54
Declaration hash: sha256:d8ce8feff98496f5d28e51952d92e1f8b809fa5dbcec213586d457a1c771e009
Completed = 2Field: Failed
Section titled “Field: Failed”Original lines: 61
Declaration hash: sha256:67568ed6c2459ce40293eca1b7b0b09ea59096ce340b5326b7582728530d434b
Failed = 3Field: Refused
Section titled “Field: Refused”Original lines: 68
Declaration hash: sha256:02697eb5a85442f9bdaac939e2c42d5201bc50bfff977c58cce61b637be444c6
Refused = 4Field: CancelledByHandoff
Section titled “Field: CancelledByHandoff”Original lines: 74
Declaration hash: sha256:41b73f73c3d6ae567f8be6276ab08dc193ef6aab813b4af451381587491b65d7
CancelledByHandoff = 5Type: ExternalServiceCompletionRecord
Section titled “Type: ExternalServiceCompletionRecord”Original lines: 85-156
Declaration hash: sha256:77a5d6fd2208da8ffe45914f083782521b75d5768b760b1208774777d7405be8
public struct ExternalServiceCompletionRecord{}Field: CommandId
Section titled “Field: CommandId”Original lines: 90
Declaration hash: sha256:0572154f41e974fd33e20bd65c44615f33bd144fcc4871bf8a7e324d87ce8d85
public int CommandId;Field: PendingId
Section titled “Field: PendingId”Original lines: 98
Declaration hash: sha256:1daa317e5579c4549e5f4a5acdf039266f395d34fb6cf007dba6ea840a031f94
public int PendingId;Field: ServiceId
Section titled “Field: ServiceId”Original lines: 104
Declaration hash: sha256:cbca0fd997ecc82a3e4f15a3f876e476eb0f39b9b486246f820c23d529b3e5bd
public int ServiceId;Field: EntityId
Section titled “Field: EntityId”Original lines: 113
Declaration hash: sha256:8d3a3f66253d77b76a9443410240d95f981c36d4ea2f9326d7c916ba8e6a80ae
public EntityId EntityId;Field: Outcome
Section titled “Field: Outcome”Original lines: 119
Declaration hash: sha256:4c0f5b344f26ecc39fe3c7c3f73ff2c89b4127efbffaa7523deb5b6cc97248d5
public ExternalServiceOutcome Outcome;Field: BehaviorResultOverride
Section titled “Field: BehaviorResultOverride”Original lines: 129
Declaration hash: sha256:d5af12859e0a21ed537919e5aa461acbc5bd3c0167a527112b4b51c270551e0e
public byte BehaviorResultOverride;Field: HasResultValue
Section titled “Field: HasResultValue”Original lines: 132
Declaration hash: sha256:2c0ce00825fd9829865ee199ebaf845806771f95d17cb4ab14707d3713d1f82a
public byte HasResultValue;Field: Reserved2
Section titled “Field: Reserved2”Original lines: 135
Declaration hash: sha256:211b3fb5056db875277ed36ea07c8f44bf077de5f9fe896c04c048cae8582c53
public byte Reserved2;Field: OutcomeDetailId
Section titled “Field: OutcomeDetailId”Original lines: 142
Declaration hash: sha256:21b04ebf5e3ca5f4931d15f30b5d3d41fbf059a0b3391598ab48656fc251ab61
public int OutcomeDetailId;Field: ResultValueBits
Section titled “Field: ResultValueBits”Original lines: 148
Declaration hash: sha256:0b7b00456b48975be8478574c385d87e5310d4497418a5628f71d6ca94480c11
public long ResultValueBits;Field: FrameStamp
Section titled “Field: FrameStamp”Original lines: 155
Declaration hash: sha256:d2cd919845e5c25d0ec8564b72215c87704e5eba8af5f8b413ef8c3b724752dc
public int FrameStamp;Type: ExternalServiceCompletionRing
Section titled “Type: ExternalServiceCompletionRing”Original lines: 184-400
Declaration hash: sha256:9da716ef955b5d260e9b2d2ac8ce3c39bbb24d6328a7723f60f570ef2480bac4
public sealed class ExternalServiceCompletionRing : IDisposable{}Method: ExternalServiceCompletionRing(int capacity, Allocator allocator)
Section titled “Method: ExternalServiceCompletionRing(int capacity, Allocator allocator)”Original lines: 203-213
Declaration hash: sha256:094f9d075c5a1e7777df8f55b7c3d234470d28b260c3cdc5ec0250a1fb51651c
public ExternalServiceCompletionRing(int capacity, Allocator allocator = Allocator.Persistent);Property: Capacity
Section titled “Property: Capacity”Original lines: 219
Declaration hash: sha256:311c05a093dd0b0795902abadc62b698b5a71cefa1bbc54ab7aef9b9fc233066
public int Capacity { get; }Property: IsCreated
Section titled “Property: IsCreated”Original lines: 222
Declaration hash: sha256:664ae59c7d44d9aab968e61f5da40c95bf6c6eba6f1159f1da6bddb7554afd46
public bool IsCreated { get; }Property: Records
Section titled “Property: Records”Original lines: 228
Declaration hash: sha256:e2b4aa909cf1ffe8642a4cf612878838e93c19d467713607c53a2d1935bc8655
public NativeArray<ExternalServiceCompletionRecord> Records { get; }Method: GetReadView()
Section titled “Method: GetReadView()”Original lines: 234
Declaration hash: sha256:1431c119d87625bd4ce74e810e5877d9284757b3e8fd1a36453485635d79849a
public ReadView GetReadView();Method: Append(ExternalServiceCompletionRecord record)
Section titled “Method: Append(ExternalServiceCompletionRecord record)”Original lines: 241-249
Declaration hash: sha256:70057c10c0f6395db723751b1409ec1c3ace08e16c4aec33d2c54948af7ccd42
public void Append(ExternalServiceCompletionRecord record);Method: AppendIssued(int commandId, int pendingId, int serviceId, EntityId entityId, int frameStamp)
Section titled “Method: AppendIssued(int commandId, int pendingId, int serviceId, EntityId entityId, int frameStamp)”Original lines: 255-267
Declaration hash: sha256:2f6def8144eff16888caa024c6db6a2ab6020e8a983933f36acb3532e1f29da8
public void AppendIssued(int commandId, int pendingId, int serviceId, EntityId entityId, int frameStamp);Method: AppendOutcome(int commandId, int pendingId, int serviceId, EntityId entityId, ExternalServiceOutcome outcome, int outcomeDetailId, int frameStamp)
Section titled “Method: AppendOutcome(int commandId, int pendingId, int serviceId, EntityId entityId, ExternalServiceOutcome outcome, int outcomeDetailId, int frameStamp)”Original lines: 274-288
Declaration hash: sha256:e21f84c895cdfab345df882c6cf1f98e334220fa08ef4f50dc96488a01abed49
public void AppendOutcome(int commandId, int pendingId, int serviceId, EntityId entityId, ExternalServiceOutcome outcome, int outcomeDetailId, int frameStamp);Method: AppendMemberCompletion(int commandId, int serviceId, EntityId entityId, byte behaviorResultOverride, bool hasResultValue, long resultValueBits, int frameStamp)
Section titled “Method: AppendMemberCompletion(int commandId, int serviceId, EntityId entityId, byte behaviorResultOverride, bool hasResultValue, long resultValueBits, int frameStamp)”Original lines: 296-317
Declaration hash: sha256:4cebaa4d23afcce60ff7e9ab3e9d410794d1daecfe69a67e4f2adf23286c75fe
public void AppendMemberCompletion(int commandId, int serviceId, EntityId entityId, byte behaviorResultOverride, bool hasResultValue, long resultValueBits, int frameStamp);Method: Clear()
Section titled “Method: Clear()”Original lines: 322-329
Declaration hash: sha256:8ab1ffcad8674d1cce58b3c69b04c598103a8217b51c18e1cb63a37436489761
public void Clear();Method: Dispose()
Section titled “Method: Dispose()”Original lines: 335-341
Declaration hash: sha256:a91d2628cfe5c53d79add667cfc661cdeed0fac06fb357bfc1b0ac2895cccf2c
public void Dispose();Type: ReadView
Section titled “Type: ReadView”Original lines: 353-397
Declaration hash: sha256:592fec1c63623da9711aada965bc4ec708f225ea90ad1b2fcb96a2fb3dff135a
public readonly struct ReadView{}Method: ReadView(NativeArray<ExternalServiceCompletionRecord> records)
Section titled “Method: ReadView(NativeArray<ExternalServiceCompletionRecord> records)”Original lines: 361-364
Declaration hash: sha256:bf83a9dd9ccd50f0ba8c20f1b88a2711c99093d387ec6266dfc7a2192177303c
public ReadView(NativeArray<ExternalServiceCompletionRecord> records);Property: Length
Section titled “Property: Length”Original lines: 367
Declaration hash: sha256:7477f4af41b1d3a1a38b42ac496005db9719a8d7651e097e4884aff0a5d6bd38
public int Length { get; }Property: this[int index]
Section titled “Property: this[int index]”Original lines: 370
Declaration hash: sha256:f9608da72caee821d8b9c890a5f646f8cf637a4798d0cc79600f6bbd105c5a76
public ExternalServiceCompletionRecord this[int index] { get; }Method: TryFindLatestForCommand(int commandId, EntityId entityId, out ExternalServiceCompletionRecord record)
Section titled “Method: TryFindLatestForCommand(int commandId, EntityId entityId, out ExternalServiceCompletionRecord record)”Original lines: 378-396
Declaration hash: sha256:9c66d17d07d6be709748904943a4078c4c23c4930450221f552ad8d62b704b0b
public bool TryFindLatestForCommand(int commandId, EntityId entityId, out ExternalServiceCompletionRecord record);