Skip to content

Instantly share code, notes, and snippets.

@benfalk
Created December 11, 2017 14:05
Show Gist options
  • Save benfalk/8ada47b0801dd5525474813e56df680f to your computer and use it in GitHub Desktop.
Save benfalk/8ada47b0801dd5525474813e56df680f to your computer and use it in GitHub Desktop.
LoginPacket:
from: server
version: 1104
code: 0xA7
preferedProtocol: TCP
body:
- addonsAndType:
size: 1
body:
- addons:
filter: 0xF0
type: bitflag
flags:
- value: 0x80
flag: "housing"
- value: 0x40
flag: "new fronteirs"
- type:
filter: 0b00001111
type: enumeration
enumerations:
- value: 1
enum: "classic"
- value: 2
enum: "shrouded isles"
- major:
size: 1
type: byte
- minor:
size: 1
type: byte
- patch:
size: 1
type: char
- revision:
size: 1
type: byte
- build:
size: 2
type: ushort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment