{"action":"created","comment":{"url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/comments/90468625","pull_request_review_id":10986753,"id":90468625,"diff_hunk":"@@ -0,0 +1,123 @@\n+﻿#ifndef SAVEDATAMANAGER_H\n+#define SAVEDATAMANAGER_H\n+\n+#include <windows.h>\n+#include <string>\n+#include <vector>\n+\n+/**\n+ * セーブデータの作成と読み込みをしてくれるクラス\n+ */\n+class SaveDataManager\n+{\n+public:\n+\t/**\n+\t * インスタンス生成関数\n+\t */\n+\tinline static void Create()\n+\t{\n+\t\tif (m_pSaveDataManager == NULL)\n+\t\t{\n+\t\t\tm_pSaveDataManager = new SaveDataManager();\n+\t\t}\n+\t}\n+\n+\t/**\n+\t * インスタンスを取得する\n+\t * @return インスタンスが返る\n+\t */\n+\tinline static SaveDataManager* GetInstance()\n+\t{\n+\t\treturn m_pSaveDataManager;\n+\t}\n+\n+\t/**\n+\t * インスタンスの破棄\n+\t */\n+\tinline static void Delete()\n+\t{\n+\t\tdelete m_pSaveDataManager;\n+\t}\n+\n+\t/**\n+\t * ファイル読み込み\n+\t * @param[in] _pFileName 読み込むセーブデータのファイルパス\n+\t */\n+\tvoid FileLoad(LPCTSTR _pFileName);\n+\n+\t/**\n+ \t * ファイルセーブ\n+ \t */\n+\tvoid FileSave();","path":"src/KingdomCraft/KingdomCraft/Main/SceneManager/SaveDataManager/SaveDataManager.h","position":51,"original_position":51,"commit_id":"0163c03cdb669b551180b781960f1497260482d1","original_commit_id":"0163c03cdb669b551180b781960f1497260482d1","user":{"login":"Moto0116","id":16873201,"avatar_url":"https://avatars.githubusercontent.com/u/16873201?v=3","gravatar_id":"","url":"https://api.github.com/users/Moto0116","html_url":"https://github.com/Moto0116","followers_url":"https://api.github.com/users/Moto0116/followers","following_url":"https://api.github.com/users/Moto0116/following{/other_user}","gists_url":"https://api.github.com/users/Moto0116/gists{/gist_id}","starred_url":"https://api.github.com/users/Moto0116/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moto0116/subscriptions","organizations_url":"https://api.github.com/users/Moto0116/orgs","repos_url":"https://api.github.com/users/Moto0116/repos","events_url":"https://api.github.com/users/Moto0116/events{/privacy}","received_events_url":"https://api.github.com/users/Moto0116/received_events","type":"User","site_admin":false},"body":"ファイルの書き込みは、ファイル名を指定できるようにしてください","created_at":"2016-12-01T15:26:22Z","updated_at":"2016-12-01T15:26:22Z","html_url":"https://github.com/KingdomCraft-1/KingdomCraft/pull/172#discussion_r90468625","pull_request_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/172","_links":{"self":{"href":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/comments/90468625"},"html":{"href":"https://github.com/KingdomCraft-1/KingdomCraft/pull/172#discussion_r90468625"},"pull_request":{"href":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/172"}}},"pull_request":{"url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/172","id":95116240,"html_url":"https://github.com/KingdomCraft-1/KingdomCraft/pull/172","diff_url":"https://github.com/KingdomCraft-1/KingdomCraft/pull/172.diff","patch_url":"https://github.com/KingdomCraft-1/KingdomCraft/pull/172.patch","issue_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/issues/172","number":172,"state":"open","locked":false,"title":"セーブデータ管理クラスの作成","user":{"login":"Keitaro0408","id":16873197,"avatar_url":"https://avatars.githubusercontent.com/u/16873197?v=3","gravatar_id":"","url":"https://api.github.com/users/Keitaro0408","html_url":"https://github.com/Keitaro0408","followers_url":"https://api.github.com/users/Keitaro0408/followers","following_url":"https://api.github.com/users/Keitaro0408/following{/other_user}","gists_url":"https://api.github.com/users/Keitaro0408/gists{/gist_id}","starred_url":"https://api.github.com/users/Keitaro0408/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keitaro0408/subscriptions","organizations_url":"https://api.github.com/users/Keitaro0408/orgs","repos_url":"https://api.github.com/users/Keitaro0408/repos","events_url":"https://api.github.com/users/Keitaro0408/events{/privacy}","received_events_url":"https://api.github.com/users/Keitaro0408/received_events","type":"User","site_admin":false},"body":"**実装機能**\r\n* セーブデータ読み込み\r\n* セーブデータ書き込み\r\n\r\nissue #111","created_at":"2016-11-24T04:34:45Z","updated_at":"2016-12-01T15:26:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"467a67a96532293863e958cdbe6aa7e6df856a5b","assignee":{"login":"Moto0116","id":16873201,"avatar_url":"https://avatars.githubusercontent.com/u/16873201?v=3","gravatar_id":"","url":"https://api.github.com/users/Moto0116","html_url":"https://github.com/Moto0116","followers_url":"https://api.github.com/users/Moto0116/followers","following_url":"https://api.github.com/users/Moto0116/following{/other_user}","gists_url":"https://api.github.com/users/Moto0116/gists{/gist_id}","starred_url":"https://api.github.com/users/Moto0116/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moto0116/subscriptions","organizations_url":"https://api.github.com/users/Moto0116/orgs","repos_url":"https://api.github.com/users/Moto0116/repos","events_url":"https://api.github.com/users/Moto0116/events{/privacy}","received_events_url":"https://api.github.com/users/Moto0116/received_events","type":"User","site_admin":false},"assignees":[{"login":"Moto0116","id":16873201,"avatar_url":"https://avatars.githubusercontent.com/u/16873201?v=3","gravatar_id":"","url":"https://api.github.com/users/Moto0116","html_url":"https://github.com/Moto0116","followers_url":"https://api.github.com/users/Moto0116/followers","following_url":"https://api.github.com/users/Moto0116/following{/other_user}","gists_url":"https://api.github.com/users/Moto0116/gists{/gist_id}","starred_url":"https://api.github.com/users/Moto0116/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moto0116/subscriptions","organizations_url":"https://api.github.com/users/Moto0116/orgs","repos_url":"https://api.github.com/users/Moto0116/repos","events_url":"https://api.github.com/users/Moto0116/events{/privacy}","received_events_url":"https://api.github.com/users/Moto0116/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/milestones/3","html_url":"https://github.com/KingdomCraft-1/KingdomCraft/milestones/KingdomCraft/1%E6%9C%88","labels_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/milestones/3/labels","id":2076809,"number":3,"title":"KingdomCraft/1月","description":"","creator":{"login":"Moto0116","id":16873201,"avatar_url":"https://avatars.githubusercontent.com/u/16873201?v=3","gravatar_id":"","url":"https://api.github.com/users/Moto0116","html_url":"https://github.com/Moto0116","followers_url":"https://api.github.com/users/Moto0116/followers","following_url":"https://api.github.com/users/Moto0116/following{/other_user}","gists_url":"https://api.github.com/users/Moto0116/gists{/gist_id}","starred_url":"https://api.github.com/users/Moto0116/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moto0116/subscriptions","organizations_url":"https://api.github.com/users/Moto0116/orgs","repos_url":"https://api.github.com/users/Moto0116/repos","events_url":"https://api.github.com/users/Moto0116/events{/privacy}","received_events_url":"https://api.github.com/users/Moto0116/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":7,"state":"open","created_at":"2016-10-18T09:58:45Z","updated_at":"2016-12-01T14:09:36Z","due_on":"2017-01-01T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/172/commits","review_comments_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/172/comments","review_comment_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/issues/172/comments","statuses_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/statuses/0163c03cdb669b551180b781960f1497260482d1","head":{"label":"KingdomCraft-1:feature/SaveDataManager","ref":"feature/SaveDataManager","sha":"0163c03cdb669b551180b781960f1497260482d1","user":{"login":"KingdomCraft-1","id":22514487,"avatar_url":"https://avatars.githubusercontent.com/u/22514487?v=3","gravatar_id":"","url":"https://api.github.com/users/KingdomCraft-1","html_url":"https://github.com/KingdomCraft-1","followers_url":"https://api.github.com/users/KingdomCraft-1/followers","following_url":"https://api.github.com/users/KingdomCraft-1/following{/other_user}","gists_url":"https://api.github.com/users/KingdomCraft-1/gists{/gist_id}","starred_url":"https://api.github.com/users/KingdomCraft-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KingdomCraft-1/subscriptions","organizations_url":"https://api.github.com/users/KingdomCraft-1/orgs","repos_url":"https://api.github.com/users/KingdomCraft-1/repos","events_url":"https://api.github.com/users/KingdomCraft-1/events{/privacy}","received_events_url":"https://api.github.com/users/KingdomCraft-1/received_events","type":"Organization","site_admin":false},"repo":{"id":69534454,"name":"KingdomCraft","full_name":"KingdomCraft-1/KingdomCraft","owner":{"login":"KingdomCraft-1","id":22514487,"avatar_url":"https://avatars.githubusercontent.com/u/22514487?v=3","gravatar_id":"","url":"https://api.github.com/users/KingdomCraft-1","html_url":"https://github.com/KingdomCraft-1","followers_url":"https://api.github.com/users/KingdomCraft-1/followers","following_url":"https://api.github.com/users/KingdomCraft-1/following{/other_user}","gists_url":"https://api.github.com/users/KingdomCraft-1/gists{/gist_id}","starred_url":"https://api.github.com/users/KingdomCraft-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KingdomCraft-1/subscriptions","organizations_url":"https://api.github.com/users/KingdomCraft-1/orgs","repos_url":"https://api.github.com/users/KingdomCraft-1/repos","events_url":"https://api.github.com/users/KingdomCraft-1/events{/privacy}","received_events_url":"https://api.github.com/users/KingdomCraft-1/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KingdomCraft-1/KingdomCraft","description":"KigdomCraftのリポジトリ","fork":false,"url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft","forks_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/forks","keys_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/teams","hooks_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/hooks","issue_events_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/issues/events{/number}","events_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/events","assignees_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/assignees{/user}","branches_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/branches{/branch}","tags_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/tags","blobs_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/git/refs{/sha}","trees_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/statuses/{sha}","languages_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/languages","stargazers_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/stargazers","contributors_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/contributors","subscribers_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/subscribers","subscription_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/subscription","commits_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/commits{/sha}","git_commits_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/git/commits{/sha}","comments_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/comments{/number}","issue_comment_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/issues/comments{/number}","contents_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/contents/{+path}","compare_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/merges","archive_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/downloads","issues_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/issues{/number}","pulls_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls{/number}","milestones_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/milestones{/number}","notifications_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/labels{/name}","releases_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/releases{/id}","deployments_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/deployments","created_at":"2016-09-29T05:39:13Z","updated_at":"2016-11-29T08:15:52Z","pushed_at":"2016-12-01T15:14:55Z","git_url":"git://github.com/KingdomCraft-1/KingdomCraft.git","ssh_url":"git@github.com:KingdomCraft-1/KingdomCraft.git","clone_url":"https://github.com/KingdomCraft-1/KingdomCraft.git","svn_url":"https://github.com/KingdomCraft-1/KingdomCraft","homepage":"","size":3369,"stargazers_count":5,"watchers_count":5,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":5,"default_branch":"master"}},"base":{"label":"KingdomCraft-1:develop","ref":"develop","sha":"5c049ec384413bc57869b33b9cfdb4d8f974e223","user":{"login":"KingdomCraft-1","id":22514487,"avatar_url":"https://avatars.githubusercontent.com/u/22514487?v=3","gravatar_id":"","url":"https://api.github.com/users/KingdomCraft-1","html_url":"https://github.com/KingdomCraft-1","followers_url":"https://api.github.com/users/KingdomCraft-1/followers","following_url":"https://api.github.com/users/KingdomCraft-1/following{/other_user}","gists_url":"https://api.github.com/users/KingdomCraft-1/gists{/gist_id}","starred_url":"https://api.github.com/users/KingdomCraft-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KingdomCraft-1/subscriptions","organizations_url":"https://api.github.com/users/KingdomCraft-1/orgs","repos_url":"https://api.github.com/users/KingdomCraft-1/repos","events_url":"https://api.github.com/users/KingdomCraft-1/events{/privacy}","received_events_url":"https://api.github.com/users/KingdomCraft-1/received_events","type":"Organization","site_admin":false},"repo":{"id":69534454,"name":"KingdomCraft","full_name":"KingdomCraft-1/KingdomCraft","owner":{"login":"KingdomCraft-1","id":22514487,"avatar_url":"https://avatars.githubusercontent.com/u/22514487?v=3","gravatar_id":"","url":"https://api.github.com/users/KingdomCraft-1","html_url":"https://github.com/KingdomCraft-1","followers_url":"https://api.github.com/users/KingdomCraft-1/followers","following_url":"https://api.github.com/users/KingdomCraft-1/following{/other_user}","gists_url":"https://api.github.com/users/KingdomCraft-1/gists{/gist_id}","starred_url":"https://api.github.com/users/KingdomCraft-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KingdomCraft-1/subscriptions","organizations_url":"https://api.github.com/users/KingdomCraft-1/orgs","repos_url":"https://api.github.com/users/KingdomCraft-1/repos","events_url":"https://api.github.com/users/KingdomCraft-1/events{/privacy}","received_events_url":"https://api.github.com/users/KingdomCraft-1/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KingdomCraft-1/KingdomCraft","description":"KigdomCraftのリポジトリ","fork":false,"url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft","forks_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/forks","keys_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/teams","hooks_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/hooks","issue_events_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/issues/events{/number}","events_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/events","assignees_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/assignees{/user}","branches_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/branches{/branch}","tags_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/tags","blobs_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/git/refs{/sha}","trees_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/statuses/{sha}","languages_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/languages","stargazers_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/stargazers","contributors_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/contributors","subscribers_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/subscribers","subscription_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/subscription","commits_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/commits{/sha}","git_commits_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/git/commits{/sha}","comments_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/comments{/number}","issue_comment_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/issues/comments{/number}","contents_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/contents/{+path}","compare_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/merges","archive_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/downloads","issues_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/issues{/number}","pulls_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls{/number}","milestones_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/milestones{/number}","notifications_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/labels{/name}","releases_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/releases{/id}","deployments_url":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/deployments","created_at":"2016-09-29T05:39:13Z","updated_at":"2016-11-29T08:15:52Z","pushed_at":"2016-12-01T15:14:55Z","git_url":"git://github.com/KingdomCraft-1/KingdomCraft.git","ssh_url":"git@github.com:KingdomCraft-1/KingdomCraft.git","clone_url":"https://github.com/KingdomCraft-1/KingdomCraft.git","svn_url":"https://github.com/KingdomCraft-1/KingdomCraft","homepage":"","size":3369,"stargazers_count":5,"watchers_count":5,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/172"},"html":{"href":"https://github.com/KingdomCraft-1/KingdomCraft/pull/172"},"issue":{"href":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/issues/172"},"comments":{"href":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/issues/172/comments"},"review_comments":{"href":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/172/comments"},"review_comment":{"href":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/pulls/172/commits"},"statuses":{"href":"https://api.github.com/repos/KingdomCraft-1/KingdomCraft/statuses/0163c03cdb669b551180b781960f1497260482d1"}}}}
{"actor":{"display_login":"Moto0116"}}