Jesus. Tons of fixes, refactors and other things. The powernet's code is still awful though.
25 lines
630 B
C#
25 lines
630 B
C#
using System;
|
|
using SS14.Shared.GameObjects;
|
|
using SS14.Shared.Serialization;
|
|
|
|
namespace Content.Shared.GameObjects.Components.Power
|
|
{
|
|
public class SharedPowerDebugTool : Component
|
|
{
|
|
public override string Name => "PowerDebugTool";
|
|
public override uint? NetID => ContentNetIDs.POWER_DEBUG_TOOL;
|
|
|
|
[Serializable, NetSerializable]
|
|
protected class OpenDataWindowMsg : ComponentMessage
|
|
{
|
|
public string Data { get; }
|
|
|
|
public OpenDataWindowMsg(string data)
|
|
{
|
|
Directed = true;
|
|
Data = data;
|
|
}
|
|
}
|
|
}
|
|
}
|