Difference between revisions of "AttributeListMessage"

From SWGANH Wiki
Jump to: navigation, search
m (Protected "AttributeListMessage": Page is complete [edit=sysop:move=sysop])
(Struct)
Line 5: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|{{short}}||'''Opperand_Count'''
 
|{{short}}||'''Opperand_Count'''
Line 22: Line 24:
 
|}
 
|}
 
{{endlist|attributes}}
 
{{endlist|attributes}}
 +
|}
  
 
===Variable Descriptions===
 
===Variable Descriptions===

Revision as of 12:30, 18 August 2007

Server Packet - AttributeListMessage (F3F12F2A)

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 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 Packet (pre-cu)

03 00                                           // Operand Count
2A 2F F1 F3                                     // OpCode
4A 1F 9C 1F 01 00 00 00                         // Obect ID
13 00 00 00                                     // List Count
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...