Difference between revisions of "API AbbrLocationStr"

From Vendetta Lua
Jump to: navigation, search
(New page: === AbbrLocationStr === '''Definition:'''<br> AbbrLocationStr(int sectorid) -> string name <br> '''Description:''' <br> Get abbreviated sector name for sectorid <br> '''Arguments:'''<br> '...)
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=== AbbrLocationStr ===
+
{{Function
'''Definition:'''<br>
+
| name        = AbbrLocationStr
AbbrLocationStr(int sectorid) -> string name
+
| desc        = Get abbreviated sector name for sectorid
<br>
+
| arg1_name    = sectorid
'''Description:''' <br>
+
| arg1_type    = number
Get abbreviated sector name for sectorid
+
| arg1_desc    = [[sectorid]]
<br>
+
| ret1_name    = name
'''Arguments:'''<br>
+
| ret1_type    = string
''sectorid'' [[sectorid]]
+
| ret1_desc    = shortened sector name
<br>
+
| notes        = '''Example:'''<br>
'''Returns:'''<br>
+
''name'' shortened sector name
+
<br>
+
'''Example:'''<br>
+
 
<source lang="lua">AbbrLocationStr(5000) -> "Sed H9"</source><br>
 
<source lang="lua">AbbrLocationStr(5000) -> "Sed H9"</source><br>
<br>
+
}}

Latest revision as of 04:19, 1 April 2011

AbbrLocationStr

Definition

AbbrLocationStr( number  sectorid) ->  string  name
Description

Get abbreviated sector name for sectorid
Arguments

Type Name Description
number sectorid sectorid
Returns

Type Name Description
string name shortened sector name
Notes

Example:

AbbrLocationStr(5000) -> "Sed H9"