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


Field Documentation

76

Definition at line 1205 of file ispackets.h.

ISP_NPL

Definition at line 1206 of file ispackets.h.

0 unless this is a reply to an TINY_NPL request

Definition at line 1207 of file ispackets.h.

player's newly assigned unique id

Definition at line 1208 of file ispackets.h.

connection's unique id

Definition at line 1210 of file ispackets.h.

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

Definition at line 1211 of file ispackets.h.

player flags

Definition at line 1212 of file ispackets.h.

char IS_NPL::PName[24]

nickname

Definition at line 1214 of file ispackets.h.

char IS_NPL::Plate[8]

number plate - NO ZERO AT END!

Definition at line 1215 of file ispackets.h.

char IS_NPL::CName[4]

car name

Definition at line 1217 of file ispackets.h.

char IS_NPL::SName[16]

skin name - MAX_CAR_TEX_NAME

Definition at line 1218 of file ispackets.h.

byte IS_NPL::Tyres[4]

compounds

Definition at line 1219 of file ispackets.h.

added mass (kg)

Definition at line 1221 of file ispackets.h.

intake restriction

Definition at line 1222 of file ispackets.h.

driver model

Definition at line 1223 of file ispackets.h.

passengers byte

Definition at line 1224 of file ispackets.h.

Definition at line 1226 of file ispackets.h.

setup flags (see below)

Definition at line 1228 of file ispackets.h.

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

Definition at line 1229 of file ispackets.h.

Definition at line 1230 of file ispackets.h.

Definition at line 1231 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