Class OABSessionInformation
- Namespace
- KSP.OAB
- Assembly
- Assembly-CSharp.dll
public class OABSessionInformation
- Inheritance
-
OABSessionInformation
- Inherited Members
-
- Extension Methods
-
Constructors
public OABSessionInformation(ObjectAssemblyBuilder builder, ObjectAssemblyBehaviorValues behaviorValues, EngineeringReportFlawListSetup flawListSetup)
Parameters
builder ObjectAssemblyBuilder
behaviorValues ObjectAssemblyBehaviorValues
flawListSetup EngineeringReportFlawListSetup
Fields
public Property<string> CurrentWorkspaceDescription
Field Value
- Property<string>
public Property<string> CurrentWorkspaceDisplayName
Field Value
- Property<string>
public Property<string> CurrentWorkspaceLocalizationNameKey
Field Value
- Property<string>
public Property<string> CurrentWorkspaceVehicleDisplayName
Field Value
- Property<string>
public string PartToLookFor
Field Value
- string
Properties
public OABVariant ActiveVariant { get; }
Property Value
- OABVariant
public List<IObjectAssemblyAvailablePart> AllKnownParts { get; set; }
Property Value
- List<IObjectAssemblyAvailablePart>
public List<IObjectAssemblyAvailablePart> AvailableParts { get; set; }
Property Value
- List<IObjectAssemblyAvailablePart>
public ObjectAssemblyBehaviorValues BehavioralValues { get; }
Property Value
- ObjectAssemblyBehaviorValues
CelestialBodyDependencyName
public string CelestialBodyDependencyName { get; }
Property Value
- string
public OABConstructionType ConstructionType { get; }
Property Value
- OABConstructionType
public List<string> CriticalConcernLocTerms { get; }
Property Value
- List<string>
public ObjectAssemblyBuilder CurrentBuilder { get; }
Property Value
- ObjectAssemblyBuilder
public PartCategories CurrentCategory { get; set; }
Property Value
- PartCategories
CurrentHistoryIndexOffset
public int CurrentHistoryIndexOffset { get; }
Property Value
- int
CurrentHistoryState
public IReadOnlyCollection<OABHistoricalSnapshot> CurrentHistoryState { get; }
Property Value
- IReadOnlyCollection<OABHistoricalSnapshot>
public EngineeringReportStats CurrentStats { get; }
Property Value
- EngineeringReportStats
public OABEnvironmentType EnvironmentType { get; }
Property Value
- OABEnvironmentType
public GameInstance Game { get; }
Property Value
- GameInstance
public string GetCurrentWorkspaceDescription { get; }
Property Value
- string
public string GetCurrentWorkspaceName { get; }
Property Value
- string
public string GetCurrentWorkspaceVehicleDisplayName { get; }
Property Value
- string
public IObjectAssembly GrabbedAssembly { get; set; }
Property Value
- IObjectAssembly
HasMainAssembly
public bool HasMainAssembly { get; }
Property Value
- bool
public bool IsInBlueprintMode { get; }
Property Value
- bool
public bool IsLocalFrame { get; set; }
Property Value
- bool
public bool IsSnapEnabled { get; }
Property Value
- bool
public IObjectAssemblyPart LastPartDeleted { get; set; }
Property Value
- IObjectAssemblyPart
public IObjectAssemblyPart LastPartGrabbed { get; set; }
Property Value
- IObjectAssemblyPart
public IObjectAssemblyPart LastPartPlaced { get; set; }
Property Value
- IObjectAssemblyPart
public List<IObjectAssemblyPart> LastPartsPlaced { get; set; }
Property Value
- List<IObjectAssemblyPart>
MainAssembly
public IObjectAssembly MainAssembly { get; set; }
Property Value
- IObjectAssembly
public Property<ManipulationMode> ManipulationMode { get; }
Property Value
- Property<ManipulationMode>
public IObjectAssemblyHUD OABActiveHUD { get; set; }
Property Value
- IObjectAssemblyHUD
public OABOrientation OABOrientation { get; set; }
Property Value
- OABOrientation
public GameObject OABRoot { get; set; }
Property Value
- GameObject
public List<string> PartsRequiringHeatShieldCheck { get; }
Property Value
- List<string>
public ShipInformation ShipInformation { get; set; }
Property Value
- ShipInformation
public IObjectAssemblyBuilderSizeLimits SizeLimits { get; }
Property Value
- IObjectAssemblyBuilderSizeLimits
public List<IObjectAssemblyPartStageInfo> StageInfo { get; }
Property Value
- List<IObjectAssemblyPartStageInfo>
public Property<BuilderSymmetryMode> SymmetryMode { get; }
Property Value
- Property<BuilderSymmetryMode>
public List<EngineeringReportFlawItem> UnaddressedConcerns { get; }
Property Value
- List<EngineeringReportFlawItem>
public Transform highlightAttachPoint { get; set; }
Property Value
- Transform
Methods
public void AddLastPlacedPart(IObjectAssemblyPart part)
Parameters
part IObjectAssemblyPart
public void ApplyBehavioralValues(ObjectAssemblyBehaviorValues newValues)
Parameters
newValues ObjectAssemblyBehaviorValues
public int GetPartStageActivation()
Returns
- int
public virtual void Initialize()
public void OnPartStageChangedMessage(MessageCenterMessage msg)
Parameters
msg MessageCenterMessage
public void RemoveLastPlacedPart(IObjectAssemblyPart part)
Parameters
part IObjectAssemblyPart
public void UpdateEngineersReport()
Events
public event Action OnEngineersReportUpdateNeeded
Event Type
- Action