コード例 #1
0
 def MakeKillDragObject(self, notification):
     fakeNode = KeyVal()
     kmID, kmHash = KillMailBaseFormatter.GetKillMailIDandHash(
         notification.data)
     theRealKm = sm.RemoteSvc('warStatisticMgr').GetKillMail(kmID, kmHash)
     fakeNode.mail = theRealKm
     fakeNode.__guid__ = 'listentry.KillMail'
     return [fakeNode]
コード例 #2
0
ファイル: killMailVictim.py プロジェクト: connoryang/1v1dec
 def MakeData(killMailID, killMailHash, victimShipTypeID):
     d = {VICTIM_SHIP_TYPE_ID: victimShipTypeID}
     d.update(KillMailBaseFormatter.MakeData(killMailID, killMailHash))
     return d
コード例 #3
0
 def OpenKillReport(self, notification):
     import eve.client.script.ui.shared.killReportUtil as killReportUtil
     kmID, kmHash = KillMailBaseFormatter.GetKillMailIDandHash(
         notification.data)
     theRealKm = sm.RemoteSvc('warStatisticMgr').GetKillMail(kmID, kmHash)
     killReportUtil.OpenKillReport(theRealKm)
コード例 #4
0
 def MakeData(killMailID, killMailHash, victimID, victimShipTypeID):
     d = {'victimID': victimID, 'victimShipTypeID': victimShipTypeID}
     d.update(
         KillMailBaseFormatter.MakeData(killMailID=killMailID,
                                        killMailHash=killMailHash))
     return d