events.py (690B)
1 #Embedded file name: C:\BuildAgent\work\20d73f1b24eed06e\eve\release\V24.01\eve\client\script\ui\shared\vgs\events.py 2 from eveexceptions.exceptionEater import ExceptionEater 3 import uthread 4 5 def LogOpenOffer(offerID): 6 _LogEvent(['offerID'], 'OpenOffer', offerID) 7 8 9 def LogPurchaseAurum(balance, location): 10 _LogEvent(['aurumBalance', 'location'], 'PurchaseAurum', balance, location) 11 12 13 def LogPurchaseOffer(offerID, quantity): 14 _LogEvent(['offerID', 'quantity'], 'PurchaseOffer', offerID, quantity) 15 16 17 def _LogEvent(columnNames, eventName, *args): 18 with ExceptionEater('eventLog'): 19 uthread.new(sm.ProxySvc('eventLog').LogClientEvent, 'vgs', columnNames, eventName, *args)