BehaviorSourceLoader.cs declarations
Public API declaration excerpts from Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceLoader.cs.
Source snapshot ad0983d00d77.
On this page
Original file: Packages/io.bitquirky.behavior/Runtime/Authoring/BehaviorSourceLoader.cs
Source file hash: sha256:e1f9497f64e0a83ad8139bf59ac22ca44e384e7c4ea5f3828f628eaa79db4c1f
Only public declaration headers are shown. Implementation bodies, non-public code, and source comments are omitted.
Type: BehaviorSourceCompositionResult
Section titled “Type: BehaviorSourceCompositionResult”Original lines: 44-68
Declaration hash: sha256:8196440e52a40bef7b9c2c608e2b3a2380a424132fdcf2ae0aebc2e0c901e5c0
public sealed class BehaviorSourceCompositionResult{}Property: Ast
Section titled “Property: Ast”Original lines: 47
Declaration hash: sha256:16526409ff20021ba128b3aac798789d025d4f4570b80be58b9a17f11aefdbc1
public BehaviorSourceAst Ast { get; }Property: Diagnostics
Section titled “Property: Diagnostics”Original lines: 49
Declaration hash: sha256:bc70deb366d46e41e6d9e1e0642d43fc2c7401b7471057a2d77f47cee6d7bd9d
public List<BehaviorSourceDiagnostic> Diagnostics { get; }Property: Success
Section titled “Property: Success”Original lines: 51
Declaration hash: sha256:23cbc334df90e059bcdcd492ec433ec80f2702b756cab09d172f4b2f80cf1582
public bool Success { get; }Property: HasErrors
Section titled “Property: HasErrors”Original lines: 54-67
Declaration hash: sha256:73d3d624c2f843cc6204b7101fa3cefd6620a3704d6670ed452b9abd9d413fc9
public bool HasErrors { get; }Type: BehaviorLoadResult
Section titled “Type: BehaviorLoadResult”Original lines: 76-132
Declaration hash: sha256:751b8f2b978f08661b61821e2ddd617e6dbc310f6a95f6ca45b719c718efee08
public sealed class BehaviorLoadResult{}Property: Artifact
Section titled “Property: Artifact”Original lines: 79
Declaration hash: sha256:e88929097683d480ea9caa8ad33033f10d8984791d714465a082d161f85981d4
public BakedBehaviorArtifact Artifact { get; }Property: SubgraphArtifacts
Section titled “Property: SubgraphArtifacts”Original lines: 85
Declaration hash: sha256:72869b16e918657681087907f9c1c8a09b2dd6d76e66e581021a73e78e3f3aeb
public List<BakedBehaviorArtifact> SubgraphArtifacts { get; }Property: Diagnostics
Section titled “Property: Diagnostics”Original lines: 87
Declaration hash: sha256:bc70deb366d46e41e6d9e1e0642d43fc2c7401b7471057a2d77f47cee6d7bd9d
public List<BehaviorSourceDiagnostic> Diagnostics { get; }Property: AddressableKey
Section titled “Property: AddressableKey”Original lines: 93
Declaration hash: sha256:9b7227ef47502f9f9d30fd16a777f5ad5fec2e984576131fd46a19b2a0d9e657
public string AddressableKey { get; }Property: SourceContentHash
Section titled “Property: SourceContentHash”Original lines: 101
Declaration hash: sha256:27839ed70cc19db5400a7040835411ee06e043388beaea293d3d17fccb834b9b
public string SourceContentHash { get; }Property: UsedDefaultBakeOptions
Section titled “Property: UsedDefaultBakeOptions”Original lines: 109
Declaration hash: sha256:77129c9d30370fe3903313f3aaef62ac9a8d9de114d5bd2eb68584628154443d
public bool UsedDefaultBakeOptions { get; }Property: Success
Section titled “Property: Success”Original lines: 112
Declaration hash: sha256:23cbc334df90e059bcdcd492ec433ec80f2702b756cab09d172f4b2f80cf1582
public bool Success { get; }Property: HasErrors
Section titled “Property: HasErrors”Original lines: 118-131
Declaration hash: sha256:73d3d624c2f843cc6204b7101fa3cefd6620a3704d6670ed452b9abd9d413fc9
public bool HasErrors { get; }Type: BehaviorSourceLoader
Section titled “Type: BehaviorSourceLoader”Original lines: 160-1273
Declaration hash: sha256:ce7781a2cfd2adb08ad38ce523adfb70bf3f2250b3cf26885c89e31961e21e7d
public static class BehaviorSourceLoader{}Method: ComposeFromText(string sourceText, string sourceKey, Func<string, string> sourceTextResolver)
Section titled “Method: ComposeFromText(string sourceText, string sourceKey, Func<string, string> sourceTextResolver)”Original lines: 165-177
Declaration hash: sha256:4b5fbfe393c8ceda6a11438b4f21f556ab906b3c2ef9917757bb62a4ffadbf77
public static BehaviorSourceCompositionResult ComposeFromText(string sourceText, string sourceKey, Func<string, string> sourceTextResolver);Method: ComposeFromTextAsync(string sourceText, string sourceKey, Func<string, Task<string>> sourceTextResolver)
Section titled “Method: ComposeFromTextAsync(string sourceText, string sourceKey, Func<string, Task<string>> sourceTextResolver)”Original lines: 180-205
Declaration hash: sha256:c0f69a8538e601d0dc9b16dce81152c5d2863be63343c34a3fe16f1dc492e90a
public static async Task<BehaviorSourceCompositionResult> ComposeFromTextAsync(string sourceText, string sourceKey, Func<string, Task<string>> sourceTextResolver);Method: BakeFromTextWithSubgraphs(string sourceText, string sourceKey, Func<string, string> sourceTextResolver, BehaviorBakeOptions options)
Section titled “Method: BakeFromTextWithSubgraphs(string sourceText, string sourceKey, Func<string, string> sourceTextResolver, BehaviorBakeOptions options)”Original lines: 211-230
Declaration hash: sha256:77d90804bd7c601eee57a6eb7a0e8570b90a5e9f8e5196d217059b8da32066a3
public static BehaviorLoadResult BakeFromTextWithSubgraphs(string sourceText, string sourceKey, Func<string, string> sourceTextResolver, BehaviorBakeOptions options = null);Method: BakeFromTextWithSubgraphsAsync(string sourceText, string addressableKey, Func<string, Task<string>> sourceTextResolver, BehaviorBakeOptions options)
Section titled “Method: BakeFromTextWithSubgraphsAsync(string sourceText, string addressableKey, Func<string, Task<string>> sourceTextResolver, BehaviorBakeOptions options)”Original lines: 237-275
Declaration hash: sha256:3cebada92dae559e10ca7934a8f33af427a9b198dbafcf5a5b3109aa1692a24e
public static async Task<BehaviorLoadResult> BakeFromTextWithSubgraphsAsync(string sourceText, string addressableKey, Func<string, Task<string>> sourceTextResolver, BehaviorBakeOptions options = null);Method: BakeFromText(string sourceText, string addressableKey, BehaviorBakeOptions options)
Section titled “Method: BakeFromText(string sourceText, string addressableKey, BehaviorBakeOptions options)”Original lines: 282-293
Declaration hash: sha256:9dc42462885fac133c3f3064b85723a59764b8ffd1078a753683dd7b7e095de1
public static BehaviorLoadResult BakeFromText(string sourceText, string addressableKey = "", BehaviorBakeOptions options = null);Method: BakeFromTextIfFresh(string sourceText, BehaviorLoadResult cachedResult, string addressableKey, BehaviorBakeOptions options)
Section titled “Method: BakeFromTextIfFresh(string sourceText, BehaviorLoadResult cachedResult, string addressableKey, BehaviorBakeOptions options)”Original lines: 304-330
Declaration hash: sha256:319c6ee0b23339879502723ef18395870808a403f5cb7aaf6a60ceb1ae968e71
public static BehaviorLoadResult BakeFromTextIfFresh(string sourceText, BehaviorLoadResult cachedResult, string addressableKey = "", BehaviorBakeOptions options = null);