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

BehaviorDeclaredValueResolver.cs declarations

Public API declaration excerpts from Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorDeclaredValueResolver.cs.

Source snapshot ad0983d00d77.

On this page

Original file: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorDeclaredValueResolver.cs

Source file hash: sha256:af28fc1bf49db3e45be50d1c7eb6ca8f56eb4647b5887e0f9140b8a0a3f61006

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

Type: BehaviorDeclaredValueResolutionResult

Section titled “Type: BehaviorDeclaredValueResolutionResult”

Original lines: 27-50

Declaration hash: sha256:cdeeaa67cefc8f6852c96e1391d9cc920b8d44c2c85ca32f0c4970f662d63583

C#
public sealed class BehaviorDeclaredValueResolutionResult
{
}

Original lines: 30

Declaration hash: sha256:da3c22cc758628d7e6780e56eceb16056cf2cb7f8a53bffad99f2bad36087ed3

C#
public List<BehaviorDeclaredValueDescriptor> Descriptors { get; }

Original lines: 33

Declaration hash: sha256:bc70deb366d46e41e6d9e1e0642d43fc2c7401b7471057a2d77f47cee6d7bd9d

C#
public List<BehaviorSourceDiagnostic> Diagnostics { get; }

Original lines: 36-49

Declaration hash: sha256:73d3d624c2f843cc6204b7101fa3cefd6620a3704d6670ed452b9abd9d413fc9

C#
public bool HasErrors { get; }

Original lines: 71-2743

Declaration hash: sha256:4250d9228d7f3635f1f4f4e1fca368cb4f923be6c91a5450a0efe2f66244dccf

C#
[Unity.Scripting.LifecycleManagement.NoAutoStaticsCleanup]
public static class BehaviorDeclaredValueResolver
{
}

Original lines: 120-123

Declaration hash: sha256:2ecf24ef6f7da91428577b50b28f069468c785aa28f105baef72d709acf5d1a0

C#
public static BehaviorDeclaredValueResolutionResult Resolve(BehaviorSourceAst ast);

Method: Resolve(BehaviorSourceAst ast, Func<string, Object> assetResolver)

Section titled “Method: Resolve(BehaviorSourceAst ast, Func<string, Object> assetResolver)”

Original lines: 129-144

Declaration hash: sha256:d7a331979a4fe9ca6eb36eb0400b669c4c597eea3d398307821825f75e62b051

C#
public static BehaviorDeclaredValueResolutionResult Resolve(BehaviorSourceAst ast, Func<string, UnityEngine.Object> assetResolver);

Method: ProjectOverride(BehaviorSourceDeclaredValue declaration, string rawValue, int sourceLine, ICollection<BehaviorSourceDiagnostic> diagnostics)

Section titled “Method: ProjectOverride(BehaviorSourceDeclaredValue declaration, string rawValue, int sourceLine, ICollection<BehaviorSourceDiagnostic> diagnostics)”

Original lines: 151-213

Declaration hash: sha256:1b605b15feef1419c8db5e04f370910a3549007344aebc4e7096af8745aa9666

C#
public static BehaviorSourceDeclaredValue ProjectOverride(BehaviorSourceDeclaredValue declaration, string rawValue, int sourceLine, ICollection<BehaviorSourceDiagnostic> diagnostics);

Method: ResolveOverride(BehaviorSourceDeclaredValue declaration, string rawValue, int sourceLine, ICollection<BehaviorSourceDiagnostic> diagnostics, Func<string, Object> assetResolver)

Section titled “Method: ResolveOverride(BehaviorSourceDeclaredValue declaration, string rawValue, int sourceLine, ICollection<BehaviorSourceDiagnostic> diagnostics, Func<string, Object> assetResolver)”

Original lines: 220-235

Declaration hash: sha256:6827b6bcaaf96eaf17c0f97933a7d86ef102dd197c56483f908622dc8f1fd4e4

C#
public static BehaviorDeclaredValueDescriptor ResolveOverride(BehaviorSourceDeclaredValue declaration, string rawValue, int sourceLine, ICollection<BehaviorSourceDiagnostic> diagnostics, Func<string, UnityEngine.Object> assetResolver = null);

Method: ResolveOne(BehaviorSourceDeclaredValue value, ICollection<BehaviorSourceDiagnostic> diagnostics)

Section titled “Method: ResolveOne(BehaviorSourceDeclaredValue value, ICollection<BehaviorSourceDiagnostic> diagnostics)”

Original lines: 241-246

