PlanetTravelPointListResponse

From SWGANH Wiki
Revision as of 10:13, 2 May 2011 by ANHcRush (Talk | contribs) (Struct)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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