Difference between revisions of "Cell Object"

From SWGANH Wiki
Jump to: navigation, search
 
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Every house contains a set number of cell ids, to which stuff put in the house gets linked.
+
=DataFlow=
every cell id is a seperate object that gets initialized and closed like every other object, too
+
Initialization of the Object starts through sending the
+
  
[[SceneCreateObjectByCrc|SceneCreateObjectByCrc]]
+
{{PacketFlow|Cell Object|
 +
<graphviz>
 +
digraph G
 +
{
 +
        rankdir = LR;
 +
        node [shape=record, width=.2, height=.2];
 +
        node [width=1];
 +
        node1 [color="orange", label = "SceneCreateObjectByCrc", style="bold", fontname="arial", fontcolor="#458CAF", URL="SceneCreateObjectByCrc"];
 +
        node2 [color="orange", label = "UpdateContainmentMessage", style="bold", fontname="arial", fontcolor="#458CAF", URL="UpdateContainmentMessage"];
 +
        node3 [color="orange", label = "UpdateCellPermissionMessage", style="bold", fontname="arial", fontcolor="#458CAF", URL="UpdateCellPermissionMessage"];
 +
        node1 -> node2 [color="#515FCA", constraint=false];
 +
        node2 -> node3 [color="#515FCA", constraint=false];
 +
}
 +
</graphviz>
 +
}}
  
the crc send is 0x0c5401ee object/cell/shared_cell.iff
+
=Description=
  
 +
Every house contains a set number of cell ids, to which stuff put in the house gets linked. Every cell id is a seperate object that gets initialized and closed like every other object, too.
  
The [[UpdateContainmentMessage]] packet links the item to the house.
+
'''<font color=orange>NOTE</font>''': <pre>All cells must be created before the house object is closed.</pre>
  
 +
Initialization of the Object starts through sending the [[SceneCreateObjectByCrc|'''SceneCreateObjectByCrc''']], the crc sent is '''0x0c5401ee''' - '''object/cell/shared_cell.iff'''
  
[[RCNO03|RCNO 3]]
+
The [[UpdateContainmentMessage|'''UpdateContainmentMessage''']] packet links the cell to the house.
  
[[RCNO06|RCNO 6]]
+
[[SCLT03|'''SCLT 3''']]
  
[[RCNO08|RCNO 8]]
+
[[SCLT06|'''SCLT 6''']]
  
[[RCNO09|RCNO 9]]
+
The [[UpdateCellPermissionMessage|'''UpdateCellPermissionMessage''']] sets the access rights (access / no access) for the player.
  
the Object initialization will be completed through sending the
+
The Object initialization will then be completed with the [[SceneEndBaselines|'''SceneEndBaselines''']] packet.
 
+
[[SceneEndBaselines|SceneEndBaselines]]
+

Latest revision as of 22:56, 17 January 2007

DataFlow

 Client <-> Server Sequence: Cell Object

{{{2}}}

Description

Every house contains a set number of cell ids, to which stuff put in the house gets linked. Every cell id is a seperate object that gets initialized and closed like every other object, too.

NOTE:
All cells must be created before the house object is closed.

Initialization of the Object starts through sending the SceneCreateObjectByCrc, the crc sent is 0x0c5401ee - object/cell/shared_cell.iff

The UpdateContainmentMessage packet links the cell to the house.

SCLT 3

SCLT 6

The UpdateCellPermissionMessage sets the access rights (access / no access) for the player.

The Object initialization will then be completed with the SceneEndBaselines packet.