Difference between revisions of "Cell Object"

From SWGANH Wiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user 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>
 +
 
 +
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.
 
The [[UpdateContainmentMessage|'''UpdateContainmentMessage''']] packet links the cell to the house.
Line 17: Line 33:
 
The [[UpdateCellPermissionMessage|'''UpdateCellPermissionMessage''']] sets the access rights (access / no access) for the player.
 
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.