API SplitStationID: Difference between revisions
From Vendetta Lua
Jump to navigationJump to search
No edit summary |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
=== SplitStationID === | === SplitStationID === | ||
'''Definition:''' | '''Definition:''' | ||
SplitStationID(int stationid) -> int | SplitStationID(int stationid) -> int sectorid stationidx | ||
<br> | <br> | ||
'''Description:'''<br> | '''Description:'''<br> | ||
split up a stationid into | 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> | ||
'' | ''sectorid'' sector in system<br> | ||
'' | ''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