Difference between revisions of "UpdateCellPermissionMessage"

From SWGANH Wiki
Jump to: navigation, search
(Sample Code)
m (Protected "UpdateCellPermissionMessage": Page is complete. [edit=sysop:move=sysop])
 
(15 intermediate revisions by 3 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:#B3C0DE; color:white;"|'''BYTE'''||'''uint8'''
+
|{{int}}||'''Opcode'''
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''uint16'''
+
|{{byte}}||'''Permission Flag (0/1)'''
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''uint32'''
+
|-
+
|align="center" style="background:#3C5466; color:white;"|'''FLOAT'''||'''uint32'''
+
|-
+
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''uint64'''
+
|-
+
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''ASCII String'''
+
|-
+
|align="center" style="background:#8BD9A3; color:white;"|'''U_STRING'''||'''Unicode String'''
+
|-
+
|align="center" style="background:#3EC166; color:white;"|'''C_STRING'''||'''Customization String'''
+
|-
+
|align="center" style="background:#25733D; color:white;"|'''B_STRING'''||'''Byte String'''
+
|-
+
|align="center" style="background:#C6C600; color:white;"|'''{ }'''||'''LIST Component'''
+
|-
+
|align="center" style="background:#DF97A7; color:white;"|'''?'''||'''Uncertain Values'''
+
|-
+
|align="center" style="background:#C84966; color:white;"|'''?? '''||'''Unknown Variable Name'''
+
 
|-
 
|-
 +
|{{long}}||'''cell ID'''
 +
|}
 
|}
 
|}
  
Line 43: Line 23:
 
----
 
----
  
Opperand_Count     = '''9'''
+
Operand_Count     = '''3'''
  
Opcode     = '''FFFFFFFF'''
+
Opcode     = '''F612499C'''
 
----
 
----
  
* Additional Descriptions go here...
+
* This Packet is send to flag a cell as accessible or unaccessible for the Player
* --
+
* 0 = UnAccessible / 1 = Accessible
* ---
+
* ----
+
 
+
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 60: Line 38:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{0%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
Line 67: 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 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