mirror of
https://github.com/corvax-team/ss14-wl.git
synced 2026-02-15 03:31:38 +01:00
27 lines
881 B
C#
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);
|
|
}
|
|
}
|