IS CCH
From LFS Manual
Jump to navigationJump to searchIntroduction
The Camera CHange packet is sent by LFS when a player changes camera.
| Type | Name | Description |
|---|---|---|
| byte | Size | 8 |
| byte | Type | ISP_CCH |
| byte | ReqI | 0 |
| byte | PLID | player's unique id |
| byte | Camera | view identifier (VIEW_x) |
| byte | Sp1 | |
| byte | Sp2 | |
| byte | Sp3 |
Packet Details
Size
The size of the packet is always 8 bytes.
Type
The packet type from the ISP_ enumeration, always ISP_CCH.
ReqI
ReqI is always equal to zero.
PLID
The player's unique ID.
Camera
The view identifier, from the VIEW_ enumeration.