示例#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();