| InSim
    0.6c
    Documentation of Live for Speed InSim Protocol | 
StatePack. More...
#include <ispackets.h>
| Data Fields | |
| byte | Size | 
| 28 | |
| byte | Type | 
| ISP_STA | |
| byte | ReqI | 
| ReqI if replying to a request packet | |
| byte | Zero | 
| float | ReplaySpeed | 
| 4-byte float - 1.0 is normal speed | |
| word | Flags | 
| ISS state flags | |
| byte | InGameCam | 
| Which type of camera is selected. | |
| byte | ViewPLID | 
| Unique ID of viewed player (0 = none) | |
| byte | NumP | 
| Number of players in race. | |
| byte | NumConns | 
| Number of connections including host. | |
| byte | NumFinished | 
| Number finished or qualified. | |
| byte | RaceInProg | 
| 0 - no race / 1 - race / 2 - qualifying | |
| byte | QualMins | 
| byte | RaceLaps | 
| see RaceLaps near the top of this document | |
| byte | Spare2 | 
| byte | Spare3 | 
| char | Track [6] | 
| short name for track e.g. FE2R | |
| byte | Weather | 
| 0,1,2... | |
| byte | Wind | 
| 0=off 1=weak 2=strong | |
StatePack.
InGameCam is the in game selected camera mode (which is still selected even if LFS is actually in SHIFT+U mode). For InGameCam's values, see View identifiers.
Definition at line 988 of file ispackets.h.
| word IS_STA::Flags | 
Definition at line 997 of file ispackets.h.
| byte IS_STA::InGameCam | 
Which type of camera is selected.
Definition at line 998 of file ispackets.h.
| byte IS_STA::NumConns | 
Number of connections including host.
Definition at line 1002 of file ispackets.h.
| byte IS_STA::NumFinished | 
Number finished or qualified.
Definition at line 1003 of file ispackets.h.
| byte IS_STA::NumP | 
Number of players in race.
Definition at line 1001 of file ispackets.h.
| byte IS_STA::QualMins | 
Definition at line 1006 of file ispackets.h.
| byte IS_STA::RaceInProg | 
0 - no race / 1 - race / 2 - qualifying
Definition at line 1004 of file ispackets.h.
| byte IS_STA::RaceLaps | 
see RaceLaps near the top of this document
Definition at line 1007 of file ispackets.h.
| float IS_STA::ReplaySpeed | 
4-byte float - 1.0 is normal speed
Definition at line 995 of file ispackets.h.
| byte IS_STA::ReqI | 
ReqI if replying to a request packet
Definition at line 992 of file ispackets.h.
| byte IS_STA::Size | 
28
Definition at line 990 of file ispackets.h.
| byte IS_STA::Spare2 | 
Definition at line 1008 of file ispackets.h.
| byte IS_STA::Spare3 | 
Definition at line 1009 of file ispackets.h.
| char IS_STA::Track[6] | 
short name for track e.g. FE2R
Definition at line 1011 of file ispackets.h.
| byte IS_STA::Type | 
Definition at line 991 of file ispackets.h.
| byte IS_STA::ViewPLID | 
Unique ID of viewed player (0 = none)
Definition at line 999 of file ispackets.h.
| byte IS_STA::Weather | 
0,1,2...
Definition at line 1012 of file ispackets.h.
| byte IS_STA::Wind | 
0=off 1=weak 2=strong
Definition at line 1013 of file ispackets.h.
| byte IS_STA::Zero | 
Definition at line 993 of file ispackets.h.
 1.7.6.1
 1.7.6.1