InSim  0.6c
Documentation of Live for Speed InSim Protocol
Data Fields
IS_RES Struct Reference

RESult. More...

#include <ispackets.h>

Data Fields

byte Size
 84
byte Type
 ISP_RES
byte ReqI
 0 unless this is a reply to a TINY_RES request
byte PLID
 player's unique id (0 = player left before result was sent)
char UName [24]
 username
char PName [24]
 nickname
char Plate [8]
 number plate - NO ZERO AT END!
char CName [4]
 skin prefix
unsigned TTime
 race time (ms)
unsigned BTime
 best lap (ms)
byte SpA
byte NumStops
 number of pit stops
byte Confirm
 confirmation flags : disqualified etc
byte SpB
word LapsDone
 laps completed
word Flags
 player flags : help settings etc
byte ResultNum
 finish or qualify pos (0 = win / 255 = not added to table)
byte NumRes
 total number of results (qualify doesn't always add a new one)
word PSeconds
 penalty time in seconds (already included in race time)

Detailed Description

RESult.

(qualify or confirmed finish)

Definition at line 1683 of file ispackets.h.


Field Documentation

unsigned IS_RES::BTime

best lap (ms)

Definition at line 1696 of file ispackets.h.

char IS_RES::CName[4]

skin prefix

Definition at line 1693 of file ispackets.h.

confirmation flags : disqualified etc

Definition at line 1700 of file ispackets.h.

player flags : help settings etc

Definition at line 1704 of file ispackets.h.

laps completed

Definition at line 1703 of file ispackets.h.

total number of results (qualify doesn't always add a new one)

Definition at line 1707 of file ispackets.h.

number of pit stops

Definition at line 1699 of file ispackets.h.

char IS_RES::Plate[8]

number plate - NO ZERO AT END!

Definition at line 1692 of file ispackets.h.

player's unique id (0 = player left before result was sent)

Definition at line 1688 of file ispackets.h.

char IS_RES::PName[24]

nickname

Definition at line 1691 of file ispackets.h.

penalty time in seconds (already included in race time)

Definition at line 1708 of file ispackets.h.

0 unless this is a reply to a TINY_RES request

Definition at line 1687 of file ispackets.h.

finish or qualify pos (0 = win / 255 = not added to table)

Definition at line 1706 of file ispackets.h.

84

Definition at line 1685 of file ispackets.h.

Definition at line 1698 of file ispackets.h.

Definition at line 1701 of file ispackets.h.

unsigned IS_RES::TTime

race time (ms)

Definition at line 1695 of file ispackets.h.

ISP_RES

Definition at line 1686 of file ispackets.h.

char IS_RES::UName[24]

username

Definition at line 1690 of file ispackets.h.


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