{"action":"created","comment":{"url":"https://api.github.com/repos/fortressforever/fortressforever/pulls/comments/78301654","id":78301654,"diff_hunk":"@@ -102,18 +102,15 @@ struct LocationInfo\n // add a simple way to keep track of recent attackers (by player owner for buildables) for assists\r\n struct RecentAttackerInfo\r\n {\r\n-\tint playerIndex;\r\n+\tCHandle<CFFPlayer> hPlayer;\r\n \tfloat totalDamage; // note: before armor scale. dont really care. just tracks raw damage received\r\n \tfloat timestamp;\r\n \r\n-\tCFFPlayer *pFFPlayer;\r\n-\r\n-\tRecentAttackerInfo( int idx, float dmg, float ts, CFFPlayer *pPlayer)\r\n+\tRecentAttackerInfo(CFFPlayer *pPlayer, float dmg, float ts)\r\n \t{\r\n-\t\tplayerIndex = idx;\r\n+\t\thPlayer = pPlayer;\r","path":"dlls/ff/ff_player.h","position":15,"original_position":15,"commit_id":"e9898b1a23c4079c1dd8b92637fe454f7895ffb1","original_commit_id":"e9898b1a23c4079c1dd8b92637fe454f7895ffb1","user":{"login":"AfterShockFF","id":10003487,"avatar_url":"https://avatars.githubusercontent.com/u/10003487?v=3","gravatar_id":"","url":"https://api.github.com/users/AfterShockFF","html_url":"https://github.com/AfterShockFF","followers_url":"https://api.github.com/users/AfterShockFF/followers","following_url":"https://api.github.com/users/AfterShockFF/following{/other_user}","gists_url":"https://api.github.com/users/AfterShockFF/gists{/gist_id}","starred_url":"https://api.github.com/users/AfterShockFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AfterShockFF/subscriptions","organizations_url":"https://api.github.com/users/AfterShockFF/orgs","repos_url":"https://api.github.com/users/AfterShockFF/repos","events_url":"https://api.github.com/users/AfterShockFF/events{/privacy}","received_events_url":"https://api.github.com/users/AfterShockFF/received_events","type":"User","site_admin":false},"body":"Does this casting happen by magic then?","created_at":"2016-09-11T20:16:22Z","updated_at":"2016-09-11T20:16:22Z","html_url":"https://github.com/fortressforever/fortressforever/pull/319#discussion_r78301654","pull_request_url":"https://api.github.com/repos/fortressforever/fortressforever/pulls/319","_links":{"self":{"href":"https://api.github.com/repos/fortressforever/fortressforever/pulls/comments/78301654"},"html":{"href":"https://github.com/fortressforever/fortressforever/pull/319#discussion_r78301654"},"pull_request":{"href":"https://api.github.com/repos/fortressforever/fortressforever/pulls/319"}}},"pull_request":{"url":"https://api.github.com/repos/fortressforever/fortressforever/pulls/319","id":84795496,"html_url":"https://github.com/fortressforever/fortressforever/pull/319","diff_url":"https://github.com/fortressforever/fortressforever/pull/319.diff","patch_url":"https://github.com/fortressforever/fortressforever/pull/319.patch","issue_url":"https://api.github.com/repos/fortressforever/fortressforever/issues/319","number":319,"state":"open","locked":false,"title":"Assists: send user ID over the network rather than entindex","user":{"login":"squeek502","id":2389051,"avatar_url":"https://avatars.githubusercontent.com/u/2389051?v=3","gravatar_id":"","url":"https://api.github.com/users/squeek502","html_url":"https://github.com/squeek502","followers_url":"https://api.github.com/users/squeek502/followers","following_url":"https://api.github.com/users/squeek502/following{/other_user}","gists_url":"https://api.github.com/users/squeek502/gists{/gist_id}","starred_url":"https://api.github.com/users/squeek502/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/squeek502/subscriptions","organizations_url":"https://api.github.com/users/squeek502/orgs","repos_url":"https://api.github.com/users/squeek502/repos","events_url":"https://api.github.com/users/squeek502/events{/privacy}","received_events_url":"https://api.github.com/users/squeek502/received_events","type":"User","site_admin":false},"body":"Alternate solution for #318 ","created_at":"2016-09-11T19:30:33Z","updated_at":"2016-09-11T20:16:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"185a3db879f4cdb6b42d2576735ff838176c889d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fortressforever/fortressforever/pulls/319/commits","review_comments_url":"https://api.github.com/repos/fortressforever/fortressforever/pulls/319/comments","review_comment_url":"https://api.github.com/repos/fortressforever/fortressforever/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fortressforever/fortressforever/issues/319/comments","statuses_url":"https://api.github.com/repos/fortressforever/fortressforever/statuses/e9898b1a23c4079c1dd8b92637fe454f7895ffb1","head":{"label":"fortressforever:fixes/assist-networking","ref":"fixes/assist-networking","sha":"e9898b1a23c4079c1dd8b92637fe454f7895ffb1","user":{"login":"fortressforever","id":2388970,"avatar_url":"https://avatars.githubusercontent.com/u/2388970?v=3","gravatar_id":"","url":"https://api.github.com/users/fortressforever","html_url":"https://github.com/fortressforever","followers_url":"https://api.github.com/users/fortressforever/followers","following_url":"https://api.github.com/users/fortressforever/following{/other_user}","gists_url":"https://api.github.com/users/fortressforever/gists{/gist_id}","starred_url":"https://api.github.com/users/fortressforever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fortressforever/subscriptions","organizations_url":"https://api.github.com/users/fortressforever/orgs","repos_url":"https://api.github.com/users/fortressforever/repos","events_url":"https://api.github.com/users/fortressforever/events{/privacy}","received_events_url":"https://api.github.com/users/fortressforever/received_events","type":"Organization","site_admin":false},"repo":{"id":25147931,"name":"fortressforever","full_name":"fortressforever/fortressforever","owner":{"login":"fortressforever","id":2388970,"avatar_url":"https://avatars.githubusercontent.com/u/2388970?v=3","gravatar_id":"","url":"https://api.github.com/users/fortressforever","html_url":"https://github.com/fortressforever","followers_url":"https://api.github.com/users/fortressforever/followers","following_url":"https://api.github.com/users/fortressforever/following{/other_user}","gists_url":"https://api.github.com/users/fortressforever/gists{/gist_id}","starred_url":"https://api.github.com/users/fortressforever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fortressforever/subscriptions","organizations_url":"https://api.github.com/users/fortressforever/orgs","repos_url":"https://api.github.com/users/fortressforever/repos","events_url":"https://api.github.com/users/fortressforever/events{/privacy}","received_events_url":"https://api.github.com/users/fortressforever/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fortressforever/fortressforever","description":"A Team Fortress mod on the Source Engine","fork":false,"url":"https://api.github.com/repos/fortressforever/fortressforever","forks_url":"https://api.github.com/repos/fortressforever/fortressforever/forks","keys_url":"https://api.github.com/repos/fortressforever/fortressforever/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fortressforever/fortressforever/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fortressforever/fortressforever/teams","hooks_url":"https://api.github.com/repos/fortressforever/fortressforever/hooks","issue_events_url":"https://api.github.com/repos/fortressforever/fortressforever/issues/events{/number}","events_url":"https://api.github.com/repos/fortressforever/fortressforever/events","assignees_url":"https://api.github.com/repos/fortressforever/fortressforever/assignees{/user}","branches_url":"https://api.github.com/repos/fortressforever/fortressforever/branches{/branch}","tags_url":"https://api.github.com/repos/fortressforever/fortressforever/tags","blobs_url":"https://api.github.com/repos/fortressforever/fortressforever/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fortressforever/fortressforever/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fortressforever/fortressforever/git/refs{/sha}","trees_url":"https://api.github.com/repos/fortressforever/fortressforever/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fortressforever/fortressforever/statuses/{sha}","languages_url":"https://api.github.com/repos/fortressforever/fortressforever/languages","stargazers_url":"https://api.github.com/repos/fortressforever/fortressforever/stargazers","contributors_url":"https://api.github.com/repos/fortressforever/fortressforever/contributors","subscribers_url":"https://api.github.com/repos/fortressforever/fortressforever/subscribers","subscription_url":"https://api.github.com/repos/fortressforever/fortressforever/subscription","commits_url":"https://api.github.com/repos/fortressforever/fortressforever/commits{/sha}","git_commits_url":"https://api.github.com/repos/fortressforever/fortressforever/git/commits{/sha}","comments_url":"https://api.github.com/repos/fortressforever/fortressforever/comments{/number}","issue_comment_url":"https://api.github.com/repos/fortressforever/fortressforever/issues/comments{/number}","contents_url":"https://api.github.com/repos/fortressforever/fortressforever/contents/{+path}","compare_url":"https://api.github.com/repos/fortressforever/fortressforever/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fortressforever/fortressforever/merges","archive_url":"https://api.github.com/repos/fortressforever/fortressforever/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fortressforever/fortressforever/downloads","issues_url":"https://api.github.com/repos/fortressforever/fortressforever/issues{/number}","pulls_url":"https://api.github.com/repos/fortressforever/fortressforever/pulls{/number}","milestones_url":"https://api.github.com/repos/fortressforever/fortressforever/milestones{/number}","notifications_url":"https://api.github.com/repos/fortressforever/fortressforever/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fortressforever/fortressforever/labels{/name}","releases_url":"https://api.github.com/repos/fortressforever/fortressforever/releases{/id}","deployments_url":"https://api.github.com/repos/fortressforever/fortressforever/deployments","created_at":"2014-10-13T07:21:19Z","updated_at":"2016-09-06T05:11:08Z","pushed_at":"2016-09-11T20:12:31Z","git_url":"git://github.com/fortressforever/fortressforever.git","ssh_url":"git@github.com:fortressforever/fortressforever.git","clone_url":"https://github.com/fortressforever/fortressforever.git","svn_url":"https://github.com/fortressforever/fortressforever","homepage":"http://www.fortress-forever.com","size":74285,"stargazers_count":35,"watchers_count":35,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":134,"forks":10,"open_issues":134,"watchers":35,"default_branch":"beta"}},"base":{"label":"fortressforever:beta","ref":"beta","sha":"f7832524dabdbfe0832a7e9961773d7e8d36ab4b","user":{"login":"fortressforever","id":2388970,"avatar_url":"https://avatars.githubusercontent.com/u/2388970?v=3","gravatar_id":"","url":"https://api.github.com/users/fortressforever","html_url":"https://github.com/fortressforever","followers_url":"https://api.github.com/users/fortressforever/followers","following_url":"https://api.github.com/users/fortressforever/following{/other_user}","gists_url":"https://api.github.com/users/fortressforever/gists{/gist_id}","starred_url":"https://api.github.com/users/fortressforever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fortressforever/subscriptions","organizations_url":"https://api.github.com/users/fortressforever/orgs","repos_url":"https://api.github.com/users/fortressforever/repos","events_url":"https://api.github.com/users/fortressforever/events{/privacy}","received_events_url":"https://api.github.com/users/fortressforever/received_events","type":"Organization","site_admin":false},"repo":{"id":25147931,"name":"fortressforever","full_name":"fortressforever/fortressforever","owner":{"login":"fortressforever","id":2388970,"avatar_url":"https://avatars.githubusercontent.com/u/2388970?v=3","gravatar_id":"","url":"https://api.github.com/users/fortressforever","html_url":"https://github.com/fortressforever","followers_url":"https://api.github.com/users/fortressforever/followers","following_url":"https://api.github.com/users/fortressforever/following{/other_user}","gists_url":"https://api.github.com/users/fortressforever/gists{/gist_id}","starred_url":"https://api.github.com/users/fortressforever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fortressforever/subscriptions","organizations_url":"https://api.github.com/users/fortressforever/orgs","repos_url":"https://api.github.com/users/fortressforever/repos","events_url":"https://api.github.com/users/fortressforever/events{/privacy}","received_events_url":"https://api.github.com/users/fortressforever/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fortressforever/fortressforever","description":"A Team Fortress mod on the Source Engine","fork":false,"url":"https://api.github.com/repos/fortressforever/fortressforever","forks_url":"https://api.github.com/repos/fortressforever/fortressforever/forks","keys_url":"https://api.github.com/repos/fortressforever/fortressforever/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fortressforever/fortressforever/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fortressforever/fortressforever/teams","hooks_url":"https://api.github.com/repos/fortressforever/fortressforever/hooks","issue_events_url":"https://api.github.com/repos/fortressforever/fortressforever/issues/events{/number}","events_url":"https://api.github.com/repos/fortressforever/fortressforever/events","assignees_url":"https://api.github.com/repos/fortressforever/fortressforever/assignees{/user}","branches_url":"https://api.github.com/repos/fortressforever/fortressforever/branches{/branch}","tags_url":"https://api.github.com/repos/fortressforever/fortressforever/tags","blobs_url":"https://api.github.com/repos/fortressforever/fortressforever/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fortressforever/fortressforever/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fortressforever/fortressforever/git/refs{/sha}","trees_url":"https://api.github.com/repos/fortressforever/fortressforever/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fortressforever/fortressforever/statuses/{sha}","languages_url":"https://api.github.com/repos/fortressforever/fortressforever/languages","stargazers_url":"https://api.github.com/repos/fortressforever/fortressforever/stargazers","contributors_url":"https://api.github.com/repos/fortressforever/fortressforever/contributors","subscribers_url":"https://api.github.com/repos/fortressforever/fortressforever/subscribers","subscription_url":"https://api.github.com/repos/fortressforever/fortressforever/subscription","commits_url":"https://api.github.com/repos/fortressforever/fortressforever/commits{/sha}","git_commits_url":"https://api.github.com/repos/fortressforever/fortressforever/git/commits{/sha}","comments_url":"https://api.github.com/repos/fortressforever/fortressforever/comments{/number}","issue_comment_url":"https://api.github.com/repos/fortressforever/fortressforever/issues/comments{/number}","contents_url":"https://api.github.com/repos/fortressforever/fortressforever/contents/{+path}","compare_url":"https://api.github.com/repos/fortressforever/fortressforever/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fortressforever/fortressforever/merges","archive_url":"https://api.github.com/repos/fortressforever/fortressforever/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fortressforever/fortressforever/downloads","issues_url":"https://api.github.com/repos/fortressforever/fortressforever/issues{/number}","pulls_url":"https://api.github.com/repos/fortressforever/fortressforever/pulls{/number}","milestones_url":"https://api.github.com/repos/fortressforever/fortressforever/milestones{/number}","notifications_url":"https://api.github.com/repos/fortressforever/fortressforever/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fortressforever/fortressforever/labels{/name}","releases_url":"https://api.github.com/repos/fortressforever/fortressforever/releases{/id}","deployments_url":"https://api.github.com/repos/fortressforever/fortressforever/deployments","created_at":"2014-10-13T07:21:19Z","updated_at":"2016-09-06T05:11:08Z","pushed_at":"2016-09-11T20:12:31Z","git_url":"git://github.com/fortressforever/fortressforever.git","ssh_url":"git@github.com:fortressforever/fortressforever.git","clone_url":"https://github.com/fortressforever/fortressforever.git","svn_url":"https://github.com/fortressforever/fortressforever","homepage":"http://www.fortress-forever.com","size":74285,"stargazers_count":35,"watchers_count":35,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":134,"forks":10,"open_issues":134,"watchers":35,"default_branch":"beta"}},"_links":{"self":{"href":"https://api.github.com/repos/fortressforever/fortressforever/pulls/319"},"html":{"href":"https://github.com/fortressforever/fortressforever/pull/319"},"issue":{"href":"https://api.github.com/repos/fortressforever/fortressforever/issues/319"},"comments":{"href":"https://api.github.com/repos/fortressforever/fortressforever/issues/319/comments"},"review_comments":{"href":"https://api.github.com/repos/fortressforever/fortressforever/pulls/319/comments"},"review_comment":{"href":"https://api.github.com/repos/fortressforever/fortressforever/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fortressforever/fortressforever/pulls/319/commits"},"statuses":{"href":"https://api.github.com/repos/fortressforever/fortressforever/statuses/e9898b1a23c4079c1dd8b92637fe454f7895ffb1"}}}}
{"actor":{"display_login":"AfterShockFF"}}