IResource

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

This page documents the supported public API surface only. Private, internal, benchmark, test, and implementation-detail types are intentionally omitted.

Declaration

1
public interface IResource : IGridPlacementComponent

Summary

Pure C# interface for resources in the grid building system. Resources are data containers that can be loaded and saved. Godot-specific extensions (with Resource integration) are in GridBuilding.Godot.Interfaces.IGodotResource.

Metadata

Namespace: GridPlacement.Core.Interfaces

Source File: cs/Core/Interfaces/IResource.cs

Assembly: GridPlacement.Core

Type: interface

Implements

  • IGridPlacementComponent

Properties

ResourcePath

1
public abstract string ResourcePath { get; }

Resource path for loading/saving


IsDirty

1
public abstract bool IsDirty { get; }

Whether this resource has been modified since last save


Methods

MarkDirty

1
void MarkDirty()

Mark this resource as modified


ClearDirty

1
void ClearDirty()

Clear the dirty flag (after save)