{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/11844","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/11844/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/11844/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/11844/events","html_url":"https://github.com/godotengine/godot/issues/11844","id":262946964,"number":11844,"title":"Mono missing ProjectSettings.Get","user":{"login":"NathanWarden","id":629422,"avatar_url":"https://avatars1.githubusercontent.com/u/629422?v=4","gravatar_id":"","url":"https://api.github.com/users/NathanWarden","html_url":"https://github.com/NathanWarden","followers_url":"https://api.github.com/users/NathanWarden/followers","following_url":"https://api.github.com/users/NathanWarden/following{/other_user}","gists_url":"https://api.github.com/users/NathanWarden/gists{/gist_id}","starred_url":"https://api.github.com/users/NathanWarden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NathanWarden/subscriptions","organizations_url":"https://api.github.com/users/NathanWarden/orgs","repos_url":"https://api.github.com/users/NathanWarden/repos","events_url":"https://api.github.com/users/NathanWarden/events{/privacy}","received_events_url":"https://api.github.com/users/NathanWarden/received_events","type":"User","site_admin":false},"labels":[{"id":73330064,"url":"https://api.github.com/repos/godotengine/godot/labels/bug","name":"bug","color":"ff2222","default":true},{"id":709269775,"url":"https://api.github.com/repos/godotengine/godot/labels/topic:mono","name":"topic:mono","color":"ffdd44","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/godotengine/godot/milestones/4","html_url":"https://github.com/godotengine/godot/milestone/4","labels_url":"https://api.github.com/repos/godotengine/godot/milestones/4/labels","id":1449702,"number":4,"title":"3.0","description":"","creator":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars0.githubusercontent.com/u/4701338?v=4","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"open_issues":308,"closed_issues":2841,"state":"open","created_at":"2015-12-08T11:42:08Z","updated_at":"2017-10-05T17:42:23Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2017-10-04T22:11:27Z","updated_at":"2017-10-05T17:52:56Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"For instance, there's no way to get the project's name (or any other setting) as you can in GDScript.\r\n\r\nC#:\r\n\r\n    string projectName = ProjectSettings.Get(\"application/config/name\"); // Doesn't exist in C#\r\n\r\nGDScript:\r\n\r\n    var project_name = ProjectSettings.get(\"application/config/name\") # Exists in GDScript\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/334542171","html_url":"https://github.com/godotengine/godot/issues/11844#issuecomment-334542171","issue_url":"https://api.github.com/repos/godotengine/godot/issues/11844","id":334542171,"user":{"login":"neikeq","id":7718100,"avatar_url":"https://avatars3.githubusercontent.com/u/7718100?v=4","gravatar_id":"","url":"https://api.github.com/users/neikeq","html_url":"https://github.com/neikeq","followers_url":"https://api.github.com/users/neikeq/followers","following_url":"https://api.github.com/users/neikeq/following{/other_user}","gists_url":"https://api.github.com/users/neikeq/gists{/gist_id}","starred_url":"https://api.github.com/users/neikeq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neikeq/subscriptions","organizations_url":"https://api.github.com/users/neikeq/orgs","repos_url":"https://api.github.com/users/neikeq/repos","events_url":"https://api.github.com/users/neikeq/events{/privacy}","received_events_url":"https://api.github.com/users/neikeq/received_events","type":"User","site_admin":false},"created_at":"2017-10-05T17:52:56Z","updated_at":"2017-10-05T17:52:56Z","author_association":"MEMBER","body":"Two possible solutions:\r\n- Make those classes singletons, so you need `.Instance` for all of its methods.\r\n- Make those classes singletons, but the methods of the class are static. This way you can do `ProjectSettings.SaveCustom(...)` and for the inherited members: `ProjectSettings.Instance.Get(...)`.\r\n"}}
{"actor":{"display_login":"neikeq"}}