Difference between revisions of "Protocol BaseDelta"

From SWGANH Wiki
Jump to: navigation, search
 
Line 4: Line 4:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 22: Line 24:
 
|-
 
|-
 
|}
 
|}
 
+
|}
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----

Latest revision as of 19:27, 26 November 2007

Protocol Info - Baselines & Deltas

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 Opperand_Count
INT Opcode
LONG ObjectID
INT Object_TYPE
BYTE TYPE_#
INT Object_Data_Size
... ...

Variable Descriptions


Opperand_Count = 5

Opcode = 68A75F0C


  • Object_ID:
A 64bit ID number assigned uniquely to objects.
  • Object_TYPE:
A 4 byte integer made of characters used to identify the
object type. for a list of object types see below.

Note: This is just a string used in the debugging message. Parsing methods are set on object creation.

  • TYPE_#:
This is a single byte integer used to identify what type
of update is being done to the object based on the objects type.
Example:
TYPE = CREO
TYPE_#: 1, 3, 4, 6, 7, 8, 9...
Each value contains a different part or data to be updated to the object.
Some aren't used at all. The available ones will be listed.
  • Object_Data_Size:
Size of DATA below
  • DATA:
The rest of the packet is just initialization data for the object.
This gets parsed uniquely depending on the Object_TYPE and TYPE_#.
See the corresponding list for separate structs of these Objects.


SWG Protocol Baselines

NAME Name Type 01 Type 02 Type 03 Type 04 Type 05 Type 06 Type 07 Type 08 Type 09
BMRK Battlefield Marker BMRK03 BMRK06
BUIO Building Object BUIO03 BUIO06
CREO Creature Object CREO01 CREO03 CREO04 CREO06 CREO08 CREO09
FCYT Factory Crate FCYT03 FCYT06 FCYT08 FCYT09
GILD Guild Object GILD03 GILD06
GRUP Group Object GRUP03 GRUP06
HINO Harvester Installation Object HINO03 HINO06 HINO07
INSO Installation Object INSO03 INSO06 INSO07
ITNO Intangible Object ITNO03 ITNO06
MINO Manufacture Installation MINO03 MINO06
MISO Mission Object MISO03 MISO06 MISO08 MISO09
MSCO Manufacture Schematic Object MSCO03 MSCO06 MSCO07 MSCO08 MSCO09
PLAY Player Object PLAY03 PLAY06 PLAY08 PLAY09
RCNO Resource Container Object RCNO03 RCNO06 RCNO08 RCNO09
SCLT Cell Object SCLT03 SCLT06 SCLT08 SCLT09
STAO Static Object STAO03 STAO06
SHIP Ship Object SHIP01 SHIP03 SHIP04 SHIP06 SHIP08 SHIP09
TANO Tangible Object TANO03 TANO06 TANO07 TANO08 TANO09
WAYP Waypoint Object WAYP03 WAYP06
WEAO Wearable Object WEAO03 WEAO06 WEAO08 WEAO09

SWG Protocol Deltas

NAME Name Type 01 Type 02 Type 03 Type 04 Type 05 Type 06 Type 07 Type 08 Type 09
BMRK Battlefield Marker BMRK03 BMRK06
BUIO Building Object BUIO03 BUIO06
CREO Creature Object CREO01 CREO03 CREO04 CREO06 CREO08 CREO09
FCYT Factory Crate FCYT03 FCYT06 FCYT08 FCYT09
GILD Guild Object GILD03 GILD06
GRUP Group Object GRUP03 GRUP06
HINO Harvester Installation Object HINO03 HINO06 HINO07
INSO Installation Object INSO03 INSO06 INSO07
ITNO Intangible Object ITNO03 ITNO06 ITNO08 ITNO09
MINO Manufacture Installation MINO03 MINO06
MISO Mission Object MISO03 MISO06 MISO08 MISO09
MSCO Manufacture Schematic Object MSCO03 MSCO06 MSCO07 MSCO08 MSCO09
PLAY Player Object PLAY03 PLAY06 PLAY08 PLAY09
RCNO Resource Container Object RCNO03 RCNO06 RCNO08 RCNO09
SCLT Cell Object SCLT03 SCLT06 SCLT08 SCLT09
STAO Static Object STAO03 STAO06
SHIP Ship Object SHIP01 SHIP03 SHIP04 SHIP06 SHIP08 SHIP09
TANO Tangible Object TANO03 TANO06 TANO07 TANO08 TANO09
WAYP Waypoint Object WAYP01 WAYP03 WAYP06
WEAO Wearable Object WEAO03 WEAO06 WEAO08 WEAO09