mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-02 10:07:15 +02:00
13 lines
298 B
C#
13 lines
298 B
C#
using System;
|
|
|
|
namespace Robust.Shared.Serialization.Manager.Definition;
|
|
|
|
public static class DataDefinitionUtility
|
|
{
|
|
public static string AutoGenerateTag(string name)
|
|
{
|
|
var span = name.AsSpan();
|
|
return $"{char.ToLowerInvariant(span[0])}{span.Slice(1).ToString()}";
|
|
}
|
|
}
|