Restructure solution
This commit is contained in:
24
Core/Scripting/ResourceFile.cs
Normal file
24
Core/Scripting/ResourceFile.cs
Normal file
@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
namespace RageCoop.Core.Scripting
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class ResourceFile
|
||||
{
|
||||
/// <summary>
|
||||
/// Full name with relative path of this file
|
||||
/// </summary>
|
||||
public string Name { get; internal set; }
|
||||
/// <summary>
|
||||
/// Whether this is a directory
|
||||
/// </summary>
|
||||
public bool IsDirectory { get; internal set; }
|
||||
/// <summary>
|
||||
/// Get a stream that can be used to read file content.
|
||||
/// </summary>
|
||||
public Func<Stream> GetStream { get; internal set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user