* Engine namespace changes.
* Automated remove redundant using statements.
* Simplified Graphics namespace.
* Apparently the container system stores full type names in the map file.😞 This updates those names.
* API Changes to LocalizationManager.LoadCulture.
* Update submodule to v0.3.2
24 lines
1.0 KiB
C#
24 lines
1.0 KiB
C#
using Content.Shared.Chemistry;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Interfaces.Chemistry
|
|
{
|
|
/// <summary>
|
|
/// Metabolism behavior for a reagent.
|
|
/// </summary>
|
|
public interface IMetabolizable : IExposeData
|
|
{
|
|
/// <summary>
|
|
/// Metabolize the attached reagent. Return the amount of reagent to be removed from the solution.
|
|
/// You shouldn't remove the reagent yourself to avoid invalidating the iterator of the metabolism
|
|
/// organ that is processing it's reagents.
|
|
/// </summary>
|
|
/// <param name="solutionEntity">The entity containing the solution.</param>
|
|
/// <param name="reagentId">The reagent id</param>
|
|
/// <param name="tickTime">The time since the last metabolism tick in seconds.</param>
|
|
/// <returns>The amount of reagent to be removed. The metabolizing organ should handle removing the reagent.</returns>
|
|
ReagentUnit Metabolize(IEntity solutionEntity, string reagentId, float tickTime);
|
|
}
|
|
}
|