Difference between revisions of "UpdateCellPermissionMessage"

From SWGANH Wiki
Jump to: navigation, search
(Variable Descriptions)
m (Protected "UpdateCellPermissionMessage": Page is complete. [edit=sysop:move=sysop])
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Server Packet|UpdateCellPermissionMessage (F612499C)}}
{|
+
|- align="center"
+
||{{PacketGuide}}
+
|-
+
|}
+
  
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
Line 11: Line 6:
 
===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'''
+
|{{byte}}||'''Permission Flag (0/1)'''
|-
+
|align="center" style="background:#3C5466; color:white;"|'''BYTE'''||'''permission Flag'''
+
|-
+
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''cell ID'''
+
 
+
 
|-
 
|-
 +
|{{long}}||'''cell ID'''
 +
|}
 
|}
 
|}
  
Line 28: Line 23:
 
----
 
----
  
Opperand_Count     = '''3'''
+
Operand_Count     = '''3'''
  
Opcode     = '''0xf612499c'''
+
Opcode     = '''F612499C'''
 
----
 
----
  
* This Packet is send to flag a cell as accessable or unaccessable for the Player
+
* This Packet is send to flag a cell as accessible or unaccessible for the Player
* Probably this could be used to make certain parts of a house un / accessable????
+
* 0 = UnAccessible / 1 = Accessible
 
+
 
|valign=top|
 
|valign=top|
  
Line 44: Line 38:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{0%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
Line 51: Line 45:
  
 
----
 
----
 
+
==Sample Packet==
==Sample Code==
+
----
+
  
 
<pre>
 
<pre>
 
 
[UINT16] 0x0003
 
[UINT16] 0x0003
 
[UINT32] 0xf612499c
 
[UINT32] 0xf612499c
 
[UINT8]  1
 
[UINT8]  1
 
         [UINT64] cell ID
 
         [UINT64] cell ID
 
</pre>
 
 
==Sample Packet==
 
 
<pre>
 
Insert Sample Packet Here...
 
 
</pre>
 
</pre>

Latest revision as of 10:37, 26 November 2007

Server Packet - UpdateCellPermissionMessage (F612499C)

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 Permission Flag (0/1)
LONG cell ID

Variable Descriptions


Operand_Count = 3

Opcode = F612499C


  • This Packet is send to flag a cell as accessible or unaccessible for the Player
  • 0 = UnAccessible / 1 = Accessible

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Packet

	[UINT16] 0x0003
	[UINT32] 0xf612499c
	[UINT8]  1
        [UINT64] cell ID