Files

22 lines
848 B
C#
Raw Permalink Normal View History

2024-01-17 10:25:01 +03:00
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server._White.Other.CustomFluffSystems.Pets;
[RegisterComponent]
2024-01-17 10:25:01 +03:00
public sealed partial class PetSummonComponent : Component
{
2024-01-17 10:25:01 +03:00
[DataField("petSummonAction", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
public string PetSummonAction = "PetSummonAction";
2024-01-17 10:25:01 +03:00
[DataField("petGhostSummonAction", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
public string PetGhostSummonAction = "PetGhostSummonAction";
[DataField("petSummonActionEntity")] public EntityUid? PetSummonActionEntity;
[DataField("petGhostSummonActionEntity")] public EntityUid? PetGhostSummonActionEntity;
public int UsesLeft = 10;
public EntityUid? SummonedEntity;
}