public static extern ValueState ReleaseComponent(RustData data, int componentId);
public static extern ValueState PortState(RustData data, int component, int port);
public static extern ValueState PressComponent(RustData data, int componentId);
public static extern void Tick(RustData data);
public static extern ValueState SubnetState(RustData data, int subnet);
public static extern bool RemoveComponent(RustData data, int componentId);
public static extern bool Unlink(RustData data, int componentId, int port, int subnetId);
public static extern int AddComponent(RustData data, ComponentType componentType);
public static extern bool RemoveSubnet(RustData data, int subnetId);
public static extern bool AddSubnet(RustData data, int subnetId);
public static extern void Exit(RustData data);
public void Init() => data = RustLogic.Init();