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)
|
2021-07-08 23:51:16 -05:00
|
|
|
if not __debug__ or __execWarnings__:
|
2019-12-30 00:07:56 -06:00
|
|
|
print('EXECWARNING ToontownAIMsgTypes: %s' % TTAIMsgName2Id)
|
2019-11-02 17:27:54 -05:00
|
|
|
printStack()
|
2019-12-30 00:07:56 -06:00
|
|
|
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
|