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
Gondwana.Assets.AssetLocation Class Referencesealed

A physical endpoint for reference transformation, without opening files or archives. Definition member identities remain in the existing format-specific source models. More...

Public Member Functions

 AssetLocation (AssetTypes assetType, string path, string? assetEntryName=null)
 Creates a physical endpoint; relative and drive-relative paths are rejected.
override string ToString ()
 Formats the typed physical location for diagnostics.

Properties

AssetTypes AssetType [get]
 Gets the resource or definition type, including for loose files.
string Path [get]
 Gets the absolute loose file path or containing GAF path.
string? AssetEntryName [get]
 Gets the typed GAF entry name, or null for a loose file.

Detailed Description

A physical endpoint for reference transformation, without opening files or archives. Definition member identities remain in the existing format-specific source models.

Definition at line 7 of file AssetLocation.cs.

Constructor & Destructor Documentation

◆ AssetLocation()

Gondwana.Assets.AssetLocation.AssetLocation ( AssetTypes assetType,
string path,
string? assetEntryName = null )

Creates a physical endpoint; relative and drive-relative paths are rejected.

Parameters
assetTypeThe resource or native definition type.
pathAn absolute loose file or archive path.
assetEntryNameThe GAF entry name, or null for a loose file.

Definition at line 22 of file AssetLocation.cs.

Member Function Documentation

◆ ToString()

override string Gondwana.Assets.AssetLocation.ToString ( )

Formats the typed physical location for diagnostics.

Returns
The path and optional entry name.

Property Documentation

◆ AssetEntryName

string? Gondwana.Assets.AssetLocation.AssetEntryName
get

Gets the typed GAF entry name, or null for a loose file.

Definition at line 16 of file AssetLocation.cs.

◆ AssetType

AssetTypes Gondwana.Assets.AssetLocation.AssetType
get

Gets the resource or definition type, including for loose files.

Definition at line 10 of file AssetLocation.cs.

◆ Path

string Gondwana.Assets.AssetLocation.Path
get

Gets the absolute loose file path or containing GAF path.

Definition at line 13 of file AssetLocation.cs.