Data Fields

IS_STA Struct Reference

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

Detailed Description

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.


Field Documentation

28

Definition at line 977 of file ispackets.h.

ISP_STA

Definition at line 978 of file ispackets.h.

ReqI if replying to a request packet

Definition at line 979 of file ispackets.h.

Definition at line 980 of file ispackets.h.

4-byte float - 1.0 is normal speed

Definition at line 982 of file ispackets.h.

ISS state flags

Definition at line 984 of file ispackets.h.

Which type of camera is selected.

Definition at line 985 of file ispackets.h.

Unique ID of viewed player (0 = none)

Definition at line 986 of file ispackets.h.

Number of players in race.

Definition at line 988 of file ispackets.h.

Number of connections including host.

Definition at line 989 of file ispackets.h.

Number finished or qualified.

Definition at line 990 of file ispackets.h.

0 - no race / 1 - race / 2 - qualifying

Definition at line 991 of file ispackets.h.

Definition at line 993 of file ispackets.h.

see RaceLaps near the top of this document

Definition at line 994 of file ispackets.h.

Definition at line 995 of file ispackets.h.

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.

0,1,2...

Definition at line 999 of file ispackets.h.

0=off 1=weak 2=strong

Definition at line 1000 of file ispackets.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Variables Enumerator Defines