Created
December 21, 2010 00:23
-
-
Save TkTech/749288 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# defines.py | |
# pymc | |
# | |
# Created by Tyler Kennedy on 2010-12-20. | |
# Copyright 2010 Tyler Kennedy. All rights reserved. | |
# | |
from pymc.core.enum import Enum | |
PacketType = Enum({ | |
'Login': 0x01, | |
'Handshake': 0x02, | |
'Chat': 0x03, | |
'Time': 0x04, | |
'Inventory': 0x05, | |
'Spawn': 0x06, | |
'Unknown1': 0x07, | |
'Health': 0x08, | |
'Respawn': 0x09, | |
'MobSpawn': 0x18, | |
'Kick': 0xFF | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment