Files
ss14-wl/Content.Shared/Preferences/ICharacterProfile.cs
Arthur Asimov d00640ec58 Fix upstream
2024-04-17 12:49:15 +03:00

27 lines
881 B
C#

using Content.Shared.Humanoid;
using Robust.Shared.Configuration;
using Robust.Shared.Player;
using Robust.Shared.Prototypes;
namespace Content.Shared.Preferences
{
public interface ICharacterProfile
{
string Name { get; }
ICharacterAppearance CharacterAppearance { get; }
bool MemberwiseEquals(ICharacterProfile other);
/// <summary>
/// Makes this profile valid so there's no bad data like negative ages.
/// </summary>
void EnsureValid(ICommonSession session, IDependencyCollection collection, string[] sponsorPrototypes);
/// <summary>
/// Gets a copy of this profile that has <see cref="EnsureValid"/> applied, i.e. no invalid data.
/// </summary>
ICharacterProfile Validated(ICommonSession session, IDependencyCollection collection, string[] sponsorPrototypes);
}
}