Kerbal Space Program
1.12.4
|
Contains the names and display names for the flag parts. Names are organized by orientation, structural type, and name type. More...
Public Types | |
enum | NameType { NameType.SizeName, NameType.DisplayName } |
The Type of the Name. Whether it's the Size or Display text. More... | |
Public Member Functions | |
List< string > | DisplayNames (FlagOrientation flagOrientation, int structureType) |
Returns the names of the different variants, e.g., small panel, medium panel, large panel Normally assigned to UI_ChooseOption.portraitDisplay (for example) More... | |
FlagNameManager (List< FlagMesh > flagMeshes=null) | |
bool | HasSizeNames (FlagOrientation flagOrientation, int strutureType) |
Indicates if the requested orientation and structure types contain flag size names. More... | |
void | Initialize (List< FlagMesh > flagMeshes) |
Initialize the Flag dictionary from the list of FlagMeshes. More... | |
List< string > | SizeNames (FlagOrientation flagOrientation, int structureType) |
Returns the names of the different flag sizes, e.g., small, medium, large. Normally assigned to UI_ChooseOption.portraitOptions (for example) More... | |
Public Attributes | |
const int | NON_STRUCTURAL_PART = 0 |
Differentiates non structural parts. More... | |
const int | STRUCTURAL_PART = 1000 |
Differentiates structural parts. More... | |
Contains the names and display names for the flag parts. Names are organized by orientation, structural type, and name type.
|
inline |
|
inline |
Returns the names of the different variants, e.g., small panel, medium panel, large panel Normally assigned to UI_ChooseOption.portraitDisplay (for example)
|
inline |
Indicates if the requested orientation and structure types contain flag size names.
|
inline |
Initialize the Flag dictionary from the list of FlagMeshes.
flagMeshes |
|
inline |
Returns the names of the different flag sizes, e.g., small, medium, large. Normally assigned to UI_ChooseOption.portraitOptions (for example)
const int FlagNameManager.NON_STRUCTURAL_PART = 0 |
Differentiates non structural parts.
const int FlagNameManager.STRUCTURAL_PART = 1000 |
Differentiates structural parts.