AttributeListMessage

From SWGANH Wiki
Revision as of 11:08, 2 June 2007 by Mugly (Talk | contribs) (Sample Packet (pre-cu))

Jump to: navigation, search


Struct


SHORT Opperand_Count
INT Opcde
LONG ObjectID
INT ListCount

<attributes count=ListCount>

A_STRING ObjectAttributeName
U_STRING ObjectAttributeValue

<attributes/>


Variable Descriptions


Opperand_Count = 3

Opcode = F3F12F2A


  • ObjectID:

ObjectID that you are listing attributes for.

  • ListCount:

Counter of Attributes to list.

  • ObjectAttributeName:

Name of attribute to display from string/en/obj_attr_n.stf

  • ObjectAttributeValue:

Value to display next to the attribute.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Code


Insert Code Snippet Here...

Sample Packet (pre-cu)

03 00 
2A 2F F1 F3
4A 1F 9C 1F 01 00 00 00 
13 00 00 00 

09 00 					   	// A_string
63 6F 6E 64 69 74 69 6F 6E                 	// "condition"
07 00 00 00                                	// U_string size
34 00 36 00 31 00 2F 00 39 00 35 00 30 00  	// "461/950"

06 00 		  			   	// A_string size
76 6F 6C 75 6D 65 			   	// "volume"
01 00 00 00       			   	// U_string size
31 00             			   	// "1"

07 00 					   	// A_string size
63 72 61 66 74 65 72 			   	// "crafter" 
16 00 00 00 				   	// U_string size
					   	
44 00 65 00 6D 00 6F 00 73 00 74 00 68 00 65    
00 6E 00 65 00 73 00 20 00 4B 00 61 00 67 00    // "Demosthenes Kaggazzari"
67 00 61 00 7A 00 7A 00 61 00 72 00 69 00     

etc...