Interface IInputLockManager
- Namespace
- KSP
- Assembly
- Assembly-CSharp.dll
public interface IInputLockManager
- Extension Methods
-
Properties
Property Value
- ulong
Methods
ulong ControlLocks(int lower, int upper)
Parameters
lower int
upper int
Returns
- ulong
ControlTypes GetControlLock(string lockID)
Parameters
lockID string
Returns
- ControlTypes
bool IsAllLocked(ControlTypes mask)
Parameters
mask ControlTypes
Returns
- bool
bool IsAnyUnlocked(ControlTypes mask)
Parameters
mask ControlTypes
Returns
- bool
bool IsLocked(ControlTypes controlType)
Parameters
controlType ControlTypes
Returns
- bool
bool IsLocked(ControlTypes controlType, ControlTypes refMask)
Parameters
controlType ControlTypes
refMask ControlTypes
Returns
- bool
[Obsolete("deprecated - make an IContext event if needed")]
bool IsLocking(ControlTypes controlType, GameEvents.FromToAction<ControlTypes, ControlTypes> refMasks)
Parameters
controlType ControlTypes
refMasks GameEvents.FromToAction<ControlTypes, ControlTypes>
Returns
- bool
bool IsUnlocked(ControlTypes controlType)
Parameters
controlType ControlTypes
Returns
- bool
bool IsUnlocked(ControlTypes controlType, ControlTypes refMask)
Parameters
controlType ControlTypes
refMask ControlTypes
Returns
- bool
[Obsolete("deprecated - make an IContext event if needed")]
bool IsUnlocking(ControlTypes controlType, GameEvents.FromToAction<ControlTypes, ControlTypes> refMasks)
Parameters
controlType ControlTypes
refMasks GameEvents.FromToAction<ControlTypes, ControlTypes>
Returns
- bool
void RemoveControlLock(string lockID)
Parameters
lockID string
ControlTypes SetControlLock(ControlTypes locks, string lockID)
Parameters
locks ControlTypes
lockID string
Returns
- ControlTypes
ControlTypes SetControlLock(string lockID)
Parameters
lockID string
Returns
- ControlTypes