Gondwana Game Engine Development (master) - 2.7.0
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
Loading...
Searching...
No Matches
AudioDefinition.cs
2using Newtonsoft.Json;
3
5
9public sealed class AudioDefinition
10{
12 public string Key { get; set; } = string.Empty;
13
14 [Newtonsoft.Json.JsonIgnore] internal DefinitionLoadStamp? LoadStamp { get; set; }
15
16 private AudioDefinitionSource _source = AudioDefinitionSource.None();
17
19 public List<AudioResourceDefinition> Resources { get; set; } = [];
20
25 [JsonIgnore]
27 {
28 get => _source;
29 set => _source = value ?? throw new ArgumentNullException(nameof(value));
30 }
31}
Captures provenance details for a Gondwana audio (.gsnd) definition.
Root definition for the GSND (Gondwana Sound) file format.
AudioDefinitionSource Source
Gets or sets runtime provenance metadata describing where this definition came from....
string Key
Gets or sets the stable, case-sensitive logical identity within the document.
List< AudioResourceDefinition > Resources
Gets or sets the audio resources declared by this definition.