Difference between revisions of "PCode"

From Second Life Wiki
Jump to navigation Jump to search
m
(Fix broken template code)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
Used in [[ObjectUpdate]] and [[ObjectUpdateCompressed]] messages, a "PCode" byte appears to be used to differentiate types of objects:  prims, avatars, and foliage.
Used in [[ObjectUpdate]] and [[ObjectUpdateCompressed]] messages, a "PCode" byte appears to be used to differentiate types of objects:  prims, avatars, and foliage.


* Prim = 9
{| class="sortable" {{Prettytable}}
* Avatar = 47
|- {{Hl2}}
* Grass = 95
! Type
* NewTree = 111
! Hex
* ParticleSystem = 143
|-
* Tree = 255
| Prim
| {{LSL Hex|0x09|9}}
|-
| Avatar
| {{LSL Hex|0x2f|47}}
|-
| Grass  
| {{LSL Hex|0x5f|95}}
|-
| NewTree  
| {{LSL Hex|0x6f|111}}
|-
| ParticleSystem  
| {{LSL Hex|0x8f|143}}
|-
| Tree  
| {{LSL Hex|0xff|255}}
|}

Latest revision as of 07:11, 26 September 2022

Used in ObjectUpdate and ObjectUpdateCompressed messages, a "PCode" byte appears to be used to differentiate types of objects: prims, avatars, and foliage.

Type Hex
Prim 0x09
Avatar 0x2f
Grass 0x5f
NewTree 0x6f
ParticleSystem 0x8f
Tree 0xff