Difference between revisions of "Protocol BaseDelta"
From SWGANH Wiki
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{PageHeader|Protocol Info|Baselines & Deltas}} | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | |||
| − | |||
| − | |||
===Struct=== | ===Struct=== | ||
---- | ---- | ||
| − | + | {| align="center" | |
| + | |- | ||
| + | || | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| Line 26: | Line 13: | ||
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Opcode''' | |align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Opcode''' | ||
|- | |- | ||
| − | |align="center" style="background:# | + | |align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''ObjectID''' |
|- | |- | ||
| − | |align="center" style="background:# | + | |align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Object_TYPE''' |
| + | |- | ||
| + | |align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''TYPE_#''' | ||
| + | |- | ||
| + | |align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Object_Data_Size''' | ||
| + | |- | ||
| + | |align="center" style="background:#C6C600; color:white;"|'''...'''||'''...''' | ||
|- | |- | ||
|} | |} | ||
| − | + | |} | |
===Variable Descriptions=== | ===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= | =SWG Protocol Baselines= | ||
| + | {|align="center" | ||
| + | |- | ||
| + | || | ||
{{PacketBaselines}} | {{PacketBaselines}} | ||
| + | |} | ||
=SWG Protocol Deltas= | =SWG Protocol Deltas= | ||
| + | {|align="center" | ||
| + | |- | ||
| + | || | ||
{{PacketDeltas}} | {{PacketDeltas}} | ||
| + | |} | ||
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
|
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
SWG Protocol Deltas
|