Difference between revisions of "Classic Protocol Extension"

From wiki.vg
Jump to navigation Jump to search
(Created page with "==Negotiation== ===ExtInfo=== {| class="wikitable" |- class="row0" | class="col0" | Packet ID | class="col1" | Field Name | class="col2" | Field Type | class="col3" | Example ...")
 
(Fixed ExtEntry packet ID, made ExtensionVersion into an int)
Line 33: Line 33:
 
| class="col4" | Notes
 
| class="col4" | Notes
 
|- class="row1"
 
|- class="row1"
| class="col0 centeralign" rowspan="2" | 0x10
+
| class="col0 centeralign" rowspan="2" | 0x11
 
| class="col1 centeralign" | ExtName
 
| class="col1 centeralign" | ExtName
 
| class="col2 centeralign" | string
 
| class="col2 centeralign" | string
Line 40: Line 40:
 
|- class="row2"
 
|- class="row2"
 
| class="col0 centeralign" | Version
 
| class="col0 centeralign" | Version
| class="col1 centeralign" | short
+
| class="col1 centeralign" | int
 
| class="col2 centeralign" | 1
 
| class="col2 centeralign" | 1
 
| class="col3" |
 
| class="col3" |
 
|- class="row8"
 
|- class="row8"
 
| class="col0" | Total Size:
 
| class="col0" | Total Size:
| class="col1 rightalign" colspan="4" | 67 bytes
+
| class="col1 rightalign" colspan="4" | 69 bytes
 
|}
 
|}

Revision as of 14:59, 11 October 2012

Negotiation

ExtInfo

Packet ID Field Name Field Type Example Notes
0x10 AppName string MyServer Client or server software name
ExtensionCount short 1
Total Size: 67 bytes

ExtEntry

Packet ID Field Name Field Type Example Notes
0x11 ExtName string MyExtension Name of a supported extension
Version int 1
Total Size: 69 bytes