Skip to content

Instantly share code, notes, and snippets.

@hugopeixoto
Created June 19, 2011 17:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hugopeixoto/1034495 to your computer and use it in GitHub Desktop.
Save hugopeixoto/1034495 to your computer and use it in GitHub Desktop.
packet :PacketLogin do |p|
p.string :name
end
packet :PlayerPhysics do |p|
p.uint64 :id
p.matrix :position
p.vector3 :dunno
end
packet :PlayerMessage do |p|
p.uint64 :id
p.string :message
end
packet :WildPokemonMatrix do |p|
p.matrix :position
p.int32 :dunno
end
packet :WildPokemonSpawn do |p|
p.matrix :dunno
p.int32 :dunno
p.int32 :dunno
p.string :dunno
end
packet :SpawnRequest do |p|
p.int32 :dunno
end
packet :MapItem do |p|
p.int32 :dunno
p.matrix :dunno
p.string :dunno
end
packet :OpponentPokemonDetail do |p|
p.byte :dunno
p.byte :dunno
p.int16 :dunno
p.int32 :dunno
p.bool :dunno
p.float :dunno
p.string :nickname
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment