Difference between revisions of "Cell Object"

From SWGANH Wiki
Jump to: navigation, search
 
(7 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.
+
Please note that all cells must be created before the house object is closed.
+
  
Initialization of the Object starts through sending the
+
{{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>
 +
}}
  
[[SceneCreateObjectByCrc|SceneCreateObjectByCrc]]
+
=Description=
  
the crc send is 0x0c5401ee object/cell/shared_cell.iff
+
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.
  
 +
'''<font color=orange>NOTE</font>''': <pre>All cells must be created before the house object is closed.</pre>
  
The [[UpdateContainmentMessage]] packet links the cell to the house.
+
Initialization of the Object starts through sending the [[SceneCreateObjectByCrc|'''SceneCreateObjectByCrc''']], the crc sent is '''0x0c5401ee''' - '''object/cell/shared_cell.iff'''
  
 +
The [[UpdateContainmentMessage|'''UpdateContainmentMessage''']] packet links the cell to the house.
  
[[SCLT03|SCLT 3]]
+
[[SCLT03|'''SCLT 3''']]
  
[[RCNO06|RCNO 6]]
+
[[SCLT06|'''SCLT 6''']]
  
[[RCNO08|RCNO 8]]
+
The [[UpdateCellPermissionMessage|'''UpdateCellPermissionMessage''']] sets the access rights (access / no access) for the player.
  
[[RCNO09|RCNO 9]]
+
The Object initialization will then be completed with the [[SceneEndBaselines|'''SceneEndBaselines''']] packet.
 
+
the Object initialization will be completed through sending the
+
 
+
[[SceneEndBaselines|SceneEndBaselines]]
+

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