__init__(self,
ReqI=0,
ReplaySpeed=0.0,
Flags=0,
InGameCam=0,
ViewPLID=0,
NumP=0,
NumConns=0,
NumFinished=0,
RaceInProg=0,
QualMins=0,
RaceLaps=0,
Track='
' ,
Weather=0,
Wind=0)
(Constructor)
| source code
|
Initialise the packet.
- Parameters:
ReqI - ReqI if replying to a request packet
ReplaySpeed - 4-byte float - 1.0 is normal speed
Flags - ISS_ state flags
InGameCam - Which type of camera is selected
ViewPLID - Unique ID of viewed player (0 = none)
NumP - Number of players in race
NumConns - Number of connections including host
NumFinished - Number finished or qualified
RaceInProg - 0 - no race / 1 - race / 2 - qualifying
QualMins - Qualifing minutes
RaceLaps - see "RaceLaps" near the top of this document
Track - short name for track e.g. FE2R
Weather - options from WEA_
Wind - options from WND_
|