event.py (814B)
1 #Embedded file name: C:\BuildAgent\work\20d73f1b24eed06e\eve\release\V24.01\eve\client\script\ui\shared\skins\event.py 2 from eveexceptions.exceptionEater import ExceptionEater 3 import uthread 4 CONTEXT_UNKNOWN = 'Unknown' 5 6 def LogBuySkinAur(shipTypeID, materialID, context = None): 7 context = context or CONTEXT_UNKNOWN 8 _LogEvent(['shipTypeID', 'materialID', 'context'], 'BuySkinAur', shipTypeID, materialID, context) 9 10 11 def LogBuySkinIsk(shipTypeID, materialID, context = None): 12 context = context or CONTEXT_UNKNOWN 13 _LogEvent(['shipTypeID', 'materialID', 'context'], 'BuySkinIsk', shipTypeID, materialID, context) 14 15 16 def _LogEvent(columnNames, eventName, *args): 17 with ExceptionEater('eventLog'): 18 uthread.new(sm.ProxySvc('eventLog').LogClientEvent, 'shipskins', columnNames, eventName, *args)