Click or drag to resize

IKSPDevJointLockState Interface

A documented version of the KSP IJointLockState interface.

Namespace:  KSPDev.KSPInterfaces
Assembly:  KSPDev_Utils.2.0 (in KSPDev_Utils.2.0.dll) Version: 2.0 for KSP v1.8+
Syntax
C#
public interface IKSPDevJointLockState
Request Example View Source

The IKSPDevJointLockState type exposes the following members.

Methods
  NameDescription
Public methodIsJointUnlocked
Tells if the parts can move relative to each other.
Top
Remarks
Inherit from IJointLockState to let the game know if this part's joint can be unlocked. This interface is a full equivalent of IJointLockState except it's documented. The modules that inherit both interfaces get better code documentation.
Examples
public class MyModule : PartModule, IJointLockState, IKSPDevJointLockState {
  /// <inheritdoc/>
  public override bool IsJointUnlocked() {
    return true;
  }
}
See Also