Dota 2 Workshop Tools/Scripting/API/CDOTA PlayerResource.GetKillsDoneToHero: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
||
| Line 6: | Line 6: | ||
''' int GetKillsDoneToHero(int '' | ''' int GetKillsDoneToHero(int ''attackerPlayerID'', int ''victimPlayerID'') ''' | ||
'' | ''Returns the number of times the attacker (first argument) has killed the victim (second argument)'' | ||
| Line 19: | Line 19: | ||
|- | |- | ||
| int | | int | ||
| | | attackerPlayerID | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| int | | int | ||
| | | victimPlayerID | ||
| No Description Set | | No Description Set | ||
|} | |} | ||
Revision as of 06:07, 27 August 2014
Function Description
int GetKillsDoneToHero(int attackerPlayerID, int victimPlayerID)
Returns the number of times the attacker (first argument) has killed the victim (second argument)
Parameters
| Type | Name | Description |
|---|---|---|
| int | attackerPlayerID | No Description Set |
| int | victimPlayerID | No Description Set |
Returns
int - No Description Set