CatStation/Content.Shared/Gatherable/Components/GatheringProjectileComponent.cs
Winkarst-cpu 54986e0347
Prediction + small cleanup: GatherableSystem (#44840)
* Predict

* Reuse pos

* Update Content.Shared/Gatherable/GatherableSystem.cs

Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com>

* Update Content.Shared/Gatherable/GatherableSystem.cs

Co-authored-by: Connor Huffine <chuffine@gmail.com>

* Review

* refactor: GatherableSystem xml-doc

---------

Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com>
Co-authored-by: Connor Huffine <chuffine@gmail.com>
Co-authored-by: Fildrance <fildrance@gmail.com>
2026-07-22 18:27:24 +00:00

17 lines
487 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Gatherable.Components;
/// <summary>
/// Destroys a gatherable entity when colliding with it.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
[Access(typeof(GatherableSystem))]
public sealed partial class GatheringProjectileComponent : Component
{
/// <summary>
/// How many more times we can gather.
/// </summary>
[DataField, AutoNetworkedField]
public int Amount = 1;
}