BehaviorCanonicalValueCodec.cs declarations
Public API declaration excerpts from Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorCanonicalValueCodec.cs.
Source snapshot ad0983d00d77.
On this page
Original file: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorCanonicalValueCodec.cs
Source file hash: sha256:4e4d4726e4917a294037da0affb758ee34887384be782b83ccbc8e9337f3e40b
Only public declaration headers are shown. Implementation bodies, non-public code, and source comments are omitted.
Type: BehaviorCanonicalValueCodec
Section titled “Type: BehaviorCanonicalValueCodec”Original lines: 30-1584
Declaration hash: sha256:725f5f2e724cca234d2bfdcc804ab750258f9c2ee1801dd586c2b60cc9bbc9bf
[Unity.Scripting.LifecycleManagement.NoAutoStaticsCleanup]public static class BehaviorCanonicalValueCodec{}Field: VariablesBlockHeader
Section titled “Field: VariablesBlockHeader”Original lines: 36
Declaration hash: sha256:fec86b5501f3388614b6253b7113afa07e74dde25ca8614e3c4cb0c2a536cf5a
public const string VariablesBlockHeader = "variables:";Field: UnsetKeyMarker
Section titled “Field: UnsetKeyMarker”Original lines: 39
Declaration hash: sha256:d7bc103c7230270fb6fa34182ddaa8edab3d037578206c457674acb4095f54d4
public const string UnsetKeyMarker = "<unset>";Field: NullKeyMarker
Section titled “Field: NullKeyMarker”Original lines: 42
Declaration hash: sha256:bc8116f5ecc9f46f7380d2c75485fd9c3a70598553c6ec4e07b1a285c06ba57a
public const string NullKeyMarker = "<none>";Field: NoneToken
Section titled “Field: NoneToken”Original lines: 45
Declaration hash: sha256:da2d37bd5145a65a040ee4ced4ec4879bd17281a311de5e3e91a042d63dcf89a
public const string NoneToken = "none";Field: EmptySequenceToken
Section titled “Field: EmptySequenceToken”Original lines: 48
Declaration hash: sha256:3c4f4c1daae2e07ccd9de883eb45cca7cf56653ad8428291c598883729273d47
public const string EmptySequenceToken = "[]";Field: ConcreteTypeFieldKey
Section titled “Field: ConcreteTypeFieldKey”Original lines: 51
Declaration hash: sha256:df3c7072b0f4b0654d668f7d8ea399d3687752fa1c19299304ae8ec030fa24e5
public const string ConcreteTypeFieldKey = "#type";Field: EntryKeyFieldKey
Section titled “Field: EntryKeyFieldKey”Original lines: 54
Declaration hash: sha256:838f659102a4560337a27bf1b0431fee165c59ce19f8544c64ead9c4eaa61e6c
public const string EntryKeyFieldKey = "key";Field: EntryValueFieldKey
Section titled “Field: EntryValueFieldKey”Original lines: 57
Declaration hash: sha256:6f593f9c5e71f571e1bf03f539c885b935cad2d63bc153b44c5aeb23380d64d9
public const string EntryValueFieldKey = "value";Method: FormatTypeToken(BehaviorSourceTypeIdentity identity)
Section titled “Method: FormatTypeToken(BehaviorSourceTypeIdentity identity)”Original lines: 95-104
Declaration hash: sha256:de3933e3e96fa3bc816dcd91b8674f9009a45e6fe768d11f6e759185162d1cf6
public static string FormatTypeToken(BehaviorSourceTypeIdentity identity);Method: TryParseTypeToken(string token, out BehaviorSourceTypeIdentity identity, out bool recordsAssembly, out string error)
Section titled “Method: TryParseTypeToken(string token, out BehaviorSourceTypeIdentity identity, out bool recordsAssembly, out string error)”Original lines: 110-160
Declaration hash: sha256:dde747b949fde6962d8ab2860d2149a19ddf868f33c714c09779b4d95eac9018
public static bool TryParseTypeToken(string token, out BehaviorSourceTypeIdentity identity, out bool recordsAssembly, out string error);Method: GetComponentNames(BehaviorDeclaredValueKind kind)
Section titled “Method: GetComponentNames(BehaviorDeclaredValueKind kind)”Original lines: 167-182
Declaration hash: sha256:0dbcdb44149f9d7ed2c6f68397ba6e04fee748237ded3da40fa7d42ca1bacb61
public static IReadOnlyList<string> GetComponentNames(BehaviorDeclaredValueKind kind);Method: FormatShapeToken(BehaviorDeclaredValueShape shape)
Section titled “Method: FormatShapeToken(BehaviorDeclaredValueShape shape)”Original lines: 185-195
Declaration hash: sha256:9fced23ddfcbe9ef39a618ca814037d215c4d111f6e0c0eaac8867fcbbd09838
public static string FormatShapeToken(BehaviorDeclaredValueShape shape);Method: TryParseShapeToken(string token, out BehaviorDeclaredValueShape shape)
Section titled “Method: TryParseShapeToken(string token, out BehaviorDeclaredValueShape shape)”Original lines: 198-208
Declaration hash: sha256:3926fb2c485b1a779b9ecddb49952e387e649d1c855464dabc2cbc9800dabe5e
public static bool TryParseShapeToken(string token, out BehaviorDeclaredValueShape shape);Method: WriteVariables(StringBuilder builder, IReadOnlyList<BehaviorSourceDeclaredValue> values)
Section titled “Method: WriteVariables(StringBuilder builder, IReadOnlyList<BehaviorSourceDeclaredValue> values)”Original lines: 218-231
Declaration hash: sha256:18a91b32c8e5a75d529f240c4d8d22b74cb2922548ac1dbb1168a850302f6e4c
public static void WriteVariables(StringBuilder builder, IReadOnlyList<BehaviorSourceDeclaredValue> values);Method: WriteVariableRecord(StringBuilder builder, BehaviorSourceDeclaredValue value)
Section titled “Method: WriteVariableRecord(StringBuilder builder, BehaviorSourceDeclaredValue value)”Original lines: 234-268
Declaration hash: sha256:723d65cffa317e2496c0c253edcf9a66fa0d410479392a93b3bdb73e96312f2b
public static void WriteVariableRecord(StringBuilder builder, BehaviorSourceDeclaredValue value);Method: ReadVariables(IReadOnlyList<string> lines, int headerIndex, ICollection<BehaviorSourceDeclaredValue> sink, ICollection<BehaviorSourceDiagnostic> diagnostics)
Section titled “Method: ReadVariables(IReadOnlyList<string> lines, int headerIndex, ICollection<BehaviorSourceDeclaredValue> sink, ICollection<BehaviorSourceDiagnostic> diagnostics)”Original lines: 279-402
Declaration hash: sha256:882398ca736c1f4f69b9a7f10c1e52c635e14204e7bfdf9679b3f9fb98a3f1ed
public static int ReadVariables(IReadOnlyList<string> lines, int headerIndex, ICollection<BehaviorSourceDeclaredValue> sink, ICollection<BehaviorSourceDiagnostic> diagnostics);Method: FormatKeyMarker(BehaviorSourceDictionaryKeyState state, string committedPayload)
Section titled “Method: FormatKeyMarker(BehaviorSourceDictionaryKeyState state, string committedPayload)”Original lines: 412-421
Declaration hash: sha256:1511468bf8c6d9c24b42648826684ce49ffb93775e240744812bdba67de12365
public static string FormatKeyMarker(BehaviorSourceDictionaryKeyState state, string committedPayload);Method: FormatEntryPayload(BehaviorSourceDictionaryEntry entry)
Section titled “Method: FormatEntryPayload(BehaviorSourceDictionaryEntry entry)”Original lines: 427-439
Declaration hash: sha256:3b449ea6fdc104dba8079b66e0d9d42a668cb260e5b5050cc5c0321df3e3940a
public static string FormatEntryPayload(BehaviorSourceDictionaryEntry entry);Method: IsMarker(string payload)
Section titled “Method: IsMarker(string payload)”Original lines: 442-447
Declaration hash: sha256:e4a60ba49595372af462ed690539aa54f399c76defce09f28b1146970ea22ae0
public static bool IsMarker(string payload);Method: IsQuotedText(string payload)
Section titled “Method: IsQuotedText(string payload)”Original lines: 450-456
Declaration hash: sha256:704d568d640dcce6c72f912dae252fbd48612e059ace6b04cee6acefaf05cedb
public static bool IsQuotedText(string payload);Method: IsNone(string payload)
Section titled “Method: IsNone(string payload)”Original lines: 459-463
Declaration hash: sha256:86b2e4624e64c38ebb9d77d5756179e1705fe204c671dae6d744aaff366fad9c
public static bool IsNone(string payload);Method: FormatText(string value)
Section titled “Method: FormatText(string value)”Original lines: 466-480
Declaration hash: sha256:af0c68bfd7ddd7da999f4130cdf8b250504cdfa2a87f9ce5e0b64ec44a500ae7
public static string FormatText(string value);Method: TryParseText(string payload, out string value, out string error)
Section titled “Method: TryParseText(string payload, out string value, out string error)”Original lines: 483-498
Declaration hash: sha256:aefad8aad3bbda3cfe586e24f4383480d137d0e0008a205cf452a4823aefb6f3
public static bool TryParseText(string payload, out string value, out string error);Method: FormatChar(char value)
Section titled “Method: FormatChar(char value)”Original lines: 501-508
Declaration hash: sha256:777f80c12242c736c693ddde5eb2cc0c3948d098191c7113c751a62d5d60c721
public static string FormatChar(char value);Method: TryParseChar(string payload, out char value, out string error)
Section titled “Method: TryParseChar(string payload, out char value, out string error)”Original lines: 511-533
Declaration hash: sha256:54e7a1a6e7c65095f333b92869e35ec146df9db59eee1e9faef525d881e262cb
public static bool TryParseChar(string payload, out char value, out string error);Method: FormatBool(bool value)
Section titled “Method: FormatBool(bool value)”Original lines: 536-539
Declaration hash: sha256:cf366b04ba6cc8a67b4347b491e0d385991164b08c1644e392ef27baba65ea5a
public static string FormatBool(bool value);Method: FormatSignedInteger(long value)
Section titled “Method: FormatSignedInteger(long value)”Original lines: 542-545
Declaration hash: sha256:56cb1a50555c739dabf9d7d48250dc31585d5de2ef229c0e7f1bda589db241eb
public static string FormatSignedInteger(long value);Method: FormatUnsignedInteger(ulong value)
Section titled “Method: FormatUnsignedInteger(ulong value)”Original lines: 548-551
Declaration hash: sha256:76aa131b80c618fdf674867928c0be9d06ff0aacaf22a431cabf54534c84878b
public static string FormatUnsignedInteger(ulong value);Method: FormatFloat(float value)
Section titled “Method: FormatFloat(float value)”Original lines: 554-559
Declaration hash: sha256:99a9106938ceb89f1d5bfa86c43f831fe4697929d1b7fa639217c07ebda6eb3f
public static string FormatFloat(float value);Method: FormatDouble(double value)
Section titled “Method: FormatDouble(double value)”Original lines: 562-567
Declaration hash: sha256:639010b78f22adabea9674c310f0a89ab73e6e166d15b617810d0324c6a5f044
public static string FormatDouble(double value);Method: FormatAssetReference(string guid, string assetName)
Section titled “Method: FormatAssetReference(string guid, string assetName)”Original lines: 570-574
Declaration hash: sha256:ef9aa019b1faf197fc96eaa9086c1237e344b80b6b5faee3f1bf13d71f1b7a8f
public static string FormatAssetReference(string guid, string assetName);Method: TryParseAssetReference(string payload, out string guid, out string assetName, out string error)
Section titled “Method: TryParseAssetReference(string payload, out string guid, out string assetName, out string error)”Original lines: 580-612
Declaration hash: sha256:4ddbe57b17e175ab12492954bdddc991a1dd01d6a3ab403385811a565b3e6c17
public static bool TryParseAssetReference(string payload, out string guid, out string assetName, out string error);Method: FormatFieldBlock(IReadOnlyList<KeyValuePair<string, string>> fields)
Section titled “Method: FormatFieldBlock(IReadOnlyList<KeyValuePair<string, string>> fields)”Original lines: 615-634
Declaration hash: sha256:444bc8d716e62177fe31deab286c24d899e394e65d360e6d4d1fc094b45b21e3
public static string FormatFieldBlock(IReadOnlyList<KeyValuePair<string, string>> fields);Method: TryParseFieldBlock(string payload, out IReadOnlyList<KeyValuePair<string, string>> fields, out string error)
Section titled “Method: TryParseFieldBlock(string payload, out IReadOnlyList<KeyValuePair<string, string>> fields, out string error)”Original lines: 637-673
Declaration hash: sha256:3285942d076e535c62194fac7a74877f226d712f8d4e99b652f87bc19ad058b0
public static bool TryParseFieldBlock(string payload, out IReadOnlyList<KeyValuePair<string, string>> fields, out string error);Method: FormatInlineSequence(IReadOnlyList<string> items)
Section titled “Method: FormatInlineSequence(IReadOnlyList<string> items)”Original lines: 676-694
Declaration hash: sha256:c0c6b769d848ded50ac3b37965658c317e0b95c3ead68af009a785b241a54d74
public static string FormatInlineSequence(IReadOnlyList<string> items);Method: TryParseInlineSequence(string payload, out IReadOnlyList<string> items, out string error)
Section titled “Method: TryParseInlineSequence(string payload, out IReadOnlyList<string> items, out string error)”Original lines: 697-722
Declaration hash: sha256:6ef0440fe356786640a4a5dd7e80944ad3a92ddc6785a1dd469eddf4c9cb4a46
public static bool TryParseInlineSequence(string payload, out IReadOnlyList<string> items, out string error);Method: SplitTopLevel(string payload, char separator)
Section titled “Method: SplitTopLevel(string payload, char separator)”Original lines: 728-771
Declaration hash: sha256:00cf50067a2c108ca2432ac1eeab78f8b545524c5327f87010c79142ce7617ea
public static IReadOnlyList<string> SplitTopLevel(string payload, char separator);Method: IndexOfTopLevel(string payload, char separator)
Section titled “Method: IndexOfTopLevel(string payload, char separator)”Original lines: 774-813
Declaration hash: sha256:e5648883ff45f211eb74d04b4eb88235abaf2dd9338ce2b8caa34bf947465d21
public static int IndexOfTopLevel(string payload, char separator);