Declaration hash: sha256:15067119a6fc408b759abb5130f11dcfec3182c5b87692853e4e749cd556b85e

C#
public static BehaviorDeclaredValueDescriptor ResolveOne(BehaviorSourceDeclaredValue value, ICollection<BehaviorSourceDiagnostic> diagnostics);

Method: ResolveOne(BehaviorSourceDeclaredValue value, ICollection<BehaviorSourceDiagnostic> diagnostics, Func<string, Object> assetResolver)

Section titled “Method: ResolveOne(BehaviorSourceDeclaredValue value, ICollection<BehaviorSourceDiagnostic> diagnostics, Func<string, Object> assetResolver)”

Original lines: 252-331

Declaration hash: sha256:b33dd43bf4f34524197ead6ba832c72d491a6c4ab9d46db028ab01fb8a9ae050

C#
public static BehaviorDeclaredValueDescriptor ResolveOne(BehaviorSourceDeclaredValue value, ICollection<BehaviorSourceDiagnostic> diagnostics, Func<string, UnityEngine.Object> assetResolver);

Method: ResolveTypeRecord(BehaviorSourceTypeIdentity identity, out Type resolved, out IReadOnlyList<BehaviorSourceTypeIdentity> candidates)

Section titled “Method: ResolveTypeRecord(BehaviorSourceTypeIdentity identity, out Type resolved, out IReadOnlyList<BehaviorSourceTypeIdentity> candidates)”

Original lines: 337-370

Declaration hash: sha256:388c2e5b5774a7e5b6dd1288ac241b669842bb035b07089720a80485be7fd939

C#
public static BehaviorDeclaredTypeResolution ResolveTypeRecord(BehaviorSourceTypeIdentity identity, out Type resolved, out IReadOnlyList<BehaviorSourceTypeIdentity> candidates);

Original lines: 373-412

Declaration hash: sha256:1f447d6c61d896e0c2ae38f6dccb538d48a4220fe451680179231c9ef82ae762

C#
public static BehaviorDeclaredValueKind ClassifyKind(Type type);

Method: ClassifyStorage(BehaviorDeclaredValueKind kind, BehaviorDeclaredValueShape shape, Type resolvedType)

Section titled “Method: ClassifyStorage(BehaviorDeclaredValueKind kind, BehaviorDeclaredValueShape shape, Type resolvedType)”

Original lines: 418-436

Declaration hash: sha256:5d47d95f27f31a6926702ad53000506d8c58ac3622575643e2371cfb6555084a

C#
public static BehaviorDeclaredValueStorageClass ClassifyStorage(BehaviorDeclaredValueKind kind, BehaviorDeclaredValueShape shape, Type resolvedType);

Method: ComparisonSupport(BehaviorDeclaredValueKind kind, BehaviorDeclaredValueShape shape, Type resolvedType)

Section titled “Method: ComparisonSupport(BehaviorDeclaredValueKind kind, BehaviorDeclaredValueShape shape, Type resolvedType)”

Original lines: 445-492

Declaration hash: sha256:5eaf12a91abf6e303d8770832cfad9da22b39a1a97104f2cd9fbb5e966df598a

C#
public static BehaviorDeclaredComparisonSupport ComparisonSupport(BehaviorDeclaredValueKind kind, BehaviorDeclaredValueShape shape, Type resolvedType);

Original lines: 495-500

Declaration hash: sha256:40047427a26a15a96c3e7dc440f71d7283e4a99bb0753c0f8014a63bedaad5ce

C#
public static bool IsFlagsEnum(Type resolvedType);

Method: IsCarriedKind(BehaviorDeclaredValueKind kind, Type resolvedType)

Section titled “Method: IsCarriedKind(BehaviorDeclaredValueKind kind, Type resolvedType)”

Original lines: 503-538

Declaration hash: sha256:c886e8f66684600ec1b1547892face4f34ed73036bf842ecb1070699a6056735

C#
public static bool IsCarriedKind(BehaviorDeclaredValueKind kind, Type resolvedType);

Method: NativeSize(BehaviorDeclaredValueKind kind, Type resolvedType)

Section titled “Method: NativeSize(BehaviorDeclaredValueKind kind, Type resolvedType)”

Original lines: 541-578

Declaration hash: sha256:fcb687255aa25881a9dd16eb40b1ba462999b1961008de239dd6b7aa4e47c2a8

C#
public static int NativeSize(BehaviorDeclaredValueKind kind, Type resolvedType);

Method: ComputeNativeSize(BehaviorDeclaredValueDescriptor descriptor, BehaviorSourceDeclaredValue value)

