Difference between revisions of "UpdatePvpStatusMessage"
From SWGANH Wiki
(→Sample Code) |
(→Variable Descriptions) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{PageHeader|Server Packet|UpdatePvpStatusMessage (08A1C126)}} | |
− | + | ||
{| 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''' | ||
|- | |- | ||
− | | | + | |{{int}}||'''Opcode''' |
|- | |- | ||
− | | | + | |{{int}}||'''PVPStatus''' |
|- | |- | ||
− | | | + | |{{int}}||'''Faction''' |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
+ | |{{long}}||'''ObjectID''' | ||
+ | |} | ||
|} | |} | ||
− | |||
===Variable Descriptions=== | ===Variable Descriptions=== | ||
---- | ---- | ||
Line 38: | Line 37: | ||
16: Player Flag | 16: Player Flag | ||
32: Enemy Flag | 32: Enemy Flag | ||
− | 64: | + | 64: Change Faction Status (blink purple/blue) |
− | 128: | + | 128: Blink Green... |
256: ??(NGE Duel?) | 256: ??(NGE Duel?) | ||
+ | </pre> | ||
+ | *'''Faction''': | ||
+ | <pre> | ||
Faction: HEX CRC_STRING DECIMAL | Faction: HEX CRC_STRING DECIMAL | ||
Neutral = 0 none 0 | Neutral = 0 none 0 | ||
Line 59: | Line 61: | ||
||{{ServerPacket}} | ||{{ServerPacket}} | ||
|- | |- | ||
− | ||{{ | + | ||{{100%}} |
|- | |- | ||
|} | |} | ||
− | |||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Sample Packet== | ==Sample Packet== | ||
<pre> | <pre> | ||
− | + | 04 00 // Op Count | |
+ | 26 C1 A1 08 // UpdatePvpStatusMessage | ||
+ | 02 00 00 00 // PVP status | ||
+ | 00 00 00 00 // Faction | ||
+ | A1 56 90 19 17 00 00 00 // Object ID | ||
</pre> | </pre> |
Latest revision as of 14:03, 18 March 2011
Server Packet - UpdatePvpStatusMessage (08A1C126)
SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.
Struct
Variable DescriptionsOpperand_Count = 4 Opcode = 08A1C126
1: Attackable Flag 2: Aggressive Flag (can attack you) 4: Overt Flag 8: TEF Flag 16: Player Flag 32: Enemy Flag 64: Change Faction Status (blink purple/blue) 128: Blink Green... 256: ??(NGE Duel?)
Faction: HEX CRC_STRING DECIMAL Neutral = 0 none 0 Rebel = 0x16148850 SWGCRC("rebel") 370444368 Imperial = 0xDB4ACC54 SWGCRC("imperial") 3679112276
|
Tags
|
Sample Packet
04 00 // Op Count 26 C1 A1 08 // UpdatePvpStatusMessage 02 00 00 00 // PVP status 00 00 00 00 // Faction A1 56 90 19 17 00 00 00 // Object ID