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

BehaviorBlackboardChangeWriter.cs declarations

Public API declaration excerpts from Packages/io.bitquirky.behavior/Runtime/Blackboard/BehaviorBlackboardChangeWriter.cs.

Source snapshot ad0983d00d77.

On this page

Original file: Packages/io.bitquirky.behavior/Runtime/Blackboard/BehaviorBlackboardChangeWriter.cs

Source file hash: sha256:2aaab83411a6ffd624d171c542670f8511c4b2b4dace61a121a2efa32340bd78

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

Original lines: 14-39

Declaration hash: sha256:5dce9637311dc3e4822d2af9004a38f3a9b58514876e5a7cd17a38706a2eb1cc

C#
public enum BehaviorBlackboardWriteOrigin : byte
{
}

Original lines: 17

Declaration hash: sha256:bad2c96574768468faefa3b453e98a4fed8adf600061cdd6a0a4b65da641046a

C#
None = 0

Original lines: 20

Declaration hash: sha256:9f3785d9c3f1e76dddb85f914ef1d82c1a36cc0958acb190d30ff195d3844020

C#
MemberPoll = 1

Original lines: 23

Declaration hash: sha256:4dc1f0d826bc103d594098398c6de36221866d108ff80af4261c4482dc9d6b58

C#
MemberNotification = 2

Original lines: 26

Declaration hash: sha256:80cd4c28ba2d245b73ef01c4513d7781d5d6f8c0b6d9c34f6c847293b6e032fb

C#
MemberResult = 3

Original lines: 29

Declaration hash: sha256:c5d031835df9592405c1cc35dddce5b30449129361e1064ca265e4bf094739a4

C#
MemberPush = 4

Original lines: 32

Declaration hash: sha256:bbf402f3004d4656ecb08f09b365146ae11f63e276f7b34d762506272a6045e3

C#
External = 5

Original lines: 38

Declaration hash: sha256:31fc554d618e8cea5f7a6254feee605357333409fbda4ac9a5e0960f28629e78

C#
LiveEdit = 6

Type: BehaviorBlackboardSynchronizationArbiter

Section titled “Type: BehaviorBlackboardSynchronizationArbiter”

Original lines: 57-111

Declaration hash: sha256:9f11a7f59f927fd4009424789a5c235870d14f9741b478033cbcf41a408b6b64

C#
public static class BehaviorBlackboardSynchronizationArbiter
{
}

Method: ShouldEmitMemberChange(bool initialized, bool twoWay, long producedBits, long producedUpperBits, long baselineBits, long baselineUpperBits, long slotBits, long slotUpperBits)

Section titled “Method: ShouldEmitMemberChange(bool initialized, bool twoWay, long producedBits, long producedUpperBits, long baselineBits, long baselineUpperBits, long slotBits, long slotUpperBits)”

Original lines: 65-84

Declaration hash: sha256:5ead1beffa3eee98ca31ae02977534e84844b790ab8c5981845b87b6e1fd1d7b

C#
public static bool ShouldEmitMemberChange(bool initialized, bool twoWay, long producedBits, long producedUpperBits, long baselineBits, long baselineUpperBits, long slotBits, long slotUpperBits);

Method: ShouldPush(bool initialized, long slotBits, long slotUpperBits, long baselineBits, long baselineUpperBits)

Section titled “Method: ShouldPush(bool initialized, long slotBits, long slotUpperBits, long baselineBits, long baselineUpperBits)”

Original lines: 91-100

Declaration hash: sha256:91a6fc03ad2cfdac59b00ca650c7fb576a32a00df1577f35599c21fbfe062673

C#
public static bool ShouldPush(bool initialized, long slotBits, long slotUpperBits, long baselineBits, long baselineUpperBits);

Method: NotificationFired(bool initialized, uint observedVersion, uint lastObservedVersion)

Section titled “Method: NotificationFired(bool initialized, uint observedVersion, uint lastObservedVersion)”

Original lines: 106-110

Declaration hash: sha256:55bd39bcb0768803dd4ebadef2413ecd458f8205bef028e624a4e680a37825f0

C#
public static bool NotificationFired(bool initialized, uint observedVersion, uint lastObservedVersion);

Original lines: 131-617

Declaration hash: sha256:1c6a03823c8a593d3ba0f40f9099a43394a5a98b8c21ead90192315957b2a390

C#
public sealed class BehaviorBlackboardChangeWriter
{
}

Original lines: 137-138

Declaration hash: sha256:83397d002cfd4b375cc8e71f222815d99a1262d890882244ec45e08505d75635

C#
public static readonly int BufferCountHeaderSize;

Method: BehaviorBlackboardChangeWriter(NativeArray<byte> blackboard, int slotCount, int journalCapacity, Action<int, BehaviorBlackboardWriteOrigin> writeHandler)

Section titled “Method: BehaviorBlackboardChangeWriter(NativeArray<byte> blackboard, int slotCount, int journalCapacity, Action<int, BehaviorBlackboardWriteOrigin> writeHandler)”

Original lines: 157-188

