Table of Contents

Interface IInputLockManager

Namespace
KSP
Assembly
Assembly-CSharp.dll
public interface IInputLockManager
Extension Methods

Properties

LockMask

ulong LockMask { get; }

Property Value

ulong

Methods

ClearControlLocks()

void ClearControlLocks()

ControlLocks(int, int)

ulong ControlLocks(int lower, int upper)

Parameters

lower int
upper int

Returns

ulong

GetControlLock(string)

ControlTypes GetControlLock(string lockID)

Parameters

lockID string

Returns

ControlTypes

IsAllLocked(ControlTypes)

bool IsAllLocked(ControlTypes mask)

Parameters

mask ControlTypes

Returns

bool

IsAnyUnlocked(ControlTypes)

bool IsAnyUnlocked(ControlTypes mask)

Parameters

mask ControlTypes

Returns

bool

IsLocked(ControlTypes)

bool IsLocked(ControlTypes controlType)

Parameters

controlType ControlTypes

Returns

bool

IsLocked(ControlTypes, ControlTypes)

bool IsLocked(ControlTypes controlType, ControlTypes refMask)

Parameters

controlType ControlTypes
refMask ControlTypes

Returns

bool

IsLocking(ControlTypes, FromToAction<ControlTypes, ControlTypes>)

[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

IsUnlocked(ControlTypes)

bool IsUnlocked(ControlTypes controlType)

Parameters

controlType ControlTypes

Returns

bool

IsUnlocked(ControlTypes, ControlTypes)

bool IsUnlocked(ControlTypes controlType, ControlTypes refMask)

Parameters

controlType ControlTypes
refMask ControlTypes

Returns

bool

IsUnlocking(ControlTypes, FromToAction<ControlTypes, ControlTypes>)

[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

RemoveControlLock(string)

void RemoveControlLock(string lockID)

Parameters

lockID string

SetControlLock(ControlTypes, string)

ControlTypes SetControlLock(ControlTypes locks, string lockID)

Parameters

locks ControlTypes
lockID string

Returns

ControlTypes

SetControlLock(string)

ControlTypes SetControlLock(string lockID)

Parameters

lockID string

Returns

ControlTypes