Difference between revisions of "IS SLC"
From LFS Manual
Jump to navigationJump to searchBokujishin (talk | contribs) (Created page with "== Introduction == The '''S'''e'''L'''ected '''C'''ar packet is sent by LFS when a player selects a car (empty if no car). {| class="wikitable" |+ IS_SLC packet properties |...") |
Bokujishin (talk | contribs) m (→CName) |
||
| Line 39: | Line 39: | ||
=== CName === | === CName === | ||
| − | The car's name | + | The car's name [[SkinID encoding|in compressed format]]. |
[[Category:InSim packets]] | [[Category:InSim packets]] | ||
Latest revision as of 20:31, 10 February 2026
Introduction
The SeLected Car packet is sent by LFS when a player selects a car (empty if no car).
| Type | Name | Description |
|---|---|---|
| byte | Size | 8 |
| byte | Type | ISP_SLC |
| byte | ReqI | 0 unless this is a reply to a TINY_SLC request |
| byte | UCID | connection's unique id (0 = host) |
| char | CName[4] | car name |
Packet Details
Size
The size of the packet is always 8 bytes.
Type
The packet type from the ISP_ enumeration, always ISP_SLC.
ReqI
ReqI is equal to zero, unless the packet is a reply to a TINY_SLC request.
UCID
The connection's unique ID (0 is the host).
CName
The car's name in compressed format.