Declaration hash: sha256:52813d8c8b18b69b444100a86c0674b802d1b5a48bad49583eba9e9b668e07da

C#
public BehaviorBlackboardChangeWriter(NativeArray<byte> blackboard, int slotCount, int journalCapacity = -1, Action<int, BehaviorBlackboardWriteOrigin> writeHandler = null);

Original lines: 191

Declaration hash: sha256:f9ba5baf19c132e3bc88dd4ce52ea59d63561806b80f325abd7ac1461063c880

C#
public int JournalCount { get; }

Original lines: 194-197

Declaration hash: sha256:91d0e1936d22637c775bd71e72475d4bb52d7eef8787c136c37b2d27227f9572

C#
public int Version(int slotIndex);

Method: ReentrancyGeneration(int slotIndex)

Section titled “Method: ReentrancyGeneration(int slotIndex)”

Original lines: 200-205

Declaration hash: sha256:ee41c7114dddac5fceb7bfcc277d81cf34107cc4d2ae7820273fc799084a60cd

C#
public uint ReentrancyGeneration(int slotIndex);

Original lines: 208-213

Declaration hash: sha256:1d0145c99a7365f830aeac0a2c37c2ba349a0bed5f9c7ba4166119e1076a5a56

C#
public BehaviorBlackboardWriteOrigin LastOrigin(int slotIndex);

Method: ReadJournalEntry(int index, out int slotIndex, out uint sequence)

Section titled “Method: ReadJournalEntry(int index, out int slotIndex, out uint sequence)”

Original lines: 216-220

Declaration hash: sha256:64159f5a725485b60e226f8e832f7638fc9aa0dbc5c59ee153f877bd91819a42

C#
public void ReadJournalEntry(int index, out int slotIndex, out uint sequence);

Method: ReadJournalEntry(int index, out int slotIndex, out uint sequence, out BehaviorBlackboardWriteOrigin origin, out bool hasValue, out long valueBits)

Section titled “Method: ReadJournalEntry(int index, out int slotIndex, out uint sequence, out BehaviorBlackboardWriteOrigin origin, out bool hasValue, out long valueBits)”

Original lines: 223-236

Declaration hash: sha256:d939585d07263c1bfbd95315ead29af3874600351d7a5667733e05fe7cfc6a4e

C#
public void ReadJournalEntry(int index, out int slotIndex, out uint sequence, out BehaviorBlackboardWriteOrigin origin, out bool hasValue, out long valueBits);

Original lines: 239-248

Declaration hash: sha256:611461468cd810f5b76ae13cd2a4c9f02272ad104d200d7c14be9bb847b6cf82

C#
public uint BeginReentrancy(int slotIndex);

Original lines: 251-257

Declaration hash: sha256:401b55eff8a7c31166135ecd1fdd10c13e1e99752cef205b2d8b340e3dddb94d

C#
public void EndReentrancy(int slotIndex);

Method: WriteBits(int slotIndex, in BakedBlackboardSlot slot, long bits, BehaviorBlackboardWriteOrigin origin)

Section titled “Method: WriteBits(int slotIndex, in BakedBlackboardSlot slot, long bits, BehaviorBlackboardWriteOrigin origin)”

Original lines: 260-278

Declaration hash: sha256:844ddfbbcf272c97fe83814d40bb2ad520188acb8d0e786fcd11aa149064482c

C#
public void WriteBits(int slotIndex, in BakedBlackboardSlot slot, long bits, BehaviorBlackboardWriteOrigin origin);

Method: WriteWideBits(int slotIndex, in BakedBlackboardSlot slot, long bits, long upperBits, BehaviorBlackboardWriteOrigin origin)

Section titled “Method: WriteWideBits(int slotIndex, in BakedBlackboardSlot slot, long bits, long upperBits, BehaviorBlackboardWriteOrigin origin)”

Original lines: 284-305

Declaration hash: sha256:3754613474d8680c75b63887e102a6b4b06a99800cbd1f3f0831e5ed94488a4d

C#
public void WriteWideBits(int slotIndex, in BakedBlackboardSlot slot, long bits, long upperBits, BehaviorBlackboardWriteOrigin origin);

Method: WriteBytes(int slotIndex, in BakedBlackboardSlot slot, byte[] source, int sourceOffset, int valueSize, BehaviorBlackboardWriteOrigin origin)

Section titled “Method: WriteBytes(int slotIndex, in BakedBlackboardSlot slot, byte[] source, int sourceOffset, int valueSize, BehaviorBlackboardWriteOrigin origin)”

Original lines: 311-345

Declaration hash: sha256:9bd9848a28df37308027e2607400cbc9b82ae8b1afce766e41aaf883fecbefc2

C#
public void WriteBytes(int slotIndex, in BakedBlackboardSlot slot, byte[] source, int sourceOffset, int valueSize, BehaviorBlackboardWriteOrigin origin);

Method: ReadBits(in BakedBlackboardSlot slot)

Section titled “Method: ReadBits(in BakedBlackboardSlot slot)”

Original lines: 348-358

Declaration hash: sha256:833061e5375caaef694098d8d30e403a98ddb5f492b8da232328e1067d65d0a4

