{"action":"created","issue":{"url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/1577","repository_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine","labels_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/1577/labels{/name}","comments_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/1577/comments","events_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/1577/events","html_url":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/1577","id":184801614,"number":1577,"title":"C# modding","user":{"login":"dusho","id":12616499,"avatar_url":"https://avatars.githubusercontent.com/u/12616499?v=3","gravatar_id":"","url":"https://api.github.com/users/dusho","html_url":"https://github.com/dusho","followers_url":"https://api.github.com/users/dusho/followers","following_url":"https://api.github.com/users/dusho/following{/other_user}","gists_url":"https://api.github.com/users/dusho/gists{/gist_id}","starred_url":"https://api.github.com/users/dusho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dusho/subscriptions","organizations_url":"https://api.github.com/users/dusho/orgs","repos_url":"https://api.github.com/users/dusho/repos","events_url":"https://api.github.com/users/dusho/events{/privacy}","received_events_url":"https://api.github.com/users/dusho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-10-24T10:18:45Z","updated_at":"2016-10-26T17:43:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/pulls/1577","html_url":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/1577","diff_url":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/1577.diff","patch_url":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/1577.patch"},"body":"Introduces possibility to use C# to write mods. \r\n- There is new CSharp folder next to old LUA one that will contain .cs files with methods.\r\n- defining methods and hooks from .xml is still the same\r\n- if there are multiple methods with same name LUA and CSharp, one that is loaded first is used (controlled by ModManager.cs)\r\n- Used currently to visualize status of power cell press.\r\n- requires .net 2.0 instead of .net 2.0 subset for Unity project settings (this may cause failure in Travis until #1574 is resolved and project settings are not changed)\r\n\r\nKnown stuff:\r\n- currently uses reflections (cached MethodInfo) to invoke methods (which should be slow - but is still 5x faster than current LUA calls) "},"comment":{"url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/comments/256423993","html_url":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/1577#issuecomment-256423993","issue_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/1577","id":256423993,"user":{"login":"NogginBops","id":3778357,"avatar_url":"https://avatars.githubusercontent.com/u/3778357?v=3","gravatar_id":"","url":"https://api.github.com/users/NogginBops","html_url":"https://github.com/NogginBops","followers_url":"https://api.github.com/users/NogginBops/followers","following_url":"https://api.github.com/users/NogginBops/following{/other_user}","gists_url":"https://api.github.com/users/NogginBops/gists{/gist_id}","starred_url":"https://api.github.com/users/NogginBops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NogginBops/subscriptions","organizations_url":"https://api.github.com/users/NogginBops/orgs","repos_url":"https://api.github.com/users/NogginBops/repos","events_url":"https://api.github.com/users/NogginBops/events{/privacy}","received_events_url":"https://api.github.com/users/NogginBops/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T17:43:30Z","updated_at":"2016-10-26T17:43:30Z","body":"What would dll be able to do that C# code wouldn't? I don't really see any difference. All you are doing with the C# code anyways is compiling it to a dll in memory."}}
{"actor":{"display_login":"NogginBops"}}