Difference between revisions of "Cell Object"
From SWGANH Wiki
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | =DataFlow= | |
− | + | ||
− | + | ||
− | + | {{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> | ||
+ | }} | ||
− | + | =Description= | |
− | the | + | 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. | ||
− | [[SCLT03|SCLT 3]] | + | [[SCLT03|'''SCLT 3''']] |
− | [[SCLT06|SCLT 6]] | + | [[SCLT06|'''SCLT 6''']] |
− | [[ | + | The [[UpdateCellPermissionMessage|'''UpdateCellPermissionMessage''']] sets the access rights (access / no access) for the player. |
− | + | 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.
The UpdateCellPermissionMessage sets the access rights (access / no access) for the player.
The Object initialization will then be completed with the SceneEndBaselines packet.