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 975 of file ispackets.h.
| byte IS_STA::Size |
28
Definition at line 977 of file ispackets.h.
| byte IS_STA::Type |
Definition at line 978 of file ispackets.h.
| byte IS_STA::ReqI |
ReqI if replying to a request packet
Definition at line 979 of file ispackets.h.
| byte IS_STA::Zero |
Definition at line 980 of file ispackets.h.
| float IS_STA::ReplaySpeed |
4-byte float - 1.0 is normal speed
Definition at line 982 of file ispackets.h.
| word IS_STA::Flags |
Definition at line 984 of file ispackets.h.
| byte IS_STA::InGameCam |
Which type of camera is selected.
Definition at line 985 of file ispackets.h.
| byte IS_STA::ViewPLID |
Unique ID of viewed player (0 = none)
Definition at line 986 of file ispackets.h.
| byte IS_STA::NumP |
Number of players in race.
Definition at line 988 of file ispackets.h.
| byte IS_STA::NumConns |
Number of connections including host.
Definition at line 989 of file ispackets.h.
| byte IS_STA::NumFinished |
Number finished or qualified.
Definition at line 990 of file ispackets.h.
| byte IS_STA::RaceInProg |
0 - no race / 1 - race / 2 - qualifying
Definition at line 991 of file ispackets.h.
| byte IS_STA::QualMins |
Definition at line 993 of file ispackets.h.
| byte IS_STA::RaceLaps |
see RaceLaps near the top of this document
Definition at line 994 of file ispackets.h.
| byte IS_STA::Spare2 |
Definition at line 995 of file ispackets.h.
| byte IS_STA::Spare3 |
Definition at line 996 of file ispackets.h.
| char IS_STA::Track[6] |
short name for track e.g. FE2R
Definition at line 998 of file ispackets.h.
| byte IS_STA::Weather |
0,1,2...
Definition at line 999 of file ispackets.h.
| byte IS_STA::Wind |
0=off 1=weak 2=strong
Definition at line 1000 of file ispackets.h.
1.7.3