{"action":"created","issue":{"url":"https://api.github.com/repos/CBATeam/CBA_A3/issues/375","repository_url":"https://api.github.com/repos/CBATeam/CBA_A3","labels_url":"https://api.github.com/repos/CBATeam/CBA_A3/issues/375/labels{/name}","comments_url":"https://api.github.com/repos/CBATeam/CBA_A3/issues/375/comments","events_url":"https://api.github.com/repos/CBATeam/CBA_A3/issues/375/events","html_url":"https://github.com/CBATeam/CBA_A3/pull/375","id":159769678,"number":375,"title":"add '_thisArgs', '_thisId', '_thisType' and '_thisFnc'  and  to CBA events","user":{"login":"commy2","id":6576312,"avatar_url":"https://avatars.githubusercontent.com/u/6576312?v=3","gravatar_id":"","url":"https://api.github.com/users/commy2","html_url":"https://github.com/commy2","followers_url":"https://api.github.com/users/commy2/followers","following_url":"https://api.github.com/users/commy2/following{/other_user}","gists_url":"https://api.github.com/users/commy2/gists{/gist_id}","starred_url":"https://api.github.com/users/commy2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/commy2/subscriptions","organizations_url":"https://api.github.com/users/commy2/orgs","repos_url":"https://api.github.com/users/commy2/repos","events_url":"https://api.github.com/users/commy2/events{/privacy}","received_events_url":"https://api.github.com/users/commy2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CBATeam/CBA_A3/labels/Feature","name":"Feature","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/CBATeam/CBA_A3/milestones/15","html_url":"https://github.com/CBATeam/CBA_A3/milestones/2.4.2","labels_url":"https://api.github.com/repos/CBATeam/CBA_A3/milestones/15/labels","id":1811610,"number":15,"title":"2.4.2","description":"For any issues that might come up","creator":{"login":"Killswitch00","id":12647603,"avatar_url":"https://avatars.githubusercontent.com/u/12647603?v=3","gravatar_id":"","url":"https://api.github.com/users/Killswitch00","html_url":"https://github.com/Killswitch00","followers_url":"https://api.github.com/users/Killswitch00/followers","following_url":"https://api.github.com/users/Killswitch00/following{/other_user}","gists_url":"https://api.github.com/users/Killswitch00/gists{/gist_id}","starred_url":"https://api.github.com/users/Killswitch00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Killswitch00/subscriptions","organizations_url":"https://api.github.com/users/Killswitch00/orgs","repos_url":"https://api.github.com/users/Killswitch00/repos","events_url":"https://api.github.com/users/Killswitch00/events{/privacy}","received_events_url":"https://api.github.com/users/Killswitch00/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":7,"state":"open","created_at":"2016-06-06T18:31:23Z","updated_at":"2016-06-11T12:33:06Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-06-11T11:39:32Z","updated_at":"2016-06-11T16:46:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CBATeam/CBA_A3/pulls/375","html_url":"https://github.com/CBATeam/CBA_A3/pull/375","diff_url":"https://github.com/CBATeam/CBA_A3/pull/375.diff","patch_url":"https://github.com/CBATeam/CBA_A3/pull/375.patch"},"body":"Closes: #374\r\n\r\nAdds the same meta data `CBA_fnc_addBISEventHandler` has to the CBA events.\r\n\r\n- adds optional parameter to `CBA_fnc_addEventHandler` to assign arguments to the event.\r\n\r\n`_thisArgs` - Arguments passed when adding the event handler.\r\n`_thisId` - Id that can be used to remove the event via `CBA_fnc_removeEventHandler`\r\n`_thisType` - the name of the event (\"testEvent\" in `[\"testEvent\", ...] call CBA_fnc_addEventHandler`)\r\n`_thisFnc` - function that is executed when the event happens\r\n\r\nNote: If the arguments passed to `CBA_fnc_addEventHandler` are an array, they are stored as array reference and not as copy. That means you can modify these arguments even after the event was added.\r\n\r\n~~Needs some more testing, will do later ...~~"},"comment":{"url":"https://api.github.com/repos/CBATeam/CBA_A3/issues/comments/225374060","html_url":"https://github.com/CBATeam/CBA_A3/pull/375#issuecomment-225374060","issue_url":"https://api.github.com/repos/CBATeam/CBA_A3/issues/375","id":225374060,"user":{"login":"commy2","id":6576312,"avatar_url":"https://avatars.githubusercontent.com/u/6576312?v=3","gravatar_id":"","url":"https://api.github.com/users/commy2","html_url":"https://github.com/commy2","followers_url":"https://api.github.com/users/commy2/followers","following_url":"https://api.github.com/users/commy2/following{/other_user}","gists_url":"https://api.github.com/users/commy2/gists{/gist_id}","starred_url":"https://api.github.com/users/commy2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/commy2/subscriptions","organizations_url":"https://api.github.com/users/commy2/orgs","repos_url":"https://api.github.com/users/commy2/repos","events_url":"https://api.github.com/users/commy2/events{/privacy}","received_events_url":"https://api.github.com/users/commy2/received_events","type":"User","site_admin":false},"created_at":"2016-06-11T16:46:39Z","updated_at":"2016-06-11T16:46:39Z","body":"My point was that `{x1=_this;}` is a extremly simple function. The bigger the event function is, the smaller the share of the overhead of `CBA_fnc_localEvent` becomes."}}
{"actor":{"display_login":"commy2"}}