Difference between revisions of "UpdateCellPermissionMessage"

From SWGANH Wiki
Jump to: navigation, search
(Struct)
m (Protected "UpdateCellPermissionMessage": Page is complete. [edit=sysop:move=sysop])
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Server Packet|UpdateCellPermissionMessage (F612499C)}}
  
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
Line 6: Line 6:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|{{short}}||'''Operand count'''
 
|{{short}}||'''Operand count'''
Line 12: Line 14:
 
|{{int}}||'''Opcode'''
 
|{{int}}||'''Opcode'''
 
|-
 
|-
|{{byte}}||'''permission Flag'''
+
|{{byte}}||'''Permission Flag (0/1)'''
 
|-
 
|-
 
|{{long}}||'''cell ID'''
 
|{{long}}||'''cell ID'''
 +
|}
 
|}
 
|}
  
Line 26: Line 29:
  
 
* This Packet is send to flag a cell as accessible or unaccessible for the Player
 
* This Packet is send to flag a cell as accessible or unaccessible for the Player
* This could probably be used to make certain parts of a house (un)accessible <font color=red>(?)</font>
+
* 0 = UnAccessible / 1 = Accessible
 
+
 
|valign=top|
 
|valign=top|
  
Line 43: Line 45:
  
 
----
 
----
 +
==Sample Packet==
  
==Sample Code==
 
----
 
 
<pre>
 
<pre>
 
[UINT16] 0x0003
 
[UINT16] 0x0003
Line 51: Line 52:
 
[UINT8]  1
 
[UINT8]  1
 
         [UINT64] cell ID
 
         [UINT64] cell ID
</pre>
 
 
==Sample Packet==
 
 
<pre>
 
Insert Sample Packet Here...
 
 
</pre>
 
</pre>

Latest revision as of 09: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