API SplitStationID: Difference between revisions

From Vendetta Lua
Jump to navigationJump to search
Yehaq (talk | contribs)
Yehaq (talk | contribs)
Found out what the function does through experimentation.
Line 1: Line 1:
=== SplitStationID ===
=== SplitStationID ===
'''Definition:'''
'''Definition:'''
SplitStationID(int stationid) -> int sectorhv-1 systemid
SplitStationID(int stationid) -> int sectorid systemid
<br>
<br>
'''Description:'''<br>
'''Description:'''<br>
split up a stationid into sector_id-1 inside the system systemid. (this ''was'' totally wrong)
split up a stationid into sectorid inside the system systemid. (this ''was'' totally wrong)
<br>
<br>
'''Arguments:'''<br>
'''Arguments:'''<br>
Line 10: Line 10:
<br>
<br>
'''Returns:'''<br>
'''Returns:'''<br>
''systemidl'' systemid - 1<br>
''secttorid'' sector in system<br>
''secttorhv'' sector in system
''systemid'' system id<br>
<br>
<br>

Revision as of 14:47, 25 October 2009

SplitStationID

Definition: SplitStationID(int stationid) -> int sectorid systemid
Description:
split up a stationid into sectorid inside the system systemid. (this was totally wrong)
Arguments:
stationid a stationid
Returns:
secttorid sector in system
systemid system id