Difference between revisions of "Survey UI (Sequence)"

From SWGANH Wiki
Jump to: navigation, search
(Packet Breakdown)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
After the client has sent the radial use Packet to the server detailing the item and the selected radial option, the server responds to the client by sending a packet containing the names and types of the resources of a given resource type that are in the current spawn and thus the client opens up the survey ID
+
=Description=
  
<pre>
+
After the client has sent the radial use Packet to the server detailing the item and the selected radial option, the server responds to the client by sending a packet containing the names and types of the resources of a given resource type that are in the current spawn and the client opens up the survey UI.
  
 +
=Packetflow=
  
 +
{{PacketFlow|Survey UI|
 +
<graphviz>
 +
digraph G
 +
{
 +
        rankdir = LR;
 +
        node [shape=record, width=.2, height=.2];
 +
        node [width=1];
 +
        node1 [color="#929292", label = "CLIENT", style="bold", fontname="arial", fontcolor="#929292", URL="Test101"];
 +
        node2 [color="orange", label = "SERVER", style="bold", fontname="arial", fontcolor="#458CAF", URL="Test102"];
 +
        node3 [color="orange", label = "CLIENT", style="bold", fontname="arial", fontcolor="#458CAF", URL="Test101"];
 +
        node1 -> node2:w [color="#929292"];
 +
        node2:w -> node3:e [color="#515FCA", constraint=false];
 +
}
 +
</graphviz>
 +
}}
 +
 +
=Packet Breakdown=
 +
 +
{{Box Packet|'''[[ResourceListForSurveyMessage|ResourceListForSurveyMessage]]''' ('''Client''' <-- '''Server''')|
 +
<pre>
 
04 00                                         
 
04 00                                         
  
d5 b1 64 8a     opcode
+
D5 B1 64 8A                        OPCODE
  
 
[UINT32] counter          Resource Count
 
[UINT32] counter          Resource Count
  
                                             Here starts the resource section
+
                                             Start of the resource section
 
   
 
   
 
     [ASCII]                                  Resource Name  
 
     [ASCII]                                  Resource Name  
Line 17: Line 38:
  
 
     [ASCII]                                  Resource type *corn_domesticated_tatooine*
 
     [ASCII]                                  Resource type *corn_domesticated_tatooine*
 
  
 
[ASCII]                                      Name of the UI to open (flora resources)
 
[ASCII]                                      Name of the UI to open (flora resources)
  
[UINT64]                                    id of the resource that will be shown in the window           
+
[UINT64]                                    Survey Tool Id
                                            on opening
+
 
+
 
</pre>
 
</pre>
 +
}}

Latest revision as of 22:24, 12 April 2007

Description

After the client has sent the radial use Packet to the server detailing the item and the selected radial option, the server responds to the client by sending a packet containing the names and types of the resources of a given resource type that are in the current spawn and the client opens up the survey UI.

Packetflow

 Client <-> Server Sequence: Survey UI

{{{2}}}

Packet Breakdown

Packet: ResourceListForSurveyMessage (Client <-- Server)
04 00                                        

D5 B1 64 8A                     	     OPCODE

[UINT32] counter      			     Resource Count

                                             Start of the resource section
 
    [ASCII]                                  Resource Name 

    [UINT64]                                 Resource ID

    [ASCII]                                  Resource type *corn_domesticated_tatooine*

[ASCII]                                      Name of the UI to open (flora resources)

[UINT64]                                     Survey Tool Id