Machine-code cleanup (#28489)

This commit is contained in:
Nemanja
2024-06-05 23:23:23 +03:00
committed by Spatison
parent 6062acacab
commit d94d32c25d
35 changed files with 713 additions and 659 deletions

View File

@@ -71,6 +71,15 @@ namespace Content.Server.Stack
return entity;
}
/// <summary>
/// Spawns a stack of a certain stack type. See <see cref="StackPrototype"/>.
/// </summary>
public EntityUid Spawn(int amount, ProtoId<StackPrototype> id, EntityCoordinates spawnPosition)
{
var proto = _prototypeManager.Index(id);
return Spawn(amount, proto, spawnPosition);
}
/// <summary>
/// Spawns a stack of a certain stack type. See <see cref="StackPrototype"/>.
/// </summary>