Class GDFileBase
- Namespace
- Cobilas.GodotEngine.Utility
- Assembly
- com.cobilas.godot.utility.dll
This is a base class for other classes that represent files or directory files.
public abstract class GDFileBase : IDisposable
- Inheritance
-
GDFileBase
- Implements
- Derived
- Inherited Members
Properties
Attribute
The type of the item.
public abstract GDFileAttributes Attribute { get; protected set; }
Property Value
- GDFileAttributes
Returns the type of attribute the item has.
Null
: Indicates that the item is a representation of a null file.File
: Indicates that the item is a representation of a file.Directory
: Indicates that the item is a representation of a directory file.
Name
Item name.
public abstract string Name { get; }
Property Value
- string
Returns the name of the item.
NameWithoutExtension
The name of the item without extension.
public abstract string NameWithoutExtension { get; }
Property Value
- string
Returns the item name without its extension.
Null
A null item.
public static GDFileBase Null { get; }
Property Value
- GDFileBase
Returns a representation of a null item.
Parent
The item's parent GDFileBase.
public abstract GDFileBase Parent { get; protected set; }
Property Value
- GDFileBase
Returns the parent GDFileBase that the item is affiliated with.
Path
The path of the item.
public abstract string Path { get; protected set; }
Property Value
- string
Returns the full or relative path of the item.
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public abstract void Dispose()