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 (ResourceType to Int32)
Converts a type object into a resource ID.
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
int
(
ResourceType
obj
)
Request Example
View Source
Parameters
obj
Type:
KSPDev.GUIUtils.TypeFormatters
ResourceType
The object type to convert.
Return Value
Type:
Int32
A string type value.
See Also
Reference
ResourceType Class
Overload
KSPDev.GUIUtils.TypeFormatters Namespace
Send comments on this topic to
igor.zavoychinskiy@gmail.com