Difference between revisions of "Resource Container Object"

From SWGANH Wiki
Jump to: navigation, search
(DataFlow)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=DataFlow=
+
{|align="center"
 +
|-
 +
||{{RCNOArchitectureNAV}}
 +
|-
 +
|}
  
{{PacketFlow|Cell Object|
+
=DataFlow=
 +
{| align="center" width="650px"
 +
|-
 +
||
 +
{{PacketFlow|Resource Container Object|
 
<graphviz>
 
<graphviz>
 
digraph G
 
digraph G
Line 16: Line 24:
 
</graphviz>
 
</graphviz>
 
}}
 
}}
 +
|}
  
 
=Description=
 
=Description=

Latest revision as of 00:17, 29 November 2007

RCNO Packet Type QuickNav
RCNO / Resource Container Object
RCNO03 - RCNO06 - RCNO08 - RCNO09

DataFlow

 Client <-> Server Sequence: Resource Container Object

{{{2}}}

Description

Resources in the inventory are created through sending a set of Packets that is very similiar to those which are send for creating other items in the Inventory. The main difference is that resources are not created through CREO Packets but that for Resource Creation ONCR Packets are used.

The creation process begins with an Object Init Packet and an Object Link packet, the main data is send through an RCNO03 and an RCNO06 packet and the creation process is ended through an RCNOO8, RCNO09, an object finish and a Posture update Packet.

There are still some parts of the RCNO03 and RCNO06 which are not figured out yet, though as far as I can see they are hopefully not that important.

Please note that -like with everything- these packets can be send standalone in an 00 09 or in the pack as an 00 19. to make this a bit clearer I seperate them as single packets. I did not include the headers though (00 09 wx yz and crc at the end) because thats getting redundant.

The object init Packet contains the ID of the newly created - (resource) Item, the crc of the item to be displayed and its location and orientation in the world should it not happen to be in the inventory / backpack.

Initialization of the Object starts through sending the SceneCreateObjectByCrc the crc sent is the crc of the displayed resource container.

The UpdateContainmentMessage packet links the item to the container where its to be created in. This is either a backpack, an inventory, a hopper or a house.

RCNO03

RCNO06

RCNO08

RCNO09

the Object initialization will be will be completed through sending the SceneEndBaselines