Difference between revisions of "UpdatePvpStatusMessage"

From SWGANH Wiki
Jump to: navigation, search
(Variable Descriptions)
(Sample Code)
Line 68: Line 68:
  
 
==Sample Code==
 
==Sample Code==
----
 
  
 
<pre>
 
<pre>

Revision as of 11:55, 20 December 2006


Struct


SHORT Operand_Count
INT Opcode
INT PVPStatus
INT Faction
LONG ObjectID

Variable Descriptions


Opperand_Count = 4

Opcode = 08A1C126


  • PVPStatus:
A BITMASK with 6 elements:
1:	Attackable Flag
2:	Aggressive Flag (can attack you)
4:	Overt Flag
8:	TEF Flag
16:	Player Flag
32:	Enemy Flag 
64:	??
128:	??
256:	??(NGE Duel?)

Faction:	  HEX		CRC_STRING		DECIMAL
Neutral 	= 0		none			0
Rebel		= 0x16148850	SWGCRC("rebel")		370444368
Imperial	= 0xDB4ACC54	SWGCRC("imperial")	3679112276
  • Object_ID:
The object ID who's PVP Status is being updated.

Tags


S→C This packet originates on the server.

75% This packet has been partially reversed.


Sample Code

Insert Code Snippet Here...

Sample Packet

Insert Sample Packet Here...