Difference between revisions of "API SplitStationID"

From Vendetta Lua
Jump to: navigation, search
(split)
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
=== SplitStationID ===
 
=== SplitStationID ===
 
'''Definition:'''
 
'''Definition:'''
SplitStationID(int stationid) -> int systemidl sectorhv
+
SplitStationID(int stationid) -> int sectorid stationidx
 
<br>
 
<br>
 
'''Description:'''<br>
 
'''Description:'''<br>
split up a stationid into systemid -1 and sector in system. this may be totally wrong
+
split up a stationid into sectorid and station index
 
<br>
 
<br>
 
'''Arguments:'''<br>
 
'''Arguments:'''<br>
Line 10: Line 10:
 
<br>
 
<br>
 
'''Returns:'''<br>
 
'''Returns:'''<br>
''systemidl'' systemid - 1<br>
+
''sectorid'' sector in system<br>
''secttorhv'' sector in system
+
''stationidx'' station index within sector<br>
 
<br>
 
<br>

Latest revision as of 14:18, 31 March 2010

SplitStationID

Definition: SplitStationID(int stationid) -> int sectorid stationidx
Description:
split up a stationid into sectorid and station index
Arguments:
stationid a stationid
Returns:
sectorid sector in system
stationidx station index within sector