mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-03 10:37:05 +02:00
RobustToolbox projects should be named Robust.* This PR changes the RobustToolbox projects from SS14.* to Robust.* Updates SS14.* prefixes/namespaces to Robust.* Updates SpaceStation14.sln to RobustToolbox.sln Updates MSBUILD/SS14.* to MSBUILD/Robust.* Updates CSProject and MSBuild references for the above Updates git_helper.py Removes Runserver and Runclient as they are unusable
32 lines
948 B
C#
32 lines
948 B
C#
using System;
|
|
using Robust.Client.Interfaces.ResourceManagement;
|
|
using Robust.Shared.Utility;
|
|
|
|
namespace Robust.Client.ResourceManagement
|
|
{
|
|
/// <summary>
|
|
/// Base resource for the cache.
|
|
/// </summary>
|
|
public abstract class BaseResource : IDisposable
|
|
{
|
|
/// <summary>
|
|
/// Fallback resource path if this one does not exist.
|
|
/// </summary>
|
|
public virtual ResourcePath Fallback => null;
|
|
|
|
/// <summary>
|
|
/// Disposes this resource.
|
|
/// </summary>
|
|
public virtual void Dispose()
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Deserializes the resource from the VFS.
|
|
/// </summary>
|
|
/// <param name="cache">ResourceCache this resource is being loaded into.</param>
|
|
/// <param name="path">Path of the resource requested on the VFS.</param>
|
|
public abstract void Load(IResourceCache cache, ResourcePath path);
|
|
}
|
|
}
|