Changes

Jump to navigation Jump to search

Documentation/Engine/Units/transmission names

238 bytes removed, 15:53, 30 May 2017
Attributes: Changed arrays to C++ template format as requested
|-
|reverse
|string_arrayarray<string>
|The gear names to be displayed for reverse gears. The array indices correspond to those in the ''ratios_reverse'' attribute of the parent ''accessory_transmission_data'' unit.
|-
|forward
|string_arrayarray<string>
|The gear names to be displayed for reverse gears. The array indices correspond to those in the ''ratios_forward'' attribute of the parent ''accessory_transmission_data'' unit.
|}
</syntaxhighlight>
{{Note|Because the ''transmission_names'' units are nameless, the "gear_names.sui" file can be included in many transmission definitions without fear of namespace collisions because nameless units only exist within the scope of the SiiNunit in which they are declared. However, nameless units ''within'' an SiiNunit '''must''' have unique names within that scope.}}
 
{{UnitDef|def=<nowiki> "transmission_names":{
"superclass":"unit",
"attrs":{
"neutral":{
"type": "string"
},
"reverse":{
"type": "string_array"
},
"forward":{
"type": "string_array"
}
}
},</nowiki>}}
306
edits

Navigation menu