Inheritance diagram for LFSWorldHostsList:
Public Member Functions | |
parse ($rawList, &$outputList) | |
Protected Attributes | |
$m_sURL = 'http://www.lfsworld.net/pubstat/get_stat2.php?action=hosts' | |
$m_aSrcMetaData = array('lifeTime' => 90, 'actualTarpit' => 60) |
Definition at line 21 of file providers/LFSW/hosts.php.
|
Parses the raw data from LFSWorld in to an array. Raw List Format
requires:- optional:- returns: HOST STRUCT:
HOSTNAME char[32] TMLT byte[4] //Type, MajorVersion*10, MinorVersion, TestVersion TCR byte[4] // Track, Config, Reversed MAXRACERS byte[1] CARS ulong (4 bytes) RULES ulong (4 bytes) LAPS byte [1] QUALMINS byte [1] spare byte [1] spare byte [1] NROFRACERS byte[1] RACERNAMES char[24 * NROFRACERS]
TMLT means: Type0 : old S1 / 1 : new S1 / 2 : S2 Mainversion times 10 (e.g. 3 means version 0.3) Letter e.g. 'H' in 0.3H TestId zero : official / non-zero : test patch id (*) TRC is in numbers: 000 = bl1 001 = bl1r 010 = bl2 .. 220 = fe3 221 = fe3r etc.
Reimplemented from LFSWorldDataProvider. Definition at line 78 of file providers/LFSW/hosts.php. |
|
(Array) An array of meta data possibly useful to other parts of a program. (Such as tarpit duration) Reimplemented from LFSWorldDataProvider. Definition at line 33 of file providers/LFSW/hosts.php. |
|
(String) The base url of this data source. Definition at line 27 of file providers/LFSW/hosts.php. |