Section titled “Method: ComputeNativeSize(BehaviorDeclaredValueDescriptor descriptor, BehaviorSourceDeclaredValue value)”

Original lines: 584-598

Declaration hash: sha256:18a4c34663242100ed7b97381930864a94394563f2343d789ff3d94f3a428589

C#
public static int ComputeNativeSize(BehaviorDeclaredValueDescriptor descriptor, BehaviorSourceDeclaredValue value);

Original lines: 601

Declaration hash: sha256:7ee66c877fef02ca6d18b1d406f934804c062c347c82d3e9dd36b2da548f8b25

C#
public static int BufferHeaderSize { get; }

Method: TryEncodeNativeDefault(BehaviorDeclaredValueDescriptor descriptor, byte[] destination, int offset, out string error)

Section titled “Method: TryEncodeNativeDefault(BehaviorDeclaredValueDescriptor descriptor, byte[] destination, int offset, out string error)”

Original lines: 607-654

Declaration hash: sha256:b5f5aa17c223c6684645ce8010a524168230e4f09f1b0ef85f87a11f28b8786b

C#
public static bool TryEncodeNativeDefault(BehaviorDeclaredValueDescriptor descriptor, byte[] destination, int offset, out string error);

Method: TryEncodeElement(BehaviorDeclaredValueKind kind, Type resolvedType, string payload, byte[] destination, int offset, out string error)

Section titled “Method: TryEncodeElement(BehaviorDeclaredValueKind kind, Type resolvedType, string payload, byte[] destination, int offset, out string error)”

Original lines: 660-749

Declaration hash: sha256:74abc52daec300d5f86004a5e47abe68c14d4311411ade1e1e145c003613d202

C#
public static bool TryEncodeElement(BehaviorDeclaredValueKind kind, Type resolvedType, string payload, byte[] destination, int offset, out string error);

Method: TryBuildStructValue(BehaviorDeclaredValueKind kind, Type resolvedType, string payload, out object value, out string error)

Section titled “Method: TryBuildStructValue(BehaviorDeclaredValueKind kind, Type resolvedType, string payload, out object value, out string error)”

Original lines: 755-764

Declaration hash: sha256:28b8e2e322898a73baf7ceca2787f91e8b3a9df44319314c096936d2f7d293b4

C#
public static bool TryBuildStructValue(BehaviorDeclaredValueKind kind, Type resolvedType, string payload, out object value, out string error);

Method: TryMaterializeValue(BehaviorDeclaredValueKind kind, Type resolvedType, string payload, out object value, out string error)

Section titled “Method: TryMaterializeValue(BehaviorDeclaredValueKind kind, Type resolvedType, string payload, out object value, out string error)”

Original lines: 771-779

Declaration hash: sha256:e8e9360696faa8259e51ed353720f496bba8ebb747e212ff856894d0a6474e3c

C#
public static bool TryMaterializeValue(BehaviorDeclaredValueKind kind, Type resolvedType, string payload, out object value, out string error);

Method: TryMaterializeValue(BehaviorDeclaredValueKind kind, Type resolvedType, string payload, Func<string, Object> assetResolver, out object value, out string error)

Section titled “Method: TryMaterializeValue(BehaviorDeclaredValueKind kind, Type resolvedType, string payload, Func<string, Object> assetResolver, out object value, out string error)”

Original lines: 785-795

Declaration hash: sha256:750d5ad7c91d8903ef7759e6397ea6407c3c89b4b9fad59a95bcb8863c4b758c

C#
public static bool TryMaterializeValue(BehaviorDeclaredValueKind kind, Type resolvedType, string payload, Func<string, UnityEngine.Object> assetResolver, out object value, out string error);

Method: TryValidatePayload(BehaviorDeclaredValueKind kind, Type resolvedType, string payload, out string error)

Section titled “Method: TryValidatePayload(BehaviorDeclaredValueKind kind, Type resolvedType, string payload, out string error)”

Original lines: 892-899

Declaration hash: sha256:11166f39ac25d88144f684266c7d0ded9f66ba296a5a8adb95ed797fd5db086a

C#
public static bool TryValidatePayload(BehaviorDeclaredValueKind kind, Type resolvedType, string payload, out string error);

Original lines: 902-931

Declaration hash: sha256:7f8142e63407d775cf5048a6c8c4a0a520197da55bd7902b631bbf83d6c72da5

C#
public static IReadOnlyList<FieldInfo> GetSerializedFields(Type type);
Full-size image