kaelima/WowPacketParser — Issue #17: SniffData explanation
Author: DDuarte
Created: 2011-12-13 21:02:48+00:00
State: open

**Move to wiki**

# SniffData:

## Structure
- Build
- SniffName
- Timestamp
- ```SELECT FROM_UNIXTIME(`Timestamp`) FROM... ```
- ObjectType
- None, Spell, Map, LFGDungeon, Battleground, Unit, GameObject, Item, Quest, Opcode, PageText, NpcText, Gossip
- Data1
- Data2

## Data1 & Data2

If `ObjectType` is Spell, Unit, GameObject, Item, Quest, PageText, NpcText:
- `Data1` is the id of that object
- `Data2` is a string representing the origin of the id (i.e "spawn" or "query_response")

If `ObjectType` is Gossip:
- `Data1` is the gossip's menu id
- `Data2` is the npc id

Other ObjectTypes are not used