Difference between revisions of "API SplitStationID"

From Vendetta Lua
Jump to: navigation, search
(split)
 
(SplitStationID)
Line 1: Line 1:
 
=== SplitStationID ===
 
=== SplitStationID ===
 
'''Definition:'''
 
'''Definition:'''
SplitStationID(int stationid) -> int systemidl sectorhv
+
SplitStationID(int stationid) -> int sectorhv-1 systemid
 
<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 sector_id-1 inside the system systemid. (this ''was'' totally wrong)
 
<br>
 
<br>
 
'''Arguments:'''<br>
 
'''Arguments:'''<br>

Revision as of 14:45, 25 October 2009

SplitStationID

Definition: SplitStationID(int stationid) -> int sectorhv-1 systemid
Description:
split up a stationid into sector_id-1 inside the system systemid. (this was totally wrong)
Arguments:
stationid a stationid
Returns:
systemidl systemid - 1
secttorhv sector in system