Difference between revisions of "PlanetTravelPointListResponse"

From SWGANH Wiki
Jump to: navigation, search
(Struct)
(Struct)
 
(4 intermediate revisions by 2 users not shown)
Line 10: Line 10:
 
||
 
||
 
{| class="wikitable"
 
{| class="wikitable"
|{{short}}|Operand_Count
+
|{{short}}|'''Operand_Count'''
 
|-
 
|-
|{{int}}|OpCode
+
|{{int}}|'''OpCode'''
 
|-
 
|-
|{{a_string}}|Query Planet String
+
|{{a_string}}|'''Query Planet String'''
 
|-
 
|-
|{{int}}|PlanetsCount (number of planets)
+
|{{int}}|'''PlanetsCount (number of planets)'''
 
|}
 
|}
 
{{beginlist|planets|PlanetsCount}}
 
{{beginlist|planets|PlanetsCount}}
 
:{| class="wikitable"
 
:{| class="wikitable"
|{{a_string}}|Planet String
+
|{{a_string}}|'''Starport/Shuttleport Name'''
 
|}
 
|}
 
{{endlist|planets}}
 
{{endlist|planets}}
 
{| class="wikitable"
 
{| class="wikitable"
|{{int}}|TransportsCount (number of shuttle/starports on planet)
+
|{{int}}|'''TransportsCount (number of shuttle/starports on planet)'''
 
|}
 
|}
 
{{beginlist|transports|TransportsCount}}
 
{{beginlist|transports|TransportsCount}}
 
:{| class="wikitable"
 
:{| class="wikitable"
|{{int}}|Pos X
+
|{{float}}|'''Pos X'''
 
|-
 
|-
|{{int}}|Pos Y
+
|{{float}}|'''Pos Y'''
 
|-
 
|-
|{{int}}|Pos Z
+
|{{float}}|'''Pos Z'''
 
|}
 
|}
 
{{endlist|transports}}
 
{{endlist|transports}}
 
{| class="wikitable"
 
{| class="wikitable"
|{{int}}|TicketsCount (number of shuttle/starports on planet)
+
|{{int}}|'''TicketsCount (number of shuttle/starports on planet)'''
 
|}
 
|}
 
{{beginlist|tickets|TicketsCount}}
 
{{beginlist|tickets|TicketsCount}}
 
:{| class="wikitable"
 
:{| class="wikitable"
|{{int}}|Ticket Price (Difference - Could be TAX)
+
|{{int}}|'''Ticket Price (Difference - Could be TAX)'''
 
|}
 
|}
 
{{endlist|tickets}}
 
{{endlist|tickets}}
 
{| class="wikitable"
 
{| class="wikitable"
|{{int}}|RangesCount (number of shuttle/starports on planet)
+
|{{int}}|'''RangesCount (number of shuttle/starports on planet)'''
 
|}
 
|}
 
{{beginlist|ranges|RangesCount}}
 
{{beginlist|ranges|RangesCount}}
 
:{| class="wikitable"
 
:{| class="wikitable"
|{{bool}}|Reachable? (1=true, 0=false)
+
|{{bool}}|'''Reachable? (1=true, 0=false)'''
 
|}
 
|}
 
{{endlist|ranges}}
 
{{endlist|ranges}}
Line 59: Line 59:
  
 
Opcode     = '''4D32541F'''
 
Opcode     = '''4D32541F'''
----
 
 
* Additional Descriptions go here...
 
* --
 
* ---
 
* ----
 
  
 
|valign=top|
 
|valign=top|

Latest revision as of 09:13, 2 May 2011

Server Packet - PlanetTravelPointListResponse (4D32541F)

SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.


Struct


SHORT Operand_Count
INT OpCode
A_STRING Query Planet String
INT PlanetsCount (number of planets)

<planets count=PlanetsCount>

A_STRING Starport/Shuttleport Name

<planets/>

INT TransportsCount (number of shuttle/starports on planet)

<transports count=TransportsCount>

FLOAT Pos X
FLOAT Pos Y
FLOAT Pos Z

<transports/>

INT TicketsCount (number of shuttle/starports on planet)

<tickets count=TicketsCount>

INT Ticket Price (Difference - Could be TAX)

<tickets/>

INT RangesCount (number of shuttle/starports on planet)

<ranges count=RangesCount>

BOOL Reachable? (1=true, 0=false)

<ranges/>

Variable Descriptions


Operand_Count = 9

Opcode = 4D32541F

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Packet

06 00                                           operand count
1F 54 32 4D			                crc
dathomir					respective planet string
32 02 00 00 00 					counter of starports / shuttleports
Dathomir.Outpost				name 1
Science.Outpost					name 2
02 00 00 00 					counter of starports / shuttleports
20 B9 1A 44 					x 1
78 44 C1 40 					z
3A 40 41 45 					y
73 16 44 C2 					x 2
00 00 90 41 					z
4A 17 C6 C4 					y
02 00 00 00 					counter of starports / shuttleports
2C 01 00 00 					add to tocket price 1
2C 01 00 00 					add to ticket price 2
02 00 00 00 					counter of starports / shuttleports
01 						reachable ? 1 = true 0 = false
01