oldschool-toontown/toontown/ai/ToontownAIMsgTypes.py

17 lines
543 B
Python
Raw Normal View History

2019-11-02 17:27:54 -05:00
from otp.ai.AIMsgTypes import *
TTAIMsgName2Id = {'DBSERVER_GET_ESTATE': 1040,
'DBSERVER_GET_ESTATE_RESP': 1041,
'PARTY_MANAGER_UD_TO_ALL_AI': 1042,
'IN_GAME_NEWS_MANAGER_UD_TO_ALL_AI': 1043,
'WHITELIST_MANAGER_UD_TO_ALL_AI': 1044}
TTAIMsgId2Names = invertDictLossless(TTAIMsgName2Id)
if not __debug__ or __execWarnings__:
print('EXECWARNING ToontownAIMsgTypes: %s' % TTAIMsgName2Id)
2019-11-02 17:27:54 -05:00
printStack()
for name, value in list(TTAIMsgName2Id.items()):
exec('%s = %s' % (name, value))
2019-11-02 17:27:54 -05:00
del name
del value
DBSERVER_PET_OBJECT_TYPE = 5