mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
# Conflicts: # Content.Shared/Preferences/Loadouts/Effects/GroupLoadoutEffect.cs # Content.Shared/Preferences/Loadouts/Effects/JobRequirementLoadoutEffect.cs # Content.Shared/Preferences/Loadouts/Effects/LoadoutEffect.cs # Content.Shared/Preferences/Loadouts/Effects/PointsCostLoadoutEffect.cs # Content.Shared/Preferences/Loadouts/Effects/SpeciesLoadoutEffect.cs # Resources/Prototypes/GameRules/events.yml # Resources/Textures/Objects/Devices/nuke.rsi/meta.json
22 lines
661 B
C#
22 lines
661 B
C#
using System.Diagnostics.CodeAnalysis;
|
|
using Robust.Shared.Player;
|
|
using Robust.Shared.Utility;
|
|
|
|
namespace Content.Shared.Preferences.Loadouts.Effects;
|
|
|
|
[ImplicitDataDefinitionForInheritors]
|
|
public abstract partial class LoadoutEffect
|
|
{
|
|
/// <summary>
|
|
/// Tries to validate the effect.
|
|
/// </summary>
|
|
public abstract bool Validate(
|
|
HumanoidCharacterProfile profile,
|
|
RoleLoadout loadout,
|
|
LoadoutPrototype proto, // Corvax-Sponsors
|
|
ICommonSession? session,
|
|
IDependencyCollection collection,
|
|
[NotNullWhen(false)] out FormattedMessage? reason);
|
|
|
|
public virtual void Apply(RoleLoadout loadout) {}
|
|
}
|