#region AddRemoveActions
public EntityUid? AddAction(EntityUid performer,
- string? actionPrototypeId,
+ [ForbidLiteral] string? actionPrototypeId,
EntityUid container = default,
ActionsComponent? component = null)
{
/// <param name="container">The entity that contains/enables this action (e.g., flashlight).</param>
public bool AddAction(EntityUid performer,
[NotNullWhen(true)] ref EntityUid? actionId,
- string? actionPrototypeId,
+ [ForbidLiteral] string? actionPrototypeId,
EntityUid container = default,
ActionsComponent? component = null)
{
public bool AddAction(EntityUid performer,
[NotNullWhen(true)] ref EntityUid? actionId,
[NotNullWhen(true)] out ActionComponent? action,
- string? actionPrototypeId,
+ [ForbidLiteral] string? actionPrototypeId,
EntityUid container = default,
ActionsComponent? component = null)
{