InSim  0.6c
Documentation of Live for Speed InSim Protocol
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 988 of file ispackets.h.


Field Documentation

ISS state flags

Definition at line 997 of file ispackets.h.

Which type of camera is selected.

Definition at line 998 of file ispackets.h.

Number of connections including host.

Definition at line 1002 of file ispackets.h.

Number finished or qualified.

Definition at line 1003 of file ispackets.h.

Number of players in race.

Definition at line 1001 of file ispackets.h.

Definition at line 1006 of file ispackets.h.

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

Definition at line 1004 of file ispackets.h.

see RaceLaps near the top of this document

Definition at line 1007 of file ispackets.h.

4-byte float - 1.0 is normal speed

Definition at line 995 of file ispackets.h.

ReqI if replying to a request packet

Definition at line 992 of file ispackets.h.

28

Definition at line 990 of file ispackets.h.

Definition at line 1008 of file ispackets.h.

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.

ISP_STA

Definition at line 991 of file ispackets.h.

Unique ID of viewed player (0 = none)

Definition at line 999 of file ispackets.h.

0,1,2...

Definition at line 1012 of file ispackets.h.

0=off 1=weak 2=strong

Definition at line 1013 of file ispackets.h.

Definition at line 993 of file ispackets.h.


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