2024-01-28 18:37:24 +07:00
|
|
|
|
using Content.Shared._White.Supermatter.Components;
|
2024-01-22 18:32:33 +07:00
|
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
|
2024-01-28 18:37:24 +07:00
|
|
|
|
namespace Content.Shared._White.Supermatter.Systems;
|
2024-01-22 18:32:33 +07:00
|
|
|
|
|
|
|
|
|
|
public abstract class SharedSupermatterSystem : EntitySystem
|
|
|
|
|
|
{
|
|
|
|
|
|
public override void Initialize()
|
|
|
|
|
|
{
|
|
|
|
|
|
base.Initialize();
|
|
|
|
|
|
SubscribeLocalEvent<SupermatterComponent, ComponentStartup>(OnSupermatterStartup);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public enum SuperMatterSound : sbyte
|
|
|
|
|
|
{
|
|
|
|
|
|
Aggressive = 0,
|
|
|
|
|
|
Delam = 1
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public enum DelamType : sbyte
|
|
|
|
|
|
{
|
|
|
|
|
|
Explosion = 0,
|
|
|
|
|
|
Singulo = 1,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void OnSupermatterStartup(EntityUid uid, SupermatterComponent comp, ComponentStartup args)
|
|
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// A state wrapper used to sync the supermatter between the server and client.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
|
protected sealed class SupermatterComponentState : ComponentState
|
|
|
|
|
|
{
|
|
|
|
|
|
public SupermatterComponentState(SupermatterComponent supermatter)
|
|
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|