예제 #1
0
 public ValueState ReleaseComponent(ComponentID component) => RustLogic.ReleaseComponent(data, (int)component);
예제 #2
0
 public ValueState PortState(ComponentID component, int port) => RustLogic.PortState(data, (int)component, port);
예제 #3
0
 public ValueState PressComponent(ComponentID component) => RustLogic.PressComponent(data, (int)component);
예제 #4
0
 public void Tick() => RustLogic.Tick(data);
예제 #5
0
 public ValueState SubnetState(SubnetID subnet) => RustLogic.SubnetState(data, (int)subnet);
예제 #6
0
 public bool RemoveComponent(ComponentID component) => RustLogic.RemoveComponent(data, (int)component);
예제 #7
0
 public bool Unlink(ComponentID component, int port, SubnetID subnet) => RustLogic.Unlink(data, (int)component, port, (int)subnet);
예제 #8
0
 public ComponentID AddComponent(ComponentType componentType) => (ComponentID)RustLogic.AddComponent(data, componentType);
예제 #9
0
 public bool RemoveSubnet(SubnetID subnet) => RustLogic.RemoveSubnet(data, (int)subnet);
예제 #10
0
 public bool AddSubnet(SubnetID subnet) => RustLogic.AddSubnet(data, (int)subnet);
예제 #11
0
 public void Exit() => RustLogic.Exit(data);
예제 #12
0
 public void Init() => data = RustLogic.Init();