Class GDFile
- Namespace
- Cobilas.GodotEngine.Utility
- Assembly
- com.cobilas.godot.utility.dll
public class GDFile : GDFileBase, IDisposable
- Inheritance
-
GDFile
- Implements
- Inherited Members
Properties
Attribute
public override GDFileAttributes Attribute { get; protected set; }
Property Value
Name
public override string Name { get; }
Property Value
NameWithoutExtension
public override string NameWithoutExtension { get; }
Property Value
Parent
public override GDFileBase Parent { get; protected set; }
Property Value
Path
public override string Path { get; protected set; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public override void Dispose()
Dispose(bool)
protected virtual void Dispose(bool disposing)
Parameters
disposing
bool
~GDFile()
protected ~GDFile()
Load()
public Resource Load()
Returns
- Resource
Load<T>()
public T Load<T>() where T : class
Returns
- T
Type Parameters
T
Read()
public string Read()
Returns
Write(byte[]?)
public void Write(byte[]? buffer)
Parameters
buffer
byte[]