KSPDev Client utilities
KSPDev Client utilities
KSPDev.GUIUtils.TypeFormatters
ResourceType Class
ResourceType Type Conversions
Implicit Conversion Operators
Implicit Conversion (Int32 to ResourceType)
Implicit Conversion (String to ResourceType)
Implicit Conversion (ResourceType to String)
Implicit Conversion (ResourceType to Int32)
ResourceType
Conversion (Int32 to ResourceType)
Coverts a resource ID value into a type object.
Namespace:
KSPDev.GUIUtils.TypeFormatters
Assembly:
KSPDev_Utils.1.0 (in KSPDev_Utils.1.0.dll) Version: 1.0 for KSP v1.6+
Syntax
C#
Copy
public
static
implicit operator
ResourceType
(
int
value
)
Request Example
View Source
Parameters
value
Type:
System
Int32
The ID to convert.
Return Value
Type:
ResourceType
An object.
See Also
Reference
ResourceType Class
Overload
KSPDev.GUIUtils.TypeFormatters Namespace
KSPDev.ResourceUtils
StockResourceNames
Send comments on this topic to
igor.zavoychinskiy@gmail.com