Difference between revisions of "UpdatePostureMessage"

From SWGANH Wiki
Jump to: navigation, search
(Posture ID list)
(Variable Descriptions)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Server Packet|UpdatePostureMessage (0BDE6B41)}}
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 6: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 +
|{{short}}||'''Operand_Count'''
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''Operand_Count'''
+
|{{int}}||'''Opcode'''
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Opcode'''
+
|-
+
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''PostureID'''
+
 
|-
 
|-
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''ObjectID'''
+
|{{byte}}||'''PostureID'''
 
|-
 
|-
 +
|{{long}}||'''ObjectID'''
 +
|}
 
|}
 
|}
 
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
Line 28: Line 27:
  
 
* '''PostureID''':
 
* '''PostureID''':
:This is the ID of the posture type you wish to change the object to. Please reference the Posture ID list for available options. ''(Located at the bottom of the page)''
+
:This is the ID of the posture type you wish to change the object to. Please reference the Posture ID list for available options.  
 
+
{| align="center"
 +
|-
 +
||
 +
{| class="wikitable"
 +
|- align="center" style="background-color:#ffffcc;"
 +
|width="30px"|'''ID'''||width="140px"|'''Name'''||width="30px"|'''ID'''||width="140px"|'''Name'''
 +
|- align="center"
 +
||'''-1'''||Invalid||'''10'''||Climbing
 +
|- align="center" style="background-color:#F1F1F1;"
 +
||'''0'''||Standing||'''11'''||Hovering
 +
|- align="center"
 +
||'''1'''||Sneaking||'''12'''||Flying
 +
|- align="center" style="background-color:#F1F1F1;"
 +
||'''2'''||Walking||'''13'''||LyingDown
 +
|- align="center"
 +
||'''3'''||Running||'''14'''||Sitting
 +
|- align="center" style="background-color:#F1F1F1;"
 +
||'''4'''||Kneeling||'''15'''||SkillAnimating
 +
|- align="center"
 +
||'''5'''||CrouchSneaking||'''16'''||DrivingVehicle
 +
|- align="center" style="background-color:#F1F1F1;"
 +
||'''6'''||CrouchWalking||'''17'''||RidingCreature
 +
|- align="center"
 +
||'''7'''||Prone||'''18'''||KnockedDown
 +
|- align="center" style="background-color:#F1F1F1;"
 +
||'''8'''||Crawling||'''19'''||Incapacitated
 +
|- align="center"
 +
||'''9'''||ClimbingStationary||'''20'''||Dead
 +
|- align="center" style="background-color:#F1F1F1;"
 +
|| || ||'''21'''||Blocking
 +
|}
 +
|}
 
* '''ObjectID:
 
* '''ObjectID:
 
:This is the ObjectID you wish to change the posture of.
 
:This is the ObjectID you wish to change the posture of.
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 42: Line 73:
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
 
----
 
 
==Sample Code==
 
----
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
  
 
==Sample Packet==
 
==Sample Packet==
  
 
<pre>
 
<pre>
Insert Sample Packet Here...
+
03 00 // Op Count
 +
41 6B DE 0B // UpdatePostureMessage
 +
00 // Posture ID
 +
79 56 90 19 17 00 00 00 // object ID
 
</pre>
 
</pre>
 
===Posture ID list===
 
----
 

Latest revision as of 21:59, 8 January 2008

Server Packet - UpdatePostureMessage (0BDE6B41)

SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.

Struct


SHORT Operand_Count
INT Opcode
BYTE PostureID
LONG ObjectID

Variable Descriptions


Opperand_Count = 3

Opcode = 0BDE6B41


  • PostureID:
This is the ID of the posture type you wish to change the object to. Please reference the Posture ID list for available options.
ID Name ID Name
-1 Invalid 10 Climbing
0 Standing 11 Hovering
1 Sneaking 12 Flying
2 Walking 13 LyingDown
3 Running 14 Sitting
4 Kneeling 15 SkillAnimating
5 CrouchSneaking 16 DrivingVehicle
6 CrouchWalking 17 RidingCreature
7 Prone 18 KnockedDown
8 Crawling 19 Incapacitated
9 ClimbingStationary 20 Dead
21 Blocking
  • ObjectID:
This is the ObjectID you wish to change the posture of.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.

Sample Packet

03 00 // Op Count
41 6B DE 0B // UpdatePostureMessage
00 // Posture ID
79 56 90 19 17 00 00 00 // object ID