/// <summary> /// Activate the docking point (i.e. close the door) /// </summary> public void Deactivate(DPGameRunner runner) { runner.SendActivateObject(this, false, Type == DockingPoint.DockingSphere.TRADELANE_RING ? Ship.Objid : Index); Ship = null; }
/// <summary> /// Activate the docking point (i.e. open the door) /// </summary> public void Activate(DPGameRunner runner, Old.Object.Ship.Ship ship) { Ship = ship; runner.SendActivateObject(this, true, Type == DockingPoint.DockingSphere.TRADELANE_RING ? ship.Objid : Index); }