Blackboard.cs declarations
Public API declaration excerpts from Packages/io.bitquirky.behavior/Runtime/Blackboard/Blackboard.cs.
Source snapshot ad0983d00d77.
On this page
Original file: Packages/io.bitquirky.behavior/Runtime/Blackboard/Blackboard.cs
Source file hash: sha256:29b2a95176ad0247ca59744928fe9e2bab5d9ef186cccfc8943df64f2d7ac1d4
Only public declaration headers are shown. Implementation bodies, non-public code, and source comments are omitted.
Type: BlackboardAccessOutcome
Section titled “Type: BlackboardAccessOutcome”Original lines: 38-73
Declaration hash: sha256:b31fbef7e3f3e56d1a76704378855a8dfd9fe5eb091f5a59fb8e1ad996892012
public enum BlackboardAccessOutcome : byte{}Field: Allowed
Section titled “Field: Allowed”Original lines: 41
Declaration hash: sha256:3586a47fbe5ae63c889119b2c9997ec44441dbc8f8293d739cf76e4dbbe15b04
Allowed = 0Field: UnknownField
Section titled “Field: UnknownField”Original lines: 48
Declaration hash: sha256:3b6dd7f393151aee366b1d1119d18ec923b5dc5040c89b154792c5200bb811e3
UnknownField = 1Field: ReadSetViolation
Section titled “Field: ReadSetViolation”Original lines: 53
Declaration hash: sha256:56c582688693ef43d236b6841cf9088cfe14e088d74720365b546948205d896f
ReadSetViolation = 2Field: WriteSetViolation
Section titled “Field: WriteSetViolation”Original lines: 58
Declaration hash: sha256:923184fc89282faa31a8ceef2d69522e77342f6f33929e09e23444bb376d2bee
WriteSetViolation = 3Field: TypeMismatch
Section titled “Field: TypeMismatch”Original lines: 65
Declaration hash: sha256:63351090a693a303002c60ee241a3fe402b9e04d570c9bc449f077dfc808a0e7
TypeMismatch = 4Field: AuthorityViolation
Section titled “Field: AuthorityViolation”Original lines: 72
Declaration hash: sha256:e0490df733c1c87740fdb0afc1ce5bc045d58eb71dafb858256ca03e0ee9bd1d
AuthorityViolation = 5Type: Blackboard
Section titled “Type: Blackboard”Original lines: 103-562
Declaration hash: sha256:8021fc3a9e6f508302bfd7927be10d28fdc2ab00f34eeea9c1b1d1bfadf4c79f
[BurstCompile]public readonly struct Blackboard{}Method: Blackboard(BakedBehaviorArtifact artifact)
Section titled “Method: Blackboard(BakedBehaviorArtifact artifact)”Original lines: 122-134
Declaration hash: sha256:fa49d765d5ce7fe07bdb2b1e81a7b03e3fd1d41f649bd773ba98bf48bdd00472
public Blackboard(BakedBehaviorArtifact artifact);Method: Blackboard(NativeArray<BakedBlackboardSlot> layout, NativeArray<BakedAuthorityEntry> authority, int byteSize)
Section titled “Method: Blackboard(NativeArray<BakedBlackboardSlot> layout, NativeArray<BakedAuthorityEntry> authority, int byteSize)”Original lines: 140-147
Declaration hash: sha256:b4ab008e810a89cdc7b17653f75e6d1823c8452028f4659b6833bc3bcaa60ecd
public Blackboard(NativeArray<BakedBlackboardSlot> layout, NativeArray<BakedAuthorityEntry> authority, int byteSize);Property: ByteSize
Section titled “Property: ByteSize”Original lines: 150-154
Declaration hash: sha256:c189b78419f66cfbb173e73fa35293437459036c7338092275e42ec18d2905a4
public int ByteSize {[MethodImpl(MethodImplOptions.AggressiveInlining)] get; }Property: SlotCount
Section titled “Property: SlotCount”Original lines: 157-161
Declaration hash: sha256:8f06f62e8fda8a7be70db43dfa37b7ebf27e49c221849e97e7b1c91db6bdd3e3
public int SlotCount {[MethodImpl(MethodImplOptions.AggressiveInlining)] get; }Property: IsCreated
Section titled “Property: IsCreated”Original lines: 164-168
Declaration hash: sha256:101e1772711f2eca5bb16355d24b41dbc6660ae5b7798f20c674b3488f3c83b7
public bool IsCreated {[MethodImpl(MethodImplOptions.AggressiveInlining)] get; }Method: TryGetSlot(int fieldNameInternedIndex, out BakedBlackboardSlot slot)
Section titled “Method: TryGetSlot(int fieldNameInternedIndex, out BakedBlackboardSlot slot)”Original lines: 178-196
Declaration hash: sha256:302024ab3d121ae5e1174ec2da2fb002f7e1de53356893123047024bdafe5b1f
public bool TryGetSlot(int fieldNameInternedIndex, out BakedBlackboardSlot slot);Method: GetOwnerAuthority(int fieldNameInternedIndex)
Section titled “Method: GetOwnerAuthority(int fieldNameInternedIndex)”Original lines: 202-217
Declaration hash: sha256:5fdbe672226a4416994b550114c596a2f38829988a57a8f08b3582b0536da6eb
public BakedAuthorityContext GetOwnerAuthority(int fieldNameInternedIndex);Method: CheckRead(int fieldNameInternedIndex, BakedFieldTypeCode expectedType, NativeArray<int> readFieldIds, int readStart, int readCount)
Section titled “Method: CheckRead(int fieldNameInternedIndex, BakedFieldTypeCode expectedType, NativeArray<int> readFieldIds, int readStart, int readCount)”Original lines: 232-252
Declaration hash: sha256:6ab0d05e2635f7093af36e4166f535551801e56c9425b7c6babc4d89bb37457b
public BlackboardAccessOutcome CheckRead(int fieldNameInternedIndex, BakedFieldTypeCode expectedType, NativeArray<int> readFieldIds, int readStart, int readCount);Method: CheckWrite(int fieldNameInternedIndex, BakedFieldTypeCode expectedType, BakedAuthorityContext writerAuthority, NativeArray<int> writeFieldIds, int writeStart, int writeCount)
Section titled “Method: CheckWrite(int fieldNameInternedIndex, BakedFieldTypeCode expectedType, BakedAuthorityContext writerAuthority, NativeArray<int> writeFieldIds, int writeStart, int writeCount)”Original lines: 260-285
Declaration hash: sha256:16c60b79d0c9cefc0c3c4b34f87057f4504412125bdcdd0ecbe7b0b5b7451845
public BlackboardAccessOutcome CheckWrite(int fieldNameInternedIndex, BakedFieldTypeCode expectedType, BakedAuthorityContext writerAuthority, NativeArray<int> writeFieldIds, int writeStart, int writeCount);Method: ReadInt32Unchecked(BakedBlackboardSlot slot, NativeArray<byte> bytes)
Section titled “Method: ReadInt32Unchecked(BakedBlackboardSlot slot, NativeArray<byte> bytes)”Original lines: 296-299
Declaration hash: sha256:8389da778518e2ec504de9f7c83bbbb2d3c19f551416b4d5e14ac7bbe153d1ef
public int ReadInt32Unchecked(BakedBlackboardSlot slot, NativeArray<byte> bytes);Method: TryReadInt32(int fieldNameInternedIndex, NativeArray<int> readFieldIds, int readStart, int readCount, NativeArray<byte> bytes, out int value, out BlackboardAccessOutcome outcome)
Section titled “Method: TryReadInt32(int fieldNameInternedIndex, NativeArray<int> readFieldIds, int readStart, int readCount, NativeArray<byte> bytes, out int value, out BlackboardAccessOutcome outcome)”Original lines: 306-320
Declaration hash: sha256:6a0879c55212b9e9665a9b7208fa0bf2aa6083145933351bfaed8d8c567f0df7
public bool TryReadInt32(int fieldNameInternedIndex, NativeArray<int> readFieldIds, int readStart, int readCount, NativeArray<byte> bytes, out int value, out BlackboardAccessOutcome outcome);Method: TryWriteInt32(int fieldNameInternedIndex, BakedAuthorityContext writerAuthority, NativeArray<int> writeFieldIds, int writeStart, int writeCount, NativeArray<byte> bytes, int value, out BlackboardAccessOutcome outcome)
Section titled “Method: TryWriteInt32(int fieldNameInternedIndex, BakedAuthorityContext writerAuthority, NativeArray<int> writeFieldIds, int writeStart, int writeCount, NativeArray<byte> bytes, int value, out BlackboardAccessOutcome outcome)”Original lines: 327-340
Declaration hash: sha256:2e90b560d2bd9e6106360fb9a4fd2cc5eee3eb18cd031e8854b15ab9371d860c
public bool TryWriteInt32(int fieldNameInternedIndex, BakedAuthorityContext writerAuthority, NativeArray<int> writeFieldIds, int writeStart, int writeCount, NativeArray<byte> bytes, int value, out BlackboardAccessOutcome outcome);Method: TryReadFloat32(int fieldNameInternedIndex, NativeArray<int> readFieldIds, int readStart, int readCount, NativeArray<byte> bytes, out float value, out BlackboardAccessOutcome outcome)
Section titled “Method: TryReadFloat32(int fieldNameInternedIndex, NativeArray<int> readFieldIds, int readStart, int readCount, NativeArray<byte> bytes, out float value, out BlackboardAccessOutcome outcome)”Original lines: 347-361
Declaration hash: sha256:ae444f05392f504108fddf2f96741459d3d6ff55a0345b4c46d2185892eda73a
public bool TryReadFloat32(int fieldNameInternedIndex, NativeArray<int> readFieldIds, int readStart, int readCount, NativeArray<byte> bytes, out float value, out BlackboardAccessOutcome outcome);Method: TryWriteFloat32(int fieldNameInternedIndex, BakedAuthorityContext writerAuthority, NativeArray<int> writeFieldIds, int writeStart, int writeCount, NativeArray<byte> bytes, float value, out BlackboardAccessOutcome outcome)
Section titled “Method: TryWriteFloat32(int fieldNameInternedIndex, BakedAuthorityContext writerAuthority, NativeArray<int> writeFieldIds, int writeStart, int writeCount, NativeArray<byte> bytes, float value, out BlackboardAccessOutcome outcome)”Original lines: 368-381
Declaration hash: sha256:e1be8fe80e1bccccb0903f05739e6fd4fc06d0d8ed44472f6372f112764dfe42
public bool TryWriteFloat32(int fieldNameInternedIndex, BakedAuthorityContext writerAuthority, NativeArray<int> writeFieldIds, int writeStart, int writeCount, NativeArray<byte> bytes, float value, out BlackboardAccessOutcome outcome);Method: TryReadFloat2(int fieldNameInternedIndex, NativeArray<int> readFieldIds, int readStart, int readCount, NativeArray<byte> bytes, out float2 value, out BlackboardAccessOutcome outcome)
Section titled “Method: TryReadFloat2(int fieldNameInternedIndex, NativeArray<int> readFieldIds, int readStart, int readCount, NativeArray<byte> bytes, out float2 value, out BlackboardAccessOutcome outcome)”Original lines: 388-404
Declaration hash: sha256:f7edd6bebf53f854e2951776e6a2c08f1e548631f1eeaef8d284bb34a198fa09
public bool TryReadFloat2(int fieldNameInternedIndex, NativeArray<int> readFieldIds, int readStart, int readCount, NativeArray<byte> bytes, out float2 value, out BlackboardAccessOutcome outcome);Method: TryWriteFloat2(int fieldNameInternedIndex, BakedAuthorityContext writerAuthority, NativeArray<int> writeFieldIds, int writeStart, int writeCount, NativeArray<byte> bytes, float2 value, out BlackboardAccessOutcome outcome)
Section titled “Method: TryWriteFloat2(int fieldNameInternedIndex, BakedAuthorityContext writerAuthority, NativeArray<int> writeFieldIds, int writeStart, int writeCount, NativeArray<byte> bytes, float2 value, out BlackboardAccessOutcome outcome)”Original lines: 411-425
Declaration hash: sha256:54acb10d3d7ef2a5f81cfb85cfbb7f1e41646e1193ba7beef614f52f2deaa009
public bool TryWriteFloat2(int fieldNameInternedIndex, BakedAuthorityContext writerAuthority, NativeArray<int> writeFieldIds, int writeStart, int writeCount, NativeArray<byte> bytes, float2 value, out BlackboardAccessOutcome outcome);Method: TryReadBool(int fieldNameInternedIndex, NativeArray<int> readFieldIds, int readStart, int readCount, NativeArray<byte> bytes, out bool value, out BlackboardAccessOutcome outcome)
Section titled “Method: TryReadBool(int fieldNameInternedIndex, NativeArray<int> readFieldIds, int readStart, int readCount, NativeArray<byte> bytes, out bool value, out BlackboardAccessOutcome outcome)”Original lines: 432-446
Declaration hash: sha256:810030641fce016ebd538ee39df0ae348d3a66715dd47e3325fe78274830308d
public bool TryReadBool(int fieldNameInternedIndex, NativeArray<int> readFieldIds, int readStart, int readCount, NativeArray<byte> bytes, out bool value, out BlackboardAccessOutcome outcome);Method: TryWriteBool(int fieldNameInternedIndex, BakedAuthorityContext writerAuthority, NativeArray<int> writeFieldIds, int writeStart, int writeCount, NativeArray<byte> bytes, bool value, out BlackboardAccessOutcome outcome)
Section titled “Method: TryWriteBool(int fieldNameInternedIndex, BakedAuthorityContext writerAuthority, NativeArray<int> writeFieldIds, int writeStart, int writeCount, NativeArray<byte> bytes, bool value, out BlackboardAccessOutcome outcome)”Original lines: 453-466
Declaration hash: sha256:907eaf7884f1bf917f4f263e42f845a4da10d72bbe73650ad50f9ef92d2ffd88
public bool TryWriteBool(int fieldNameInternedIndex, BakedAuthorityContext writerAuthority, NativeArray<int> writeFieldIds, int writeStart, int writeCount, NativeArray<byte> bytes, bool value, out BlackboardAccessOutcome outcome);Method: Clear(NativeArray<byte> bytes)
Section titled “Method: Clear(NativeArray<byte> bytes)”Original lines: 472-479
Declaration hash: sha256:a79f9ce665a3de61366335236807418aa130f29b4f857c9fd2fc53b77f441c13
public static void Clear(NativeArray<byte> bytes);