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 849 of file ispackets.h.


Field Documentation

28

Definition at line 851 of file ispackets.h.

ISP_STA

Definition at line 852 of file ispackets.h.

ReqI if replying to a request packet

Definition at line 853 of file ispackets.h.

Definition at line 854 of file ispackets.h.

4-byte float - 1.0 is normal speed

Definition at line 856 of file ispackets.h.

ISS state flags

Definition at line 858 of file ispackets.h.

Which type of camera is selected.

Definition at line 859 of file ispackets.h.

Unique ID of viewed player (0 = none).

Definition at line 860 of file ispackets.h.

Number of players in race.

Definition at line 862 of file ispackets.h.

Number of connections including host.

Definition at line 863 of file ispackets.h.

Number finished or qualified.

Definition at line 864 of file ispackets.h.

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

Definition at line 865 of file ispackets.h.

Definition at line 867 of file ispackets.h.

see RaceLaps near the top of this document

Definition at line 868 of file ispackets.h.

Definition at line 869 of file ispackets.h.

Definition at line 870 of file ispackets.h.

char IS_STA::Track[6]

short name for track e.g. FE2R

Definition at line 872 of file ispackets.h.

0,1,2...

Definition at line 873 of file ispackets.h.

0=off 1=weak 2=strong

Definition at line 874 of file ispackets.h.


The documentation for this struct was generated from the following file:

Generated on Wed Apr 28 11:50:47 2010 for InSim by  doxygen 1.5.8