Пример #1
0
 /// <summary>
 /// Gets a unique title for a <see cref="GrhData"/> in the given category.
 /// </summary>
 /// <param name="category">The category.</param>
 /// <param name="title">The string to base the new title off of.</param>
 /// <returns>A unique title for the given <paramref name="category"/>.</returns>
 public static SpriteTitle GetUniqueTitle(SpriteCategory category, SpriteTitle title)
 {
     return(GetUniqueTitle(category, title.ToString()));
 }
Пример #2
0
 public static void Write(this IValueWriter writer, string name, SpriteTitle value)
 {
     writer.Write(name, value.ToString());
 }