Table of Contents

Class ObjectAssemblyResource

Namespace
KSP.OAB
Assembly
Assembly-CSharp.dll
public class ObjectAssemblyResource : IObjectAssemblyResource
Inheritance
ObjectAssemblyResource
Implements
Inherited Members
Extension Methods

Constructors

ObjectAssemblyResource(string, float, float, float)

public ObjectAssemblyResource(string name, float count, float capacity, float individualMass = 1)

Parameters

name string
count float
capacity float
individualMass float

Properties

Capacity

public float Capacity { get; }

Property Value

float

Count

public float Count { get; }

Property Value

float

IndividualMass

public float IndividualMass { get; }

Property Value

float

Name

public string Name { get; }

Property Value

string

TotalMass

public float TotalMass { get; }

Property Value

float

Type

public ResourceType Type { get; }

Property Value

ResourceType