Class ObjectAssemblyTool
- Namespace
- KSP.OAB
- Assembly
- Assembly-CSharp.dll
public abstract class ObjectAssemblyTool : IObjectAssemblyTool, IDisposable
- Inheritance
-
ObjectAssemblyTool
- Implements
-
- Derived
-
- Inherited Members
-
- Extension Methods
-
Constructors
public ObjectAssemblyTool(ObjectAssemblyBuilderEvents eventSystemToUse, ObjectAssemblyUIEvents uiEventsToUse)
Parameters
eventSystemToUse ObjectAssemblyBuilderEvents
uiEventsToUse ObjectAssemblyUIEvents
Fields
protected ObjectAssemblyBuilderHUD _OAB_HUD
Field Value
- ObjectAssemblyBuilderHUD
protected ObjectAssemblyBuilderEvents events
Field Value
- ObjectAssemblyBuilderEvents
protected bool initialized
Field Value
- bool
protected OABOutlineType outlineType
Field Value
- OABOutlineType
protected ObjectAssemblyUIEvents uiEvents
Field Value
- ObjectAssemblyUIEvents
Properties
public ObjectAssemblyBuilderHUD OAB_HUD { get; }
Property Value
- ObjectAssemblyBuilderHUD
Methods
protected virtual void AddOutlineToObject(GameObject objectToOutline, int colorIndex = 0, bool filterObjectsByName = true)
Parameters
objectToOutline GameObject
colorIndex int
filterObjectsByName bool
protected virtual void AddOutlinedPartToList(IObjectAssemblyPart part, bool includeChildParts, int outlineType = 1)
Parameters
part IObjectAssemblyPart
includeChildParts bool
outlineType int
public virtual void ClearPartOutlines()
public virtual void Dispose()
public virtual void GamepadRightStickPerformed()
public virtual void Initialize()
public virtual void OnCameraRotate()
public virtual void OnCameraRotateReleased()
public virtual void OnUserCreatedPart(IObjectAssemblyPart part)
Parameters
part IObjectAssemblyPart
public virtual void PrimaryActionClick()
public virtual void PrimaryActionDoubleClick()
public virtual void Reset()
public virtual void SecondaryActionClick()
public virtual void SecondaryActionUp()
public virtual void SectiondaryActionDown()
public virtual void SetOutlineType(OABOutlineType type)
Parameters
type OABOutlineType
public virtual void SetOutlinedPart(IObjectAssemblyPart part, bool includeChildren)
Parameters
part IObjectAssemblyPart
includeChildren bool
public virtual void SetupCursorForTool()
public virtual void Terminate()
public virtual void TertiaryActionClick()
public virtual void TertiaryActionDown()
public virtual void TertiaryActionUp()