예제 #1
0
 /// <summary>
 /// Represents a single skin.
 /// </summary>
 /// <param name="id">The skin id.</param>
 /// <param name="name">The name of the skin.</param>
 /// <param name="type">The skin type.</param>
 /// <param name="flags">Additional skin flags.</param>
 /// <param name="restrictions">Restrictions that apply to the skin.</param>
 /// <param name="icon">The full icon URL.</param>
 /// <param name="description">Optional skin description.</param>
 /// <param name="details">Additional skin details.</param>
 public Skin(int id, string name, SkinType type, IEnumerable<SkinFlag> flags, IEnumerable<Restriction> restrictions, string icon, string description, SkinDetail details)
 {
     Id = id;
     Name = name;
     Type = type;
     Flags = flags;
     Restrictions = restrictions;
     Icon = icon;
     Description = description;
     Details = details;
 }
예제 #2
0
 /// <summary>
 /// Represents a single skin.
 /// </summary>
 /// <param name="id">The skin id.</param>
 /// <param name="name">The name of the skin.</param>
 /// <param name="type">The skin type.</param>
 /// <param name="flags">Additional skin flags.</param>
 /// <param name="restrictions">Restrictions that apply to the skin.</param>
 /// <param name="icon">The full icon URL.</param>
 /// <param name="description">Optional skin description.</param>
 /// <param name="details">Additional skin details.</param>
 public Skin(int id, string name, SkinType type, IEnumerable <SkinFlag> flags, IEnumerable <Restriction> restrictions, string icon, string description, SkinDetail details)
     : base(icon)
 {
     Id           = id;
     Name         = name;
     Type         = type;
     Flags        = flags;
     Restrictions = restrictions;
     Icon         = icon;
     Description  = description;
     Details      = details;
 }