mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Mark component name as obsolete (#2791)
This commit is contained in:
@@ -18,6 +18,7 @@ namespace Robust.Shared.GameObjects
|
||||
{
|
||||
/// <inheritdoc />
|
||||
[ViewVariables(VVAccess.ReadOnly)]
|
||||
[Obsolete("Resolve IComponentFactory and call GetComponentName instead")]
|
||||
public virtual string Name => IoCManager.Resolve<IComponentFactory>().GetComponentName(GetType());
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in New Issue
Block a user