Difference between revisions of "Survey UI (Sequence)"

From SWGANH Wiki
Jump to: navigation, search
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
 
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
 +
 +
=Packetflow=
 +
 +
{{PacketFlow|Survey UI|
 +
<graphviz>
 +
digraph G
 +
{
 +
        rankdir = LR;
 +
        node [shape=record, width=.2, height=.2];
 +
        node [width=1];
 +
        node1 [color="orange", label = "CLIENT", style="bold", fontname="arial", fontcolor="#458CAF", 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="#980C24"];
 +
        node2:w -> node3:e [color="#515FCA", constraint=false];
 +
}
 +
</graphviz>
 +
}}
 +
  
 
{{Box Packet|RequestResourceListAnswer Server --> Client|
 
{{Box Packet|RequestResourceListAnswer Server --> Client|

Revision as of 19:23, 7 January 2007

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

Packetflow

 Client <-> Server Sequence: Survey UI

{{{2}}}


Packet: RequestResourceListAnswer Server --> Client


04 00                                        

d5 b1 64 8a 				     opcode

[UINT32] counter      			     Resource Count

                                             Here starts 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]                                     id of the resource that will be shown in the window            
                                             on opening