C#
public long ReadBits(in BakedBlackboardSlot slot);

Method: ReadUpperBits(in BakedBlackboardSlot slot)

Section titled “Method: ReadUpperBits(in BakedBlackboardSlot slot)”

Original lines: 361-371

Declaration hash: sha256:b98152a871b2f2b15091d249d74552941ce2cf831204dfdbb23d61003831f2a8

C#
public long ReadUpperBits(in BakedBlackboardSlot slot);

Method: ReadBytes(in BakedBlackboardSlot slot, byte[] destination, int destinationOffset)

Section titled “Method: ReadBytes(in BakedBlackboardSlot slot, byte[] destination, int destinationOffset)”

Original lines: 374-395

Declaration hash: sha256:4f9c201bc6aa4dec926cdb2b32784c45f03a7760be7bbec5e55813600a30ed6b

C#
public void ReadBytes(in BakedBlackboardSlot slot, byte[] destination, int destinationOffset);

Method: ReadValue<T>(in BakedBlackboardSlot slot)

Section titled “Method: ReadValue<T>(in BakedBlackboardSlot slot)”

Original lines: 403-406

Declaration hash: sha256:e9efbe8345e31d9ffc78a40eada79fb23d577b1a6b39f8067e060a9014afd0d0

C#
public T ReadValue<T>(in BakedBlackboardSlot slot)
where T : unmanaged;

Method: WriteValue<T>(int slotIndex, in BakedBlackboardSlot slot, T value, BehaviorBlackboardWriteOrigin origin)

Section titled “Method: WriteValue<T>(int slotIndex, in BakedBlackboardSlot slot, T value, BehaviorBlackboardWriteOrigin origin)”

Original lines: 412-421

Declaration hash: sha256:73a328d28eacffd75401a5051b07044b6a1b116b8f123840ae8f4743146870e3

C#
public void WriteValue<T>(int slotIndex, in BakedBlackboardSlot slot, T value, BehaviorBlackboardWriteOrigin origin)
where T : unmanaged;

Method: ReadElement<T>(in BakedCarriedCollectionBuffer buffer, int elementIndex)

Section titled “Method: ReadElement<T>(in BakedCarriedCollectionBuffer buffer, int elementIndex)”

Original lines: 434-441

Declaration hash: sha256:9c938b92d2039f333deb80ea2da62019e16b012ca21466de2a0dda260b76fc91

C#
public T ReadElement<T>(in BakedCarriedCollectionBuffer buffer, int elementIndex)
where T : unmanaged;

Method: WriteElement<T>(in BakedCarriedCollectionBuffer buffer, int elementIndex, T value, BehaviorBlackboardWriteOrigin origin)

Section titled “Method: WriteElement<T>(in BakedCarriedCollectionBuffer buffer, int elementIndex, T value, BehaviorBlackboardWriteOrigin origin)”

Original lines: 449-462

Declaration hash: sha256:ea8a4010ae7c555c2fb5e2a45ffc99bf7cb5c754044502ad8ebd08eea687b5db

C#
public void WriteElement<T>(in BakedCarriedCollectionBuffer buffer, int elementIndex, T value, BehaviorBlackboardWriteOrigin origin)
where T : unmanaged;

Method: ElementCount(in BakedCarriedCollectionBuffer buffer)

Section titled “Method: ElementCount(in BakedCarriedCollectionBuffer buffer)”

Original lines: 465-473

Declaration hash: sha256:86e33e9379bd86168271c6eda0b64cdde244a21cd1935c65b06bdefbcb3ab345

C#
public int ElementCount(in BakedCarriedCollectionBuffer buffer);

Method: WriteElementCount(in BakedCarriedCollectionBuffer buffer, int elementCount, BehaviorBlackboardWriteOrigin origin)

Section titled “Method: WriteElementCount(in BakedCarriedCollectionBuffer buffer, int elementCount, BehaviorBlackboardWriteOrigin origin)”

Original lines: 480-500

Declaration hash: sha256:875e3c2c9c0c59992b65d55b5f50976fab4da615ffc5553c9f4090ac0a8f5d04

C#
public void WriteElementCount(in BakedCarriedCollectionBuffer buffer, int elementCount, BehaviorBlackboardWriteOrigin origin);

Method: Record(int slotIndex, BehaviorBlackboardWriteOrigin origin)

Section titled “Method: Record(int slotIndex, BehaviorBlackboardWriteOrigin origin)”

Original lines: 503-506

Declaration hash: sha256:396e6fc24cec5e32ff89d2ae98857183d92d5ce2d93f0db5c844fea978611841

C#
public void Record(int slotIndex, BehaviorBlackboardWriteOrigin origin);

Original lines: 603-606

Declaration hash: sha256:dbfd57cbee68fa0a6897029a8f05b366191b7821047922e571485f3d06cbc1a1

C#
public void ClearJournal();

Original lines: 609-616

Declaration hash: sha256:9d5d94a98639dceb263545c20916c0c07aeb8e7351083e449d88135803916a98

C#
public void Reset();
Full-size image