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

New PLayer joining race. More...

#include <ispackets.h>

Data Fields

byte Size
 76
byte Type
 ISP_NPL
byte ReqI
 0 unless this is a reply to an TINY_NPL request
byte PLID
 player's newly assigned unique id
byte UCID
 connection's unique id
byte PType
 bit 0 : female / bit 1 : AI / bit 2 : remote
word Flags
 player flags
char PName [24]
 nickname
char Plate [8]
 number plate - NO ZERO AT END!
char CName [4]
 car name
char SName [16]
 skin name - MAX_CAR_TEX_NAME
byte Tyres [4]
 compounds
byte H_Mass
 added mass (kg)
byte H_TRes
 intake restriction
byte Model
 driver model
byte Pass
 passengers byte
int Spare
byte SetF
 setup flags (see below)
byte NumP
 number in race (same when leaving pits, 1 more if new)
byte Sp2
byte Sp3

Detailed Description

New PLayer joining race.

if PLID already exists, then leaving pits

NOTE :
PType bit 0 (female) is not reported on dedicated host as humans are not loaded You can use the driver model byte instead if required (and to force the use of helmets)

Definition at line 1410 of file ispackets.h.


Field Documentation

char IS_NPL::CName[4]

car name

Definition at line 1424 of file ispackets.h.

player flags

Definition at line 1419 of file ispackets.h.

added mass (kg)

Definition at line 1428 of file ispackets.h.

intake restriction

Definition at line 1429 of file ispackets.h.

driver model

Definition at line 1430 of file ispackets.h.

number in race (same when leaving pits, 1 more if new)

Definition at line 1436 of file ispackets.h.

passengers byte

Definition at line 1431 of file ispackets.h.

char IS_NPL::Plate[8]

number plate - NO ZERO AT END!

Definition at line 1422 of file ispackets.h.

player's newly assigned unique id

Definition at line 1415 of file ispackets.h.

char IS_NPL::PName[24]

nickname

Definition at line 1421 of file ispackets.h.

bit 0 : female / bit 1 : AI / bit 2 : remote

Definition at line 1418 of file ispackets.h.

0 unless this is a reply to an TINY_NPL request

Definition at line 1414 of file ispackets.h.

setup flags (see below)

Definition at line 1435 of file ispackets.h.

76

Definition at line 1412 of file ispackets.h.

char IS_NPL::SName[16]

skin name - MAX_CAR_TEX_NAME

Definition at line 1425 of file ispackets.h.

Definition at line 1437 of file ispackets.h.

Definition at line 1438 of file ispackets.h.

Definition at line 1433 of file ispackets.h.

ISP_NPL

Definition at line 1413 of file ispackets.h.

byte IS_NPL::Tyres[4]

compounds

Definition at line 1426 of file ispackets.h.

connection's unique id

Definition at line 1417 of file ispackets.h.


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