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


Field Documentation

76

Definition at line 1399 of file ispackets.h.

ISP_NPL

Definition at line 1400 of file ispackets.h.

0 unless this is a reply to an TINY_NPL request

Definition at line 1401 of file ispackets.h.

player's newly assigned unique id

Definition at line 1402 of file ispackets.h.

connection's unique id

Definition at line 1404 of file ispackets.h.

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

Definition at line 1405 of file ispackets.h.

player flags

Definition at line 1406 of file ispackets.h.

char IS_NPL::PName[24]

nickname

Definition at line 1408 of file ispackets.h.

char IS_NPL::Plate[8]

number plate - NO ZERO AT END!

Definition at line 1409 of file ispackets.h.

char IS_NPL::CName[4]

car name

Definition at line 1411 of file ispackets.h.

char IS_NPL::SName[16]

skin name - MAX_CAR_TEX_NAME

Definition at line 1412 of file ispackets.h.

byte IS_NPL::Tyres[4]

compounds

Definition at line 1413 of file ispackets.h.

added mass (kg)

Definition at line 1415 of file ispackets.h.

intake restriction

Definition at line 1416 of file ispackets.h.

driver model

Definition at line 1417 of file ispackets.h.

passengers byte

Definition at line 1418 of file ispackets.h.

Definition at line 1420 of file ispackets.h.

setup flags (see below)

Definition at line 1422 of file ispackets.h.

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

Definition at line 1423 of file ispackets.h.

Definition at line 1424 of file ispackets.h.

Definition at line 1425 of file ispackets.h.


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