mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-01 09:37:03 +02:00
* Removed the Interfaces folder. * All objects inside the GameObjects subfolders are now in the GameObjects namespace. * Added a Resharper DotSettings file to mark the GameObjects subfolders as not providing namespaces. * Simplified Robust.client.Graphics namespace. * Automated remove redundant using statements.
23 lines
668 B
C#
23 lines
668 B
C#
using Robust.Shared.Reflection;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Robust.Server.Reflection
|
|
{
|
|
/// <summary>
|
|
/// Implementation of <see cref="ReflectionManager"/>
|
|
/// that defines <code>Robust.Server</code> and <code>Robust.Shared</code>
|
|
/// as valid prefixes for <see cref="ReflectionManager.GetType(string)"/>
|
|
/// </summary>
|
|
public sealed class ServerReflectionManager : ReflectionManager
|
|
{
|
|
protected override IEnumerable<string> TypePrefixes => new[]
|
|
{
|
|
"",
|
|
"Robust.Server.",
|
|
"Robust.Shared.",
|
|
"Content.Shared.",
|
|
"Content.Server."
|
|
};
|
|
}
|
|
}
|