Logo
Explore Help
Sign In
juni/crystall-punk-14
1
0
Fork 0
You've already forked crystall-punk-14
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
e4e2f9b464856c5a37f8f66ff6d6b55a0bdcf409
crystall-punk-14/Content.Server/DeviceNetwork/Components/Devices/ApcNetSwitchComponent.cs

15 lines
388 B
C#
Raw Normal View History

Apc device network and apc based light switch (#4908) * Remove WireNet node group from cables Implement extension cable components and system Remove connection over distance logic from ApcPower... components * Add extension cable components to prototypes * Implement ApcNetwork Implement ApcNetSwitch * Fix ignoredComponents.cs * Add friend attribute to new components * Add construction graph for a light switch * Address reviews * Fix broken test * Move ConnectionType enum to DeviceNetworkComponent Change netId data definition to use the ConnectionType enum values Co-authored-by: Julian Giebel <j.giebel@netrocks.info>
2021-10-24 01:23:19 +02:00
using Content.Server.DeviceNetwork.Systems.Devices;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
using Robust.Shared.ViewVariables;
namespace Content.Server.DeviceNetwork.Components.Devices
{
[RegisterComponent]
[Friend(typeof(ApcNetSwitchSystem))]
public class ApcNetSwitchComponent : Component
{
[ViewVariables] public bool State;
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 